Interface DeviceManager
-
- All Superinterfaces:
AutoCloseable
,DeviceRemovedHandler
,OFPManager
,TranslatorLibrarian
- All Known Implementing Classes:
DeviceManagerImpl
public interface DeviceManager extends OFPManager, TranslatorLibrarian
This interface is responsible for instantiating DeviceContext and registering transaction chain for each DeviceContext. Each device has its own device context managed by this manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceContext
createContext(@NonNull ConnectionContext connectionContext)
void
initialize()
invoked after all services injected.com.google.common.util.concurrent.ListenableFuture<?>
removeDeviceFromOperationalDS(@NonNull org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> ii)
void
sendNodeAddedNotification(@NonNull org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> instanceIdentifier)
void
sendNodeRemovedNotification(@NonNull org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> instanceIdentifier)
void
setContextChainHolder(@NonNull ContextChainHolder contextChainHolder)
-
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceRemovedHandler
onDeviceRemoved
-
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.OFPManager
close
-
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.translator.TranslatorLibrarian
oook, setTranslatorLibrary
-
-
-
-
Method Detail
-
initialize
void initialize()
invoked after all services injected.
-
removeDeviceFromOperationalDS
com.google.common.util.concurrent.ListenableFuture<?> removeDeviceFromOperationalDS(@NonNull org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> ii)
-
createContext
DeviceContext createContext(@NonNull ConnectionContext connectionContext)
-
sendNodeAddedNotification
void sendNodeAddedNotification(@NonNull org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> instanceIdentifier)
-
sendNodeRemovedNotification
void sendNodeRemovedNotification(@NonNull org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node,org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey> instanceIdentifier)
-
setContextChainHolder
void setContextChainHolder(@NonNull ContextChainHolder contextChainHolder)
-
-