cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject git commit: updated refs/heads/master to 467fa61
Date Mon, 15 Jul 2013 11:01:30 GMT
Updated Branches:
  refs/heads/master f53db88ba -> 467fa6117


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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/467fa611
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/467fa611
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/467fa611

Branch: refs/heads/master
Commit: 467fa6117e690b46dc015f3233472e8792c40a2c
Parents: f53db88
Author: Murali Reddy <muralimmreddy@gmail.com>
Authored: Mon Jul 15 16:28:40 2013 +0530
Committer: Murali Reddy <muralimmreddy@gmail.com>
Committed: Mon Jul 15 16:31:18 2013 +0530

----------------------------------------------------------------------
 .../src/com/cloud/network/element/NetscalerElement.java         | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/467fa611/plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
b/plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
index 13a6900..e7f6347 100644
--- a/plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
+++ b/plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
@@ -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(),


Mime
View raw message