Bug 6332 - Conflicting modification Exception for topology path 37/44137/1
authorAnil Vishnoi <vishnoianil@gmail.com>
Wed, 17 Aug 2016 11:41:57 +0000 (04:41 -0700)
committerAnil Vishnoi <vishnoianil@gmail.com>
Wed, 17 Aug 2016 11:41:57 +0000 (04:41 -0700)
Change-Id: Id7e8403c666689042eb73066f6203bb8edec0b41
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java

index 480bb462434e4dfcbcdf15b4cc747b214287a570..60c12a104960fa50c35d6661c0327a40fc4b70c5 100644 (file)
@@ -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);
index a376109938870cd3ac5c3390fd657406ba1b8580..9c3649921160ef6d37f0fa3015db714d6dbd0476 100644 (file)
@@ -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);