ca5a0c973e
This patch adds the routine get_server_capabilities() and one of the capability 'pci_gpu_devices' which gives the count of gpu devices. Change-Id: Iff38aa201b7a1658723d926292707e163c22c34d
18 lines
507 B
JSON
18 lines
507 B
JSON
{
|
|
"@odata.context": "/redfish/v1/$metadata#Systems/Members/1/PCIDevices",
|
|
"@odata.etag": "W/\"9975C252\"",
|
|
"@odata.id": "/redfish/v1/Systems/1/PCIDevices/",
|
|
"@odata.type": "#HpeServerPciDeviceCollection.HpeServerPciDeviceCollection",
|
|
"Description": " PciDevices view",
|
|
"Members": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Systems/1/PCIDevices/1/"
|
|
},
|
|
{
|
|
"@odata.id": "/redfish/v1/Systems/1/PCIDevices/6/"
|
|
}
|
|
],
|
|
"Members@odata.count": 2,
|
|
"Name": "PciDevices"
|
|
}
|