Improve cleanup after device disconnected event
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceRegistry.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowplugin.api.openflow.device;
9
10 import org.opendaylight.openflowplugin.api.openflow.registry.flow.DeviceFlowRegistry;
11 import org.opendaylight.openflowplugin.api.openflow.registry.group.DeviceGroupRegistry;
12 import org.opendaylight.openflowplugin.api.openflow.registry.meter.DeviceMeterRegistry;
13
14 /**
15  * Flows, Groups and Meter registry
16  */
17 public interface DeviceRegistry {
18
19     /**
20      * Method exposes flow registry used for storing flow ids identified by calculated flow hash.
21      *
22      * @return
23      */
24     DeviceFlowRegistry getDeviceFlowRegistry();
25
26     /**
27      * Method exposes device group registry used for storing group ids.
28      *
29      * @return
30      */
31     DeviceGroupRegistry getDeviceGroupRegistry();
32
33     /**
34      * Method exposes device meter registry used for storing meter ids.
35      *
36      * @return
37      */
38     DeviceMeterRegistry getDeviceMeterRegistry();
39
40 }