mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
config: offerings list recursively (#95)
Existing code was not listing *offerings recursively due to which domain admin user was not being able to see all offerings in its domain. This PR fixes listing behaviour. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
c9a978ffa4
commit
763b766b4d
@ -26,6 +26,7 @@ export default {
|
||||
title: 'Compute Offerings',
|
||||
icon: 'cloud',
|
||||
permission: ['listServiceOfferings'],
|
||||
params: { isrecursive: 'true' },
|
||||
columns: ['name', 'displaytext', 'cpunumber', 'cpuspeed', 'memory', 'tags', 'domain', 'zone'],
|
||||
details: ['name', 'id', 'displaytext', 'offerha', 'provisioningtype', 'storagetype', 'iscustomized', 'limitcpuuse', 'cpunumber', 'cpuspeed', 'memory', 'tags', 'domain', 'zone', 'created'],
|
||||
related: [{
|
||||
@ -58,7 +59,7 @@ export default {
|
||||
title: 'System Offerings',
|
||||
icon: 'setting',
|
||||
permission: ['listServiceOfferings', 'listInfrastructure'],
|
||||
params: { issystem: 'true' },
|
||||
params: { issystem: 'true', isrecursive: 'true' },
|
||||
columns: ['name', 'systemvmtype', 'cpunumber', 'cpuspeed', 'memory', 'storagetype', 'tags'],
|
||||
details: ['name', 'id', 'displaytext', 'systemvmtype', 'provisioningtype', 'storagetype', 'iscustomized', 'limitcpuuse', 'cpunumber', 'cpuspeed', 'memory', 'tags', 'domain', 'zone', 'created'],
|
||||
actions: [{
|
||||
@ -89,6 +90,7 @@ export default {
|
||||
title: 'Disk Offerings',
|
||||
icon: 'hdd',
|
||||
permission: ['listDiskOfferings'],
|
||||
params: { isrecursive: 'true' },
|
||||
columns: ['name', 'displaytext', 'disksize', 'tags', 'domain', 'zone'],
|
||||
details: ['name', 'id', 'displaytext', 'disksize', 'provisioningtype', 'storagetype', 'iscustomized', 'tags', 'domain', 'zone', 'created'],
|
||||
related: [{
|
||||
@ -121,6 +123,7 @@ export default {
|
||||
title: 'Network Offerings',
|
||||
icon: 'wifi',
|
||||
permission: ['listNetworkOfferings'],
|
||||
params: { isrecursive: 'true' },
|
||||
columns: ['name', 'state', 'guestiptype', 'traffictype', 'networkrate', 'tags', 'domain', 'zone'],
|
||||
details: ['name', 'id', 'displaytext', 'guestiptype', 'traffictype', 'networkrate', 'ispersistent', 'egressdefaultpolicy', 'availability', 'conservemode', 'specifyvlan', 'specifyipranges', 'supportspublicaccess', 'supportsstrechedl2subnet', 'service', 'tags', 'domain', 'zone'],
|
||||
actions: [{
|
||||
@ -172,6 +175,7 @@ export default {
|
||||
title: 'VPC Offerings',
|
||||
icon: 'deployment-unit',
|
||||
permission: ['listVPCOfferings'],
|
||||
params: { isrecursive: 'true' },
|
||||
resourceType: 'VpcOffering',
|
||||
columns: ['name', 'state', 'displaytext', 'domain', 'zone'],
|
||||
details: ['name', 'id', 'displaytext', 'distributedvpcrouter', 'service', 'tags', 'domain', 'zone', 'created'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user