mirror of https://github.com/apache/cloudstack.git
systemvm: add systemvmtype and issystem params to list service offering for VR (#545)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
4f97fea9ea
commit
7b4ad728f2
|
|
@ -69,7 +69,19 @@ export default {
|
|||
message: 'message.confirm.scale.up.router.vm',
|
||||
dataView: true,
|
||||
args: ['serviceofferingid'],
|
||||
show: (record) => { return record.hypervisor !== 'KVM' }
|
||||
show: (record) => { return record.hypervisor !== 'KVM' },
|
||||
mapping: {
|
||||
serviceofferingid: {
|
||||
api: 'listServiceOfferings',
|
||||
params: (record) => {
|
||||
return {
|
||||
virtualmachineid: record.virtualmachineid,
|
||||
issystem: true,
|
||||
systemvmtype: 'domainrouter'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
api: 'upgradeRouterTemplate',
|
||||
|
|
|
|||
Loading…
Reference in New Issue