From c6bb328526ac56e16e6409198032effc39584a2a Mon Sep 17 00:00:00 2001 From: Lakshmi Yadlapati Date: Wed, 12 Apr 2023 16:56:49 -0500 Subject: 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 --- Redfish.md | 1 + 1 file changed, 1 insertion(+) (limited to 'Redfish.md') 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/ -- cgit v1.2.3