ibm-openbmc / dev

Product Development Project Mgmt and Tracking
16 stars 2 forks source link

eBMC LED Management :: Implement LocationIndicatorActive Property for FAN #2087

Open vishwabmc opened 4 years ago

vishwabmc commented 4 years ago

Implement LocationIndicatorActive property for Fan resource.

In : redfish/v1/Chassis/Thermal#/Fan

Example: https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/36886/

File: https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/sensors.hpp


So, what will this do :

1/. Get the corresponding Inventory for this resource 2/. See if there is any Association by name "indicator_led_group". 3/. If so, read the Asserted property: ( for GET ) Example: busctl get xyz.openbmc_project.LED.GroupManager <Data from step-2> xyz.openbmc_project.Led.Group Asserted 4/. for PATCH, set to true or false depending on the value

vishwabmc commented 3 years ago

We don't have LocationIndicatorActive property for Fan resource in V2020.3 and hence this can not be done until that comes in 2020.4.. Agree @gtmills ?

zhanghaodi commented 3 years ago

review by: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/42210

gtmills commented 11 months ago

Not in yet