mirror of https://github.com/apache/cloudstack.git
allow overlapped subnet in shared network
This commit is contained in:
parent
a21ec81db9
commit
524e73c63e
|
|
@ -3134,12 +3134,6 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
|
|||
}
|
||||
}
|
||||
|
||||
if ( vlan.getNetworkId() != networkId) {
|
||||
throw new InvalidParameterValueException("This subnet is overlapped with subnet in other network " + vlan.getNetworkId()
|
||||
+ " in zone " + zone.getName()
|
||||
+ " . Please specify a different gateway/netmask.");
|
||||
|
||||
}
|
||||
String[] otherVlanIpRange = vlan.getIpRange().split("\\-");
|
||||
String otherVlanStartIP = otherVlanIpRange[0];
|
||||
String otherVlanEndIP = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue