Committed by
Gerrit Code Review
Fix bug matching compute node name
Change-Id: Ifcc36a1f47a7f137d771d5fcafaabd64960e3e86
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -338,7 +338,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { | ... | @@ -338,7 +338,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService { |
338 | JsonObject json = JsonObject.readFrom(jsonString); | 338 | JsonObject json = JsonObject.readFrom(jsonString); |
339 | 339 | ||
340 | if (json.get("computeNodeName") != null) { | 340 | if (json.get("computeNodeName") != null) { |
341 | - ConnectPoint point = nodeToPort.get(json.get("computeNodeName")); | 341 | + ConnectPoint point = nodeToPort.get(json.get("computeNodeName").asString()); |
342 | 342 | ||
343 | provisionFabric(VlanId.vlanId(Short.parseShort(newTenant.vlanId())), | 343 | provisionFabric(VlanId.vlanId(Short.parseShort(newTenant.vlanId())), |
344 | point); | 344 | point); | ... | ... |
-
Please register or login to post a comment