mirror of https://github.com/apache/cloudstack.git
in region level vpc, let the network/tier to be created in any zone of
the region
This commit is contained in:
parent
c0575aa02a
commit
4192e1622b
|
|
@ -2208,7 +2208,7 @@ public class VpcManagerImpl extends ManagerBase implements VpcManager, VpcProvis
|
|||
networkDomain = vpc.getNetworkDomain();
|
||||
}
|
||||
|
||||
if (vpc.getZoneId() != zoneId) {
|
||||
if (!vpc.isRegionLevelVpc() && vpc.getZoneId() != zoneId) {
|
||||
throw new InvalidParameterValueException("New network doesn't belong to vpc zone");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue