config: update infra changes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-01-21 15:48:51 +05:30
parent af10d498a2
commit 94be7acb06
2 changed files with 5 additions and 1 deletions

View File

@ -205,9 +205,13 @@ export default {
label: 'label.ha.configure',
dataView: true,
args: ['hostid', 'provider'],
show: (record) => { return ['KVM'].includes(record.hypervisor) },
mapping: {
hostid: {
value: (record) => { return record.id }
},
provider: {
options: ['KVMHAProvider']
}
}
},

View File

@ -208,7 +208,7 @@ export default {
label: 'label.update.vmware.datacenter',
dataView: true,
show: (record) => { return record.vmwaredcid },
args: ['zoneid', 'name', 'vcenter', 'username', 'password', 'isrecursive'],
args: ['zoneid', 'name', 'vcenter', 'username', 'password'],
mapping: {
zoneid: {
value: (record) => { return record.id }