mirror of https://github.com/apache/cloudstack.git
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:
parent
7c02a996f7
commit
3fbac14aa9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue