diff options
author | Myung Bae <myungbae@us.ibm.com> | 2022-11-17 02:40:40 +0300 |
---|---|---|
committer | Myung Bae <myungbae@us.ibm.com> | 2023-01-19 01:41:37 +0300 |
commit | 703f67418ae1915e49ac32d475de872da3ab2819 (patch) | |
tree | d824bac5faeb9cbf69037d8b3f65da97f7330212 /redfish-core/lib/account_service.hpp | |
parent | 3ccb3adb9a14783f6bef601506de9f8bcae22d51 (diff) | |
download | bmcweb-703f67418ae1915e49ac32d475de872da3ab2819.tar.xz |
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 <token> \
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 <myungbae@us.ibm.com>
Change-Id: I896abe44f55414f25d01c5a93a31bb585264657e
Diffstat (limited to 'redfish-core/lib/account_service.hpp')
0 files changed, 0 insertions, 0 deletions