Don't need to check guest cidr overlap

It's not external devices, so guest network with different vlan can be the same.
This commit is contained in:
Sheng Yang 2012-06-18 16:03:03 -07:00
parent f6d16d0ab5
commit 590b2332de

View File

@ -2403,9 +2403,6 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
throw new InvalidParameterValueException("Cannot specify CIDR when using network offering with external devices!");
}
if (cidr != null) {
checkVirtualNetworkCidrOverlap(zoneId, cidr);
}
// Vlan is created in 2 cases - works in Advance zone only:
// 1) GuestType is Shared
// 2) GuestType is Isolated, but SourceNat service is disabled