Skip to content

Commit 524e73c

Browse files
author
Anthony Xu
committed
allow overlapped subnet in shared network
1 parent a21ec81 commit 524e73c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎server/src/com/cloud/configuration/ConfigurationManagerImpl.java‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3134,12 +3134,6 @@ public Vlan createVlanAndPublicIpRange(long zoneId, long networkId, long physica
31343134
}
31353135
}
31363136

3137-
if ( vlan.getNetworkId() != networkId) {
3138-
throw new InvalidParameterValueException("This subnet is overlapped with subnet in other network " + vlan.getNetworkId()
3139-
+ " in zone " + zone.getName()
3140-
+ " . Please specify a different gateway/netmask.");
3141-
3142-
}
31433137
String[] otherVlanIpRange = vlan.getIpRange().split("\\-");
31443138
String otherVlanStartIP = otherVlanIpRange[0];
31453139
String otherVlanEndIP = null;

0 commit comments

Comments
 (0)