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 375bb99f09
commit 830f12aadf
1 changed files with 0 additions and 3 deletions

View File

@ -2716,9 +2716,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