mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2346: [GSLB] dedicated vs shared GSLB devices and LB devices
Only one NetScaler device can act as GSLB service provider in a zone for all the tenants and thier networks, so restrict addign NetScaler device to be shared use when configure as GSLB service provider.
This commit is contained in:
parent
5e0a61d57c
commit
186247d6bf
|
|
@ -367,6 +367,11 @@ public class NetscalerElement extends ExternalLoadBalancerDeviceManagerImpl impl
|
|||
s_logger.debug(msg);
|
||||
throw new InvalidParameterValueException(msg);
|
||||
}
|
||||
|
||||
if (dedicatedUse) {
|
||||
throw new InvalidParameterValueException("NetScaler provisioned to be GSLB service provider can only be configured for shared usage.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ExternalLoadBalancerDeviceVO lbDeviceVO = addExternalLoadBalancer(cmd.getPhysicalNetworkId(), cmd.getUrl(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue