You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/06/20 23:58:31 UTC
git commit: updated refs/heads/master-6-17-stable to 4834b89
Updated Branches:
refs/heads/master-6-17-stable 23bcce2ee -> 4834b8983
CLOUDSTACK-2651: UI - Infrastructure menu > zone > physical network > guest > IP Range > Add IP Range dialog: add gateway field, netmask field.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4834b898
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4834b898
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4834b898
Branch: refs/heads/master-6-17-stable
Commit: 4834b8983438be39659674beaa6e62adc640f31c
Parents: 23bcce2
Author: Jessica Wang <je...@apache.org>
Authored: Thu Jun 20 14:55:24 2013 -0700
Committer: Jessica Wang <je...@apache.org>
Committed: Thu Jun 20 14:58:02 2013 -0700
----------------------------------------------------------------------
ui/scripts/system.js | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4834b898/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index df37f31..1e964ea 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -12599,6 +12599,8 @@
createForm: {
title: 'label.add.ip.range',
fields: {
+ gateway: { label: 'label.gateway' },
+ netmask: { label: 'label.netmask' },
startipv4: { label: 'IPv4 Start IP' },
endipv4: { label: 'IPv4 End IP' },
startipv6: { label: 'IPv6 Start IP' },
@@ -12607,6 +12609,12 @@
},
action: function(args) {
var array2 = [];
+
+ if(args.data.gateway != null && args.data.gateway.length > 0)
+ array2.push("&gateway=" + args.data.gateway);
+ if(args.data.netmask != null && args.data.netmask.length > 0)
+ array2.push("&netmask=" + args.data.netmask);
+
if(args.data.startipv4 != null && args.data.startipv4.length > 0)
array2.push("&startip=" + args.data.startipv4);
if(args.data.endipv4 != null && args.data.endipv4.length > 0)