summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2022-10-05 12:00:00 +0300
committerLakshmi Yadlapati <lakshmiy@us.ibm.com>2023-06-14 21:29:32 +0300
commit2b45fb3b8bd8684886a6ba3249183be0f541d592 (patch)
tree4f4e1ca125fba5a2a1c729801a4f9d8f09543dd0 /Redfish.md
parenta115d87f837f06a2a61646bd3cc5304c09956ef4 (diff)
downloadbmcweb-2b45fb3b8bd8684886a6ba3249183be0f541d592.tar.xz
Add asset information for PowerSupply
This commit is to add asset information according to the Redfish PowerSupply schema. If the `xyz.openbmc_project.Inventory.Decorator.Asset` interface does not exist, the asset 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", "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: I83f1a9375f83e3470089cb2b5207db9665cc69df
Diffstat (limited to 'Redfish.md')
-rw-r--r--Redfish.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md
index 75121d9f9c..d74d3e961c 100644
--- a/Redfish.md
+++ b/Redfish.md
@@ -379,6 +379,11 @@ Fields common to all schemas
##### PowerSupply
+- Manufacturer
+- Model
+- PartNumber
+- SerialNumber
+- SparePartNumber
- Status
### /redfish/v1/EventService/