Class OpenFlowPluginProviderImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl
-
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.infrautils.ready.SystemReadyListener
,org.opendaylight.mdsal.binding.api.BindingService
,FlowGroupInfoHistories
,OpenFlowPluginProvider
,OpenFlowPluginExtensionRegistratorProvider
@Singleton public class OpenFlowPluginProviderImpl extends Object implements OpenFlowPluginProvider, OpenFlowPluginExtensionRegistratorProvider, FlowGroupInfoHistories, org.opendaylight.infrautils.ready.SystemReadyListener
-
-
Constructor Summary
Constructors Constructor Description OpenFlowPluginProviderImpl(ConfigurationService configurationService, SwitchConnectionProviderList switchConnectionProviders, PingPongDataBroker pingPongDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonServiceProvider, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, MastershipChangeServiceManager mastershipChangeServiceManager, OpenflowDiagStatusProvider openflowDiagStatusProvider, org.opendaylight.infrautils.ready.SystemReadyMonitor systemReadyMonitor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Map<NodeId,FlowGroupInfoHistory>
getAllFlowGroupHistories()
ExtensionConverterRegistrator
getExtensionConverterRegistrator()
Returns the extensionConverterRegistry - here extension converters can be registered in order to support vendor messages.FlowGroupInfoHistory
getFlowGroupHistory(NodeId nodeId)
Future<Void>
getFullyStarted()
static MessageIntelligenceAgency
getMessageIntelligenceAgency()
void
initialize()
Method initializes all DeviceManager, RpcManager and related contexts.void
onSystemBootReady()
-
-
-
Constructor Detail
-
OpenFlowPluginProviderImpl
@Inject public OpenFlowPluginProviderImpl(ConfigurationService configurationService, SwitchConnectionProviderList switchConnectionProviders, PingPongDataBroker pingPongDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonServiceProvider, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, MastershipChangeServiceManager mastershipChangeServiceManager, OpenflowDiagStatusProvider openflowDiagStatusProvider, org.opendaylight.infrautils.ready.SystemReadyMonitor systemReadyMonitor)
-
-
Method Detail
-
getMessageIntelligenceAgency
public static MessageIntelligenceAgency getMessageIntelligenceAgency()
-
onSystemBootReady
public void onSystemBootReady()
- Specified by:
onSystemBootReady
in interfaceorg.opendaylight.infrautils.ready.SystemReadyListener
-
initialize
@PostConstruct public void initialize()
Description copied from interface:OpenFlowPluginProvider
Method initializes all DeviceManager, RpcManager and related contexts.- Specified by:
initialize
in interfaceOpenFlowPluginProvider
-
getExtensionConverterRegistrator
public ExtensionConverterRegistrator getExtensionConverterRegistrator()
Description copied from interface:OpenFlowPluginExtensionRegistratorProvider
Returns the extensionConverterRegistry - here extension converters can be registered in order to support vendor messages.- Specified by:
getExtensionConverterRegistrator
in interfaceOpenFlowPluginExtensionRegistratorProvider
- Returns:
- extensionConverterRegistrator
-
getAllFlowGroupHistories
public Map<NodeId,FlowGroupInfoHistory> getAllFlowGroupHistories()
- Specified by:
getAllFlowGroupHistories
in interfaceFlowGroupInfoHistories
-
getFlowGroupHistory
public FlowGroupInfoHistory getFlowGroupHistory(NodeId nodeId)
- Specified by:
getFlowGroupHistory
in interfaceFlowGroupInfoHistories
-
close
@PreDestroy public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-