mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
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
f53db88bae
commit
467fa6117e
@ -367,6 +367,11 @@ public class NetscalerElement extends ExternalLoadBalancerDeviceManagerImpl impl
|
|||||||
s_logger.debug(msg);
|
s_logger.debug(msg);
|
||||||
throw new InvalidParameterValueException(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(),
|
ExternalLoadBalancerDeviceVO lbDeviceVO = addExternalLoadBalancer(cmd.getPhysicalNetworkId(), cmd.getUrl(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user