public class OpenFlowProviderModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.config.openflow.plugin.impl.rev150327.AbstractOpenFlowProviderModule {
- private static Logger LOG = LoggerFactory.getLogger(OpenFlowProviderModule.class);
+ private static final Logger LOG = LoggerFactory.getLogger(OpenFlowProviderModule.class);
public OpenFlowProviderModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
super(identifier, dependencyResolver);
public java.lang.AutoCloseable createInstance() {
LOG.info("Initializing new OFP southbound.");
OpenflowPortsUtil.init();
- OpenFlowPluginProvider openflowPluginProvider = new OpenFlowPluginProviderImpl(getRpcRequestsQuota());
+ OpenFlowPluginProvider openflowPluginProvider = new OpenFlowPluginProviderImpl(getRpcRequestsQuota(), getGlobalNotificationQuota());
openflowPluginProvider.setSwitchConnectionProviders(getOpenflowSwitchConnectionProviderDependency());
openflowPluginProvider.setRole(getRole());
openflowPluginProvider.setDataBroker(getDataBrokerDependency());
openflowPluginProvider.setRpcProviderRegistry(getRpcRegistryDependency());
- openflowPluginProvider.setNotificationProviderService(getNotificationServiceDependency());
-
+ openflowPluginProvider.setNotificationProviderService(getNotificationAdapterDependency());
+ openflowPluginProvider.setNotificationPublishService(getNotificationPublishAdapterDependency());
+ openflowPluginProvider.setSwitchFeaturesMandatory(getSwitchFeaturesMandatory());
+ openflowPluginProvider.setIsStatisticsPollingOff(getIsStatisticsPollingOff());
openflowPluginProvider.initialize();
return openflowPluginProvider;