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: ( 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 input
Implement LocationIndicatorActive for PCIe slot LED.
Example: https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/36886/
File: https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/pcie.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: ( 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 input