Home
last modified time | relevance | path

Searched hist:"2 c37b4b0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dchassis.hpp2c37b4b0 Mon May 10 02:23:38 CDT 2021 Sharad Yadav <sharady@nvidia.com> Chassis: Add UUID property

This commit adds the support for implementing the "UUID" property
as defined in the Redfish Chassis schema.

UUID will enable further platform/board specific monitoring and control.

Redfish validator passed.

Tested:
$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json"
-X GET https://${bmc}/redfish/v1/Chassis/GPU1
{
"@odata.id": "/redfish/v1/Chassis/GPU1",
"@odata.type": "#Chassis.v1_14_0.Chassis",
"Id": "GPU1",
"Name": "GPU1",
"UUID": "7b6e8e55-f0d5-4a9f-84a3-61635a3bc232"
}

Signed-off-by: Sharad Yadav <sharady@nvidia.com>
Change-Id: If73b424e171629b8ebb9b68cc81aadf841813a58