mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloudStack 3.0 new UI - system - guest - IP Ranges tab (only shown in basic zone) - Add IP Range - pass forVirtualNetwork=false to indicate it's for guest network, not for public network.
This commit is contained in:
parent
8d27ecf4de
commit
a2cc66ce41
@ -429,13 +429,14 @@
|
||||
label: 'Add',
|
||||
action: function(args) {
|
||||
var array1 = [];
|
||||
array1.push("&podid=" + args.data.podid); //args.data.podId shouldn't be undefined (wait for Brian to fix it)
|
||||
array1.push("&podid=" + args.data.podid);
|
||||
array1.push("&networkid=" + selectedGuestNetworkObj.id)
|
||||
array1.push("&gateway=" + args.data.gateway);
|
||||
array1.push("&netmask=" + args.data.netmask);
|
||||
array1.push("&startip=" + args.data.startip);
|
||||
if(args.data.endip != null && args.data.endip.length > 0)
|
||||
array1.push("&endip=" + args.data.endip);
|
||||
array1.push("&forVirtualNetwork=false"); //indicates this new IP range is for guest network, not public network
|
||||
|
||||
$.ajax({
|
||||
url: createURL("createVlanIpRange" + array1.join("")),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user