You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2013/04/18 01:56:54 UTC
[12/32] git commit: updated refs/heads/internallb to 0cfe96b
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/internallb
Commit: f0d6776225530232b91ed03f33f60886cebdd84c
Parents: d5776d9
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Apr 16 18:17:58 2013 -0700
Committer: Jessica Wang <je...@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 = [];