summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-03-11 07:31:49 +0300
committerLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-04-28 23:35:16 +0300
commit35ad613d2846884a5d654acf31d56ab3a6255afa (patch)
tree57c871734dfad24b2b325855e2375a4ff2c42c93 /Redfish.md
parent543f9a75a0819ca9e3541b2c48fe8b4d5cf6c4f7 (diff)
downloadbmcweb-35ad613d2846884a5d654acf31d56ab3a6255afa.tar.xz
Refactor SystemPCIeFunctionCollection method
Move SystemPCIeFunctionCollection 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", "@odata.type": "#PCIeFunctionCollection.PCIeFunctionCollection", "Description": "Collection of PCIe Functions for PCIe Device pcie_card7", "Members": [ { "@odata.id": "/redfish/v1/Systems/system/PCIeDevices/pcie_card7/PCIeFunctions/0" } ], "Name": "PCIe Function Collection", "PCIeFunctions@odata.count": 1 } ``` Change-Id: I5aa10ce0b4d2f20104612f840cf4098698a83470 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Diffstat (limited to 'Redfish.md')
0 files changed, 0 insertions, 0 deletions