mirror of https://github.com/apache/cloudstack.git
add source nat to the vpc offering
This commit is contained in:
parent
8c12ce373b
commit
f96f464fc1
|
|
@ -403,7 +403,7 @@ public class VpcManagerImpl extends ManagerBase implements VpcManager, VpcProvis
|
||||||
if (List.of(Service.UserData, Service.Dhcp, Service.Dns).contains(svc)) {
|
if (List.of(Service.UserData, Service.Dhcp, Service.Dns).contains(svc)) {
|
||||||
final Set<Provider> userDataProvider = Set.of(Provider.VPCVirtualRouter);
|
final Set<Provider> userDataProvider = Set.of(Provider.VPCVirtualRouter);
|
||||||
svcProviderMap.put(svc, userDataProvider);
|
svcProviderMap.put(svc, userDataProvider);
|
||||||
} else if (Service.NetworkACL.equals(svc)){
|
} else if (List.of(Service.SourceNat, Service.NetworkACL).contains(svc)) {
|
||||||
svcProviderMap.put(svc, defaultProviders);
|
svcProviderMap.put(svc, defaultProviders);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue