Merge "BUG-5192: FRM skips reconciliation"
[openflowplugin.git] / applications / forwardingrules-manager / src / main / java / org / opendaylight / openflowplugin / applications / frm / impl / FlowNodeReconciliationImpl.java
index 3e5e4792dc25af148337606369e0124560e6692e..1b0847bf575b1e5c0041cc50a334de1e33726842 100644 (file)
@@ -185,6 +185,9 @@ public class FlowNodeReconciliationImpl implements FlowNodeReconciliation {
     private void flowNodeConnected(InstanceIdentifier<FlowCapableNode> connectedNode, boolean force) {
         if (force || !provider.isNodeActive(connectedNode)) {
             provider.registrateNewNode(connectedNode);
+
+            if(!provider.isNodeOwner(connectedNode)) { return; }
+
             if (provider.getConfiguration().isStaleMarkingEnabled()) {
                 LOG.info("Stale-Marking is ENABLED and proceeding with deletion of stale-marked entities on switch {}",
                         connectedNode.toString());