mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2504: UI - create network offering dialog - pass specifyIpRanges=false for Isolated Network.
This commit is contained in:
parent
e8fbee0e18
commit
026c2cec6d
|
|
@ -1919,26 +1919,22 @@
|
|||
inputData['isPersistent'] = false;
|
||||
}
|
||||
else if (inputData['guestIpType'] == "Isolated") { //specifyVlan checkbox is shown
|
||||
if (inputData['specifyVlan'] == 'on') { //specifyVlan checkbox is checked
|
||||
inputData['specifyIpRanges'] = false;
|
||||
|
||||
if (inputData['specifyVlan'] == 'on') { //specifyVlan checkbox is checked
|
||||
inputData['specifyVlan'] = true;
|
||||
inputData['specifyIpRanges'] = true;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
else { //specifyVlan checkbox is unchecked
|
||||
inputData['specifyVlan'] = false;
|
||||
inputData['specifyIpRanges'] = false;
|
||||
|
||||
}
|
||||
|
||||
if(inputData['isPersistent'] == 'on') { //It is a persistent network
|
||||
inputData['isPersistent'] = true;
|
||||
}
|
||||
else { //Isolated Network with Non-persistent network
|
||||
inputData['isPersistent'] = false;
|
||||
}
|
||||
|
||||
if(inputData['isPersistent'] == 'on') { //It is a persistent network
|
||||
inputData['isPersistent'] = true;
|
||||
}
|
||||
else { //Isolated Network with Non-persistent network
|
||||
inputData['isPersistent'] = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue