Bug 5577 Retry mechanism
[openflowplugin.git] / applications / forwardingrules-sync / src / main / java / org / opendaylight / openflowplugin / applications / frsync / SyncReactor.java
index 141e3b465ae915b87fa06c0e1490d9c7ae7f68bd..430310bb4d339a737abe62f932f8de3d81fe7e6e 100644 (file)
@@ -9,6 +9,7 @@
 package org.opendaylight.openflowplugin.applications.frsync;
 
 import com.google.common.util.concurrent.ListenableFuture;
+import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 
@@ -20,9 +21,11 @@ public interface SyncReactor {
      * @param flowcapableNodePath path to openflow augmentation of node
      * @param configTree configured node
      * @param operationalTree device reflection
+     * @param dsType type of DS change
      * @return synchronization outcome
      */
     ListenableFuture<Boolean> syncup(InstanceIdentifier<FlowCapableNode> flowcapableNodePath,
-            FlowCapableNode configTree, FlowCapableNode operationalTree) throws InterruptedException;
+                                     FlowCapableNode configTree, FlowCapableNode operationalTree,
+                                     LogicalDatastoreType dsType) throws InterruptedException;
 
 }