OPNFLWPLUG-1036 OFP deleting topology-netconf operational data 06/85106/6
authorShweta Chaturvedi <shweta.chaturvedi@ericsson.com>
Mon, 23 Sep 2019 11:37:42 +0000 (17:07 +0530)
committerShweta Chaturvedi <shweta.chaturvedi@ericsson.com>
Wed, 13 Nov 2019 10:56:48 +0000 (16:26 +0530)
Signed-off-by: Shweta Chaturvedi <shweta.chaturvedi@ericsson.com>
Change-Id: I9b4952c4cda7d391d3d8b874b441f0c58d764e29
Signed-off-by: Shweta Chaturvedi <shweta.chaturvedi@ericsson.com>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/ContextChainHolderImpl.java

index 592660a6eebd8812508e80da4ec7663a056741a4..275b7c258d1be7d19590404a9aa6178e173c946a 100644 (file)
@@ -295,7 +295,7 @@ public class ContextChainHolderImpl implements ContextChainHolder, MasterChecker
                 .firstKeyOf(Entity.class)
                 .getName();
 
-        if (entityName != null) {
+        if (entityName != null && entityName.startsWith("openflow:")) {
             LOG.debug("Entity {} has no owner", entityName);
             final String dpnId = getDpnIdFromNodeName(entityName);
             try {