bug CS-15191: remove a sanity check that prevent us from getting traffic lable under VMware

Reviewed-by: anthony
This commit is contained in:
Kelven Yang 2012-06-01 10:33:14 -07:00
parent 400602ee9f
commit 3e16945914
1 changed files with 5 additions and 1 deletions

View File

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