From 53ffeca5ae50e522338b9e167e5840bf967a429b Mon Sep 17 00:00:00 2001 From: Lakshmi Yadlapati Date: Fri, 27 Jan 2023 15:12:23 -0600 Subject: Add Location information for FabricAdapter This commit is to add location information according to the Redfish FabricAdapter schema. If the `xyz.openbmc_project.Inventory.Decorator.LocationCode` interface does not exist, the location information property is not displayed. ref: http://redfish.dmtf.org/schemas/v1/FabricAdapter.v1_4_0.json Tested: Validator passes ``` curl -k https://$bmc/redfish/v1/Systems/system/FabricAdapters/disk_backplane0 { "@odata.id": "/redfish/v1/Systems/system/FabricAdapters/disk_backplane0", "@odata.type": "#FabricAdapter.v1_4_0.FabricAdapter", "Id": "disk_backplane0", "Location": { "PartLocation": { "ServiceLabel": "U78DA.ND0.WZS0042-P1" } }, "Name": "Fabric Adapter" } ``` Change-Id: I0dad37dce06e4727057d9821b5c40c71db004ee6 Signed-off-by: Lakshmi Yadlapati --- Redfish.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Redfish.md') diff --git a/Redfish.md b/Redfish.md index 3739581c54..8d29ec0efb 100644 --- a/Redfish.md +++ b/Redfish.md @@ -676,6 +676,8 @@ other. #### FabricAdapter +- Location + ### /redfish/v1/Systems/system/LogServices/ #### LogServiceCollection -- cgit v1.2.3