summaryrefslogtreecommitdiff
path: root/Redfish.md
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2022-10-04 10:45:25 +0300
committerGunnar Mills <gmills@us.ibm.com>2023-07-13 06:02:16 +0300
commit090ae7ba35fef7157327f3a4686fec3e8a4df66f (patch)
treee0c04b940c3a981dd6d9b9f98511768258f09c63 /Redfish.md
parent9f1ae5ae73212293cc2fe92dff1fa2449039fa81 (diff)
downloadbmcweb-090ae7ba35fef7157327f3a4686fec3e8a4df66f.tar.xz
Add asset information for Fan
This commit is to add asset information according to the Redfish Fan schema. If the `xyz.openbmc_project.Inventory.Decorator.Asset` interface does not exist, the asset information property is not displayed. ref: https://redfish.dmtf.org/schemas/v1/Fan.v1_3_0.json Tested: Validator passes ''' 1. doGet method to get Fan asset information curl -k https://${bmc}/redfish/v1/Chassis/chassis/ThermalSubsystem/Fans/fan0 { "@odata.id": "/redfish/v1/Chassis/chassis/ThermalSubsystem/Fans/fan0", "@odata.type": "#Fan.v1_3_0.Fan", "Id": "fan0", "Manufacturer": "Delta", "Model": "7B5F", "Name": "Fan", "PartNumber": "02YK323", "SerialNumber": "YL12JP1C1234", "SparePartNumber": "02YK323", "Status": { "Health": "OK", "State": "Enabled" } } ''' Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I1840f2b372fea57ba6e5c499ba21c968f0005695 Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
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 8584673ccc..d72a2f8933 100644
--- a/Redfish.md
+++ b/Redfish.md
@@ -324,6 +324,11 @@ Fields common to all schemas
#### Fan
+- Manufacturer
+- Model
+- PartNumber
+- SerialNumber
+- SparePartNumber
- Status
### /redfish/v1/Chassis/{ChassisId}/Power#/PowerControl/{ControlName}/