Commit cdd6cc4
Publish Location under PCIeDevice schema (#1083)
The commit publishes Location code under PCIeDevice schema.
Validator was executed and no new error was found.
Test:
curl -k -H "X-Auth-Token: $bmc_token" -X GET "https://${BMC_IP}/redfish/
v1/Systems/system/PCIeDevices/chassis_motherboard_pcieslot0_pcie_card0"
{
"@odata.id": "/redfish/v1/Systems/system/PCIeDevices/
chassis_motherboard_pcieslot0_pcie_card0",
"@odata.type": "#PCIeDevice.v1_9_0.PCIeDevice",
"Id": "chassis_motherboard_pcieslot0_pcie_card0",
"Oem": {
"IBM": {
"@odata.type": "#IBMPCIeDevice.v1_0_0.IBM",
"LinkReset": false
}
},
"PCIeFunctions": {
"@odata.id": "/redfish/v1/Systems/system/PCIeDevices/
chassis_motherboard_pcieslot0_pcie_card0/PCIeFunctions"
},
"PCIeInterface": {
"LanesInUse": null
},
"Slot": {
"Location": {
"PartLocation": {
"ServiceLabel": "U78DA.ND0.WZS003T-P0-C0"
}
},
"SlotType": "FullLength"
},
"Status": {
"Health": "OK",
"State": "Enabled"
}
}
Change-Id: Iba1b98734fdfee43c2995f6c9f1f2660e196814a
Signed-off-by: Sunny Srivastava <[email protected]>
Co-authored-by: Sunny Srivastava <[email protected]>
Signed-off-by: Souvik Roy <[email protected]>1 parent 9bfb291 commit cdd6cc4
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
526 | 551 | | |
527 | 552 | | |
528 | 553 | | |
| |||
676 | 701 | | |
677 | 702 | | |
678 | 703 | | |
| 704 | + | |
679 | 705 | | |
680 | 706 | | |
681 | 707 | | |
| |||
0 commit comments