diff options
author | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | 2023-04-13 00:56:49 +0300 |
---|---|---|
committer | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | 2023-05-12 22:30:27 +0300 |
commit | c6bb328526ac56e16e6409198032effc39584a2a (patch) | |
tree | 577edae81426493566b8e9f03c7422fd7c0023ff /Redfish.md | |
parent | bad2c4a9a1095e5e41959bfc5bc56102bbd2a79a (diff) | |
download | bmcweb-c6bb328526ac56e16e6409198032effc39584a2a.tar.xz |
Add State information for PCIeDevice
This commit is to add state information according to the Redfish
PCIeDevice schema. Default state is "Enabled".
ref: https://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_9_0.json
Tested: Validator passed
'''
curl -k https://$bmc/redfish/v1/Systems/system/PCIeDevices/pcie_card8
{
"@odata.id": "/redfish/v1/Systems/system/PCIeDevices/pcie_card8",
"@odata.type": "#PCIeDevice.v1_9_0.PCIeDevice",
"Id": "pcie_card8",
"Manufacturer": "",
"Model": "6B87",
"Name": "PCIe Device",
"PCIeFunctions": {
"@odata.id": "/redfish/v1/Systems/system/PCIeDevices/pcie_card8/PCIeFunctions"
},
"PCIeInterface": {
"LanesInUse": -1
},
"PartNumber": "03FL194",
"SerialNumber": "Y131UF09S00J",
"Slot": {
"Location": {
"PartLocation": {
"ServiceLabel": "U78DB.ND0.WZS0018-P0-C8"
}
}
},
"SparePartNumber": "03FL195",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}
'''
Change-Id: Ibee01345c81c2e824fc2387c4f27e421b3f4c507
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'Redfish.md')
-rw-r--r-- | Redfish.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md index 42039e2dca..e8eb9393a7 100644 --- a/Redfish.md +++ b/Redfish.md @@ -847,6 +847,7 @@ other. - PCIeInterface - LanesInUse +- Status ### /redfish/v1/Systems/system/Processors/ |