proliantutils/proliantutils/tests/redfish/json_samples/pci_device_collection.json
Nisha Agarwal ca5a0c973e Redfish: Add the get_server_capabilities() and pci_gpu_device attribute
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
2017-07-19 08:15:25 +00:00

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"
}