mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 13:21:21 +02:00
Fix bug matching compute node name
Change-Id: Ifcc36a1f47a7f137d771d5fcafaabd64960e3e86
This commit is contained in:
parent
87e276bfa8
commit
10b98ad26b
@ -338,7 +338,7 @@ public class OnosXOSIntegrationManager implements VoltTenantService {
|
|||||||
JsonObject json = JsonObject.readFrom(jsonString);
|
JsonObject json = JsonObject.readFrom(jsonString);
|
||||||
|
|
||||||
if (json.get("computeNodeName") != null) {
|
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())),
|
provisionFabric(VlanId.vlanId(Short.parseShort(newTenant.vlanId())),
|
||||||
point);
|
point);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user