From d3341c4799f0c0291b960c2b10344ebbb0709f65 Mon Sep 17 00:00:00 2001 From: Anil Vishnoi Date: Wed, 17 Aug 2016 04:41:57 -0700 Subject: [PATCH] Bug 6332 - Conflicting modification Exception for topology path Change-Id: Id7e8403c666689042eb73066f6203bb8edec0b41 Signed-off-by: Anil Vishnoi --- .../ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java | 1 - .../org/opendaylight/ovsdb/southbound/SouthboundProvider.java | 1 - 2 files changed, 2 deletions(-) diff --git a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java index 480bb4624..60c12a104 100644 --- a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java +++ b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java @@ -84,7 +84,6 @@ public class HwvtepSouthboundProvider implements AutoCloseable { //Register listener for entityOnwership changes providerOwnershipChangeListener = new HwvtepsbPluginInstanceEntityOwnershipListener(this,this.entityOwnershipService); - entityOwnershipService.registerListener(ENTITY_TYPE,providerOwnershipChangeListener); //register instance entity to get the ownership of the provider Entity instanceEntity = new Entity(ENTITY_TYPE, ENTITY_TYPE); diff --git a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java index a37610993..9c3649921 100644 --- a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java +++ b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java @@ -81,7 +81,6 @@ public class SouthboundProvider implements AutoCloseable { //Register listener for entityOnwership changes providerOwnershipChangeListener = new SouthboundPluginInstanceEntityOwnershipListener(this,this.entityOwnershipService); - entityOwnershipService.registerListener(ENTITY_TYPE,providerOwnershipChangeListener); //register instance entity to get the ownership of the provider Entity instanceEntity = new Entity(ENTITY_TYPE, ENTITY_TYPE); -- 2.36.6