mirror of https://github.com/apache/cloudstack.git
ipv6: Advanced Networking Security Groups are supported (#3053)
With earlier work in Basic Networking and the security group provider IPv6 is supported and we can allow IPv6 to be supplied in networks with SG enabled. Signed-off-by: Wido den Hollander <wido@widodh.nl>
This commit is contained in:
parent
11e34ffd5b
commit
c499be256a
|
|
@ -2151,9 +2151,6 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
|
|||
|
||||
} else if (zone.getNetworkType() == NetworkType.Advanced) {
|
||||
if (zone.isSecurityGroupEnabled()) {
|
||||
if (ipv6) {
|
||||
throw new InvalidParameterValueException("IPv6 is not supported with security group!");
|
||||
}
|
||||
if (isolatedPvlan != null) {
|
||||
throw new InvalidParameterValueException("Isolated Private VLAN is not supported with security group!");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -222,9 +222,6 @@ public class DirectNetworkGuru extends AdapterBase implements NetworkGuru {
|
|||
|
||||
boolean isSecurityGroupEnabled = _networkModel.areServicesSupportedByNetworkOffering(offering.getId(), Service.SecurityGroup);
|
||||
if (isSecurityGroupEnabled) {
|
||||
if (userSpecified.getIp6Cidr() != null) {
|
||||
throw new InvalidParameterValueException("Didn't support security group with IPv6");
|
||||
}
|
||||
config.setName("SecurityGroupEnabledNetwork");
|
||||
config.setDisplayText("SecurityGroupEnabledNetwork");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue