summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-03-11 08:49:00 +0300
committerLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-04-28 23:35:16 +0300
commit727a046ccfa1d936ce984e30d6e257ea027ef587 (patch)
tree6b45d800b9bde9a05c8cbd2806adc36a5a976759 /Redfish.md
parent35ad613d2846884a5d654acf31d56ab3a6255afa (diff)
downloadbmcweb-727a046ccfa1d936ce984e30d6e257ea027ef587.tar.xz
Refactor SystemPCIeFunction method
Move SystemPCIeFunction to a separate method, and refactor the code. Validate the PCIe device path and add link header. Tested: Validator passed ``` { "@odata.id": "/redfish/v1/Systems/system/PCIeDevices/pcie_card7/PCIeFunctions/0", "@odata.type": "#PCIeFunction.v1_2_3.PCIeFunction", "ClassCode": "0x020000", "DeviceId": "0x1657", "FunctionId": 0, "Id": "0", "Links": { "PCIeDevice": { "@odata.id": "/redfish/v1/Systems/system/PCIeDevices/pcie_card7" } }, "Name": "PCIe Function", "RevisionId": "0x01", "SubsystemId": "0x0420", "SubsystemVendorId": "0x1014", "VendorId": "0x14e4" } ``` Change-Id: I99add03210983a255a615512b6137d04982f83a5 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'Redfish.md')
0 files changed, 0 insertions, 0 deletions