Skip to content

Commit 880ab43

Browse files
author
Jessica Wang
committed
CLOUDSTACK-6624: UI > create network offering > cloudStack does NOT support specifyIpRanges for isolated network - fix a bug that wrongly sends "specifyIpRanges=true" to createNetworkOffering API.
1 parent 0e2299d commit 880ab43

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ui/scripts/configuration.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3092,8 +3092,7 @@
30923092
delete inputData.specifyIpRanges; //if specifyIpRanges should be false, do not pass specifyIpRanges parameter to API call since we need to keep API call's size as small as possible (p.s. specifyIpRanges is defaulted as false at server-side)
30933093

30943094
if (inputData['specifyVlan'] == 'on') { //specifyVlan checkbox is checked
3095-
inputData['specifyVlan'] = true;
3096-
inputData['specifyIpRanges'] = true;
3095+
inputData['specifyVlan'] = true;
30973096
} else { //specifyVlan checkbox is unchecked
30983097
delete inputData.specifyVlan; //if specifyVlan checkbox is unchecked, do not pass specifyVlan parameter to API call since we need to keep API call's size as small as possible (p.s. specifyVlan is defaulted as false at server-side)
30993098
}

0 commit comments

Comments
 (0)