Commit dde2c22
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 bd78e11 commit dde2c22
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 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 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
527 | 554 | | |
528 | 555 | | |
529 | 556 | | |
| |||
679 | 706 | | |
680 | 707 | | |
681 | 708 | | |
| 709 | + | |
682 | 710 | | |
683 | 711 | | |
684 | 712 | | |
| |||
0 commit comments