in region level vpc, let the network/tier to be created in any zone of

the region
This commit is contained in:
Murali Reddy 2014-01-27 14:55:36 +05:30
parent c0575aa02a
commit 4192e1622b
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}