commit | 10b98ad26b26e8ded11cdbdecc613ffb5f2673e6 | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Tue Jun 02 09:53:12 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jun 02 18:31:22 2015 +0000 |
tree | df94337db5127a111ad0e2899335010e6d8bc733 | |
parent | 87e276bfa89c55d243a162eb5162b81d456f9674 [diff] |
Fix bug matching compute node name Change-Id: Ifcc36a1f47a7f137d771d5fcafaabd64960e3e86
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 faa8ea5..21603d5 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 @@ 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);