mirror of https://github.com/apache/cloudstack.git
NSX: Fix creation of VPCs (#8320)
This commit is contained in:
parent
edd66c31a3
commit
720b794a52
|
|
@ -1172,7 +1172,7 @@ public class VpcManagerImpl extends ManagerBase implements VpcManager, VpcProvis
|
|||
cmd.getIp6Dns2(), cmd.isDisplay(), cmd.getPublicMtu());
|
||||
|
||||
String sourceNatIP = cmd.getSourceNatIP();
|
||||
if (sourceNatIP != null) {
|
||||
if (sourceNatIP != null || isVpcForNsx(vpc)) {
|
||||
s_logger.info(String.format("Trying to allocate the specified IP [%s] as the source NAT of VPC [%s].", sourceNatIP, vpc));
|
||||
allocateSourceNatIp(vpc, sourceNatIP);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue