mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-17 02:53:18 +01:00
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:
parent
f6d16d0ab5
commit
590b2332de
@ -2403,9 +2403,6 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
|||||||
throw new InvalidParameterValueException("Cannot specify CIDR when using network offering with external devices!");
|
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:
|
// Vlan is created in 2 cases - works in Advance zone only:
|
||||||
// 1) GuestType is Shared
|
// 1) GuestType is Shared
|
||||||
// 2) GuestType is Isolated, but SourceNat service is disabled
|
// 2) GuestType is Isolated, but SourceNat service is disabled
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user