mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2465: fixed network creation in VPC - removed extra call to createGuestNetwork introduced by the NetworkACL feature merge
This commit is contained in:
parent
70e78db3c7
commit
dfdc089668
|
|
@ -1236,8 +1236,7 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
|
|||
if (!_configMgr.isOfferingForVpc(ntwkOff)){
|
||||
throw new InvalidParameterValueException("Network offering can't be used for VPC networks");
|
||||
}
|
||||
network = _vpcMgr.createVpcGuestNetwork(networkOfferingId, name, displayText, gateway, cidr, vlanId,
|
||||
networkDomain, owner, sharedDomainId, pNtwk, zoneId, aclType, subdomainAccess, vpcId, aclId, caller, displayNetwork);
|
||||
|
||||
if(aclId == null){
|
||||
//Use default deny all ACL, when aclId is not specified
|
||||
aclId = NetworkACL.DEFAULT_DENY;
|
||||
|
|
|
|||
Loading…
Reference in New Issue