Fix bug matching compute node name

Change-Id: Ifcc36a1f47a7f137d771d5fcafaabd64960e3e86
This commit is contained in:
Jonathan Hart 2015-06-02 09:53:12 -07:00 committed by Gerrit Code Review
parent 87e276bfa8
commit 10b98ad26b

View File

@ -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);