Skip to content

Commit ad88803

Browse files
author
João Jandre
committed
Merge branch 'redundant-network-via-ui-4.20' into '4.20.0.0-scclouds'
Port 4.20 - Enable defining a network as redundant during restart through the UI See merge request scclouds/scclouds!1061
2 parents 923aa73 + f9bbd7a commit ad88803

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ui/src/config/section/network.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,16 @@ export default {
168168
if (isGroupAction || record.vpcid == null) {
169169
fields.push('cleanup')
170170
}
171+
if (!record.redundantrouter) {
172+
fields.push('makeredundant')
173+
}
171174
fields.push('livepatch')
172175
return fields
173176
},
174177
show: (record) => record.type !== 'L2',
175178
groupAction: true,
176179
popup: true,
177-
groupMap: (selection, values) => { return selection.map(x => { return { id: x, cleanup: values.cleanup } }) }
180+
groupMap: (selection, values) => { return selection.map(x => { return { id: x, cleanup: values.cleanup, makeredundant: values.makeredundant } }) }
178181
},
179182
{
180183
api: 'replaceNetworkACLList',

0 commit comments

Comments
 (0)