CLOUDSTACK-6393: Add gpu details in Compute Offering detail view

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
This commit is contained in:
Mihaela Stoica 2014-04-12 11:03:47 +01:00 committed by Sanjay Tripathi
parent 7c02a996f7
commit 3fbac14aa9
1 changed files with 11 additions and 0 deletions

View File

@ -861,6 +861,12 @@
plannerMode: {
label: 'Planner Mode'
},
pciDevice: {
label: 'GPU'
},
vgpuType: {
label: 'vGPU type'
},
tags: {
label: 'label.storage.tags'
},
@ -894,6 +900,11 @@
}
}
if (item.serviceofferingdetails != null) {
item.pciDevice = item.serviceofferingdetails.pciDevice;
item.vgpuType = item.serviceofferingdetails.vgpuType;
}
args.response.success({
actionFitler: serviceOfferingActionfilter,
data: item