summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2022-10-05 12:03:20 +0300
committerGeorge Liu <liuxiwei@inspur.com>2023-06-15 10:38:54 +0300
commita0dba87be2fb6053d52af124aabc7d6ad489ade0 (patch)
treed5042e1f487f1661baf6596b586f9e458cbbf2b5 /Redfish.md
parent2b45fb3b8bd8684886a6ba3249183be0f541d592 (diff)
downloadbmcweb-a0dba87be2fb6053d52af124aabc7d6ad489ade0.tar.xz
Add FirmwareVersion For PowerSupply
This commit is to add firmware version information according to the Redfish PowerSupply schema. If the `xyz.openbmc_project.Software.Version` interface does not exist, the firmware version information property is not displayed. ref: http://redfish.dmtf.org/schemas/v1/PowerSupply.v1_5_0.json Tested: Validator passes curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis/chassis/PowerSubsystem/ PowerSupplies/powersupply0 { "@odata.id": "/redfish/v1/Chassis/chassis/PowerSubsystem/ PowerSupplies/powersupply0", "@odata.type": "#PowerSupply.v1_5_0.PowerSupply", "FirmwareVersion": "383239323732", "Id": "powersupply0", "Manufacturer": "", "Model": "51E9", "Name": "powersupply0", "PartNumber": "03KP466", "SerialNumber": "YL10KY26E073", "SparePartNumber": "03FP378", "Status": { "Health": "OK" } } Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3ced467faf49d08c46a8b9bb2aa722f35353c811
Diffstat (limited to 'Redfish.md')
-rw-r--r--Redfish.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md
index d74d3e961c..dbbbfd1097 100644
--- a/Redfish.md
+++ b/Redfish.md
@@ -379,6 +379,7 @@ Fields common to all schemas
##### PowerSupply
+- FirmwareVersion
- Manufacturer
- Model
- PartNumber