mirror of https://github.com/apache/cloudstack.git
Network offering UI: Pass 'associatePublicIP' option
If elastic LB service is enabled for a shared network offering, add a checkbox to associate public IP. This passes new option 'associatePublicIp=[true/false]' on creation.
This commit is contained in:
parent
4cb934dfa9
commit
65cf092f60
|
|
@ -1484,6 +1484,12 @@
|
|||
isHidden: true,
|
||||
isBoolean: true
|
||||
},
|
||||
associatePublicIP: {
|
||||
label: 'Associate IP',
|
||||
isBoolean: true,
|
||||
isHidden: true,
|
||||
dependsOn: 'service.Lb.elasticLbCheckbox'
|
||||
},
|
||||
"service.Lb.lbIsolationDropdown": {
|
||||
label: 'label.LB.isolation',
|
||||
isHidden: true,
|
||||
|
|
@ -1604,6 +1610,12 @@
|
|||
} else {
|
||||
inputData['conservemode'] = false;
|
||||
}
|
||||
|
||||
if (inputData['associatePublicIP'] == 'on') {
|
||||
inputData['associatePublicIP'] = true;
|
||||
} else {
|
||||
inputData['associatePublicIP'] = false;
|
||||
}
|
||||
|
||||
// Make service provider map
|
||||
var serviceProviderIndex = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue