Fixed method call from UniDelete 96/29396/1
authorGabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
Fri, 6 Nov 2015 20:34:37 +0000 (15:34 -0500)
committerGabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
Fri, 6 Nov 2015 20:34:37 +0000 (15:34 -0500)
Change-Id: I06c07d2171fffda49bd88b76adf8f133410a1a5f
Signed-off-by: Gabriel Robitaille-Montpetit <grmontpetit@inocybe.com>
impl/src/main/java/org/opendaylight/unimgr/command/UniDeleteCommand.java

index c0e0ed8289ff4db56c2f4efacba2c39ecc3b8d18..6522c56276b5cf5679af06ebe4bd043ae298b1c5 100644 (file)
@@ -52,7 +52,7 @@ public class UniDeleteCommand extends AbstractDeleteCommand {
                     Optional<Node> optNode = UnimgrUtils.readNode(dataBroker, LogicalDatastoreType.CONFIGURATION, iidNode);
                     if (optNode.isPresent()) {
                         Node ovsdbNode = optNode.get();
-                        InstanceIdentifier<Node> iidBridgeNode = UnimgrMapper.getOvsdbBridgeNodeIID(ovsdbNode.getNodeId(), UnimgrConstants.DEFAULT_BRIDGE_NAME);
+                        InstanceIdentifier<Node> iidBridgeNode = UnimgrMapper.getOvsdbBridgeNodeIid(ovsdbNode.getNodeId(), UnimgrConstants.DEFAULT_BRIDGE_NAME);
                         deleteNode(iidBridgeNode);
                         LOG.info("Received a request to remove a UNI BridgeNode ", iidBridgeNode);
                     }
@@ -68,7 +68,7 @@ public class UniDeleteCommand extends AbstractDeleteCommand {
                 Optional<Node> optNode = UnimgrUtils.readNode(dataBroker, LogicalDatastoreType.CONFIGURATION, iidNode);
                 if (optNode.isPresent()) {
                     Node ovsdbNode = optNode.get();
-                    InstanceIdentifier<Node> iidBridgeNode = UnimgrMapper.getOvsdbBridgeNodeIID(ovsdbNode.getNodeId(), UnimgrConstants.DEFAULT_BRIDGE_NAME);
+                    InstanceIdentifier<Node> iidBridgeNode = UnimgrMapper.getOvsdbBridgeNodeIid(ovsdbNode.getNodeId(), UnimgrConstants.DEFAULT_BRIDGE_NAME);
                     deleteNode(iidBridgeNode);
                     LOG.info("Received a request to remove a BridgeNode ", iidBridgeNode);
                 }