Fixing issue with interface update. 67/19567/1
authorAmit Mandke <ammandke@cisco.com>
Tue, 5 May 2015 01:15:33 +0000 (18:15 -0700)
committerAmit Mandke <ammandke@cisco.com>
Tue, 5 May 2015 01:15:33 +0000 (18:15 -0700)
Currently by mistake it updates the port uuid (in operation tp) using interface uuid.

Change-Id: Ia4f3dfdb676c377dab83dda11148222640e6bf78
Signed-off-by: Amit Mandke <ammandke@cisco.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/OvsdbPortUpdateCommand.java

index c9d0e2024fba62c2399a2ee7247570b38016a386..cacfd7a9f0b508671c6484badafeb4546f331bed 100644 (file)
@@ -180,7 +180,7 @@ public class OvsdbPortUpdateCommand extends AbstractTransactionCommand {
 
         tpAugmentationBuilder
                 .setName(interfaceUpdate.getName());
-        tpAugmentationBuilder.setPortUuid(new Uuid(
+        tpAugmentationBuilder.setInterfaceUuid(new Uuid(
                 interfaceUpdate.getUuid().toString()));
         updateInterfaces(interfaceUpdate, bridgeName, tpAugmentationBuilder);
     }