mirror of https://github.com/apache/cloudstack.git
Add Zone Wizard - pass guestcidraddress to createZone API only when zone type is Advanced.
This commit is contained in:
parent
cccf1bb10e
commit
9cff1fcec3
|
|
@ -902,9 +902,10 @@
|
|||
var array1 = [];
|
||||
var networkType = args.data.zone.networkType; //"Basic", "Advanced"
|
||||
array1.push("&networktype=" + todb(networkType));
|
||||
if(networkType == "Advanced")
|
||||
array1.push("&securitygroupenabled=false");
|
||||
|
||||
if(networkType == "Advanced") {
|
||||
array1.push("&guestcidraddress=" + todb(args.data.zone.guestcidraddress));
|
||||
}
|
||||
|
||||
array1.push("&name=" + todb(args.data.zone.name));
|
||||
|
||||
array1.push("&dns1=" + todb(args.data.zone.dns1));
|
||||
|
|
|
|||
Loading…
Reference in New Issue