Merge "Bug 6374 topology-manager - DTCL instead of DTL"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / OpenFlowPluginProvider.java
index 8ad73aac1aa0c0d84e9b636f8d875dd2dab3a9cd..31f1828a7d82e7ff771391ba645247abf4017130 100644 (file)
@@ -16,10 +16,11 @@ import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService
 import org.opendaylight.controller.md.sal.binding.api.NotificationService;
 import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService;
 import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
+import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider;
 import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;
 
 /**
- * Created by Martin Bobak <mbobak@cisco.com> on 27.3.2015.
+ * Plugin services provider
  */
 public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
 
@@ -59,9 +60,6 @@ public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
 
     void setIsStatisticsPollingOff(final boolean isStatisticsPollingOff);
 
-    void setEntityOwnershipService(EntityOwnershipService entityOwnershipService);
-
-
     /**
      * Backward compatibility feature - exposing rpc for statistics polling (result is provided in form of async notification)
      *
@@ -79,4 +77,5 @@ public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
     void setNotificationFlowRemovedOff(boolean isNotificationFlowRemovedOff);
 
     void update(Map<String,Object> props);
+    void setClusteringSingletonServicesProvider(ClusterSingletonServiceProvider singletonServicesProvider);
 }