mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
This commit is contained in:
parent
08e571eefe
commit
f16fbc3c52
|
|
@ -3749,10 +3749,11 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
|||
}
|
||||
}
|
||||
|
||||
if (nicTo.getType() == Networks.TrafficType.Control || nicTo.getType() == Networks.TrafficType.Management || nicTo.getType() == Networks.TrafficType.Storage) {
|
||||
switchName = _privateNetworkVSwitchName;
|
||||
}
|
||||
|
||||
if (switchName == null
|
||||
&& (nicTo.getType() == Networks.TrafficType.Control || nicTo.getType() == Networks.TrafficType.Management || nicTo.getType() == Networks.TrafficType.Storage)) {
|
||||
switchName = _privateNetworkVSwitchName;
|
||||
}
|
||||
|
||||
return new Ternary<String,String,String>(switchName, switchType.toString(), vlanToken);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue