From 703f67418ae1915e49ac32d475de872da3ab2819 Mon Sep 17 00:00:00 2001 From: Myung Bae Date: Wed, 16 Nov 2022 18:40:40 -0500 Subject: Add Get for PCIe property LanesInUse Added Redfish property 'LanesInUse' to PCIeDevices under redfish/v1/Systems. LanesInUse maps to dbus LanesInUse property for the Inventory.Item.PCIeDevice interface. Note: GUI might map this property to 'LinkWidth' Tested: 1) Redfish validator passed 2) Curl testing 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", ... "PCIeInterface": { "LanesInUse": 16, "PCIeType": "Gen4" }, ... } Signed-off-by: Myung Bae Change-Id: I896abe44f55414f25d01c5a93a31bb585264657e --- Redfish.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Redfish.md') diff --git a/Redfish.md b/Redfish.md index cc714eb349..3f65de81df 100644 --- a/Redfish.md +++ b/Redfish.md @@ -768,6 +768,11 @@ other. - Members - Members@odata.count +### /redfish/v1/Systems/system/PCIeDevices/{PCIeDevice}/ + +- PCIeInterface + - LanesInUse + ### /redfish/v1/Systems/system/Processors/ #### ProcessorCollection -- cgit v1.2.3