cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [12/25] git commit: updated refs/heads/ui-mixed-zone-management to c3009e3
Date Wed, 17 Apr 2013 18:09:23 GMT
CLOUDSTACK-1910: cloudstack UI - zone detail - physical network - network service providers
- NetScaler - add Netscaler device dialog - add 3 new fields: "GSLB service", "GSLB service
Public IP", "GSLB service Private IP".


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

Branch: refs/heads/ui-mixed-zone-management
Commit: f0d6776225530232b91ed03f33f60886cebdd84c
Parents: d5776d9
Author: Jessica Wang <jessica.wang@citrix.com>
Authored: Tue Apr 16 18:17:58 2013 -0700
Committer: Jessica Wang <jessica.wang@citrix.com>
Committed: Tue Apr 16 18:17:58 2013 -0700

----------------------------------------------------------------------
 ui/scripts/system.js |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f0d67762/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index a905412..dbe177a 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -3264,6 +3264,19 @@
                       label: 'label.private.interface',
                       docID: 'helpNetScalerPrivateInterface'
                     },
+										
+										gslbprovider: {
+											label: 'GSLB service',
+											isBoolean: true,
+											isChecked: true
+										},
+										gslbproviderpublicip: {
+											label: 'GSLB service Public IP'
+										},
+										gslbproviderprivateip: {
+											label: 'GSLB service Private IP'
+										},
+										
                     numretries: {
                       label: 'label.numretries',
                       defaultValue: '2',
@@ -6644,6 +6657,19 @@
                   privateinterface: {
                     label: 'label.private.interface'
                   },
+									
+									gslbprovider: {
+										label: 'GSLB service',
+										isBoolean: true,
+										isChecked: true
+									},
+									gslbproviderpublicip: {
+										label: 'GSLB service Public IP'
+									},
+									gslbproviderprivateip: {
+										label: 'GSLB service Private IP'
+									},
+									
                   numretries: {
                     label: 'label.numretries',
                     defaultValue: '2'
@@ -10708,6 +10734,12 @@
     array1.push("&username=" + todb(args.data.username));
     array1.push("&password=" + todb(args.data.password));
     array1.push("&networkdevicetype=" + todb(args.data.networkdevicetype));
+		
+		if(apiCmd == "addNetscalerLoadBalancer") {
+		  array1.push("&gslbprovider=" + (args.data.gslbprovider == "on"));
+			array1.push("&gslbproviderpublicip=" + todb(args.data.gslbproviderpublicip));
+			array1.push("&gslbproviderprivateip=" + todb(args.data.gslbproviderprivateip));
+		}
 
     //construct URL starts here
     var url = [];


Mime
View raw message