Support enable/disable loadbalancer when creating cluster
Support enable/disable loadbalancer when creating cluster to override the master_lb_enable config in cluster template. Task: 40425 Story: 2007949 Change-Id: If548c7b7c95c3db191272a505ba3bff451076b13
This commit is contained in:
parent
962cb89b99
commit
2c07e667e1
@ -100,7 +100,8 @@
|
||||
cluster_template_id: model.cluster_template_id,
|
||||
keypair: model.keypair,
|
||||
floating_ip_enabled: model.floating_ip_enabled,
|
||||
labels: requestLabels
|
||||
labels: requestLabels,
|
||||
master_lb_enabled: model.master_lb_enabled
|
||||
};
|
||||
|
||||
// Optional request fields
|
||||
|
@ -99,6 +99,7 @@
|
||||
},
|
||||
'max_node_count': { type: 'number' },
|
||||
|
||||
'master_lb_enabled': {type: 'boolean'},
|
||||
'create_network': { type: 'boolean' },
|
||||
'fixed_network': { type: 'string' },
|
||||
'floating_ip_enabled': { type: 'boolean' },
|
||||
@ -320,6 +321,11 @@
|
||||
type: 'fieldset',
|
||||
title: gettext('Network'),
|
||||
items: [
|
||||
{
|
||||
key: 'master_lb_enabled',
|
||||
type: 'checkbox',
|
||||
title: gettext('Enable Load Balancer for Master Nodes')
|
||||
},
|
||||
{
|
||||
key: 'create_network',
|
||||
title: gettext('Create New Network'),
|
||||
@ -477,6 +483,7 @@
|
||||
min_node_count: null,
|
||||
max_node_count: null,
|
||||
|
||||
master_lb_enabled: false,
|
||||
create_network: true,
|
||||
fixed_network: '',
|
||||
floating_ip_enabled: false,
|
||||
|
Loading…
Reference in New Issue
Block a user