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
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 ?
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