mirror of https://github.com/apache/cloudstack.git
bug CS-15191: remove a sanity check that prevent us from getting traffic lable under VMware
Reviewed-by: anthony
This commit is contained in:
parent
400602ee9f
commit
3e16945914
|
|
@ -6025,10 +6025,14 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
|||
|
||||
protected Long getNonGuestNetworkPhysicalNetworkId(Network network) {
|
||||
// no physical network for control traffic type
|
||||
|
||||
// have to remove this sanity check as VMware control network is management network
|
||||
// we need to retrieve traffic label information through physical network
|
||||
/*
|
||||
if (network.getTrafficType() == TrafficType.Control) {
|
||||
return null;
|
||||
}
|
||||
|
||||
*/
|
||||
Long physicalNetworkId = network.getPhysicalNetworkId();
|
||||
|
||||
if (physicalNetworkId == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue