From 10b98ad26b26e8ded11cdbdecc613ffb5f2673e6 Mon Sep 17 00:00:00 2001 From: Jonathan Hart Date: Tue, 2 Jun 2015 09:53:12 -0700 Subject: [PATCH] Fix bug matching compute node name Change-Id: Ifcc36a1f47a7f137d771d5fcafaabd64960e3e86 --- .../onosproject/xosintegration/OnosXOSIntegrationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXOSIntegrationManager.java b/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXOSIntegrationManager.java index faa8ea546c..21603d52ca 100644 --- a/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXOSIntegrationManager.java +++ b/apps/xos-integration/src/main/java/org/onosproject/xosintegration/OnosXOSIntegrationManager.java @@ -338,7 +338,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { JsonObject json = JsonObject.readFrom(jsonString); if (json.get("computeNodeName") != null) { - ConnectPoint point = nodeToPort.get(json.get("computeNodeName")); + ConnectPoint point = nodeToPort.get(json.get("computeNodeName").asString()); provisionFabric(VlanId.vlanId(Short.parseShort(newTenant.vlanId())), point);