Thoughts on representing the LED groups in Redfish ?
patrick at stwcx.xyz
Fri Feb 21 03:43:35 AEDT 2020
On Thu, Feb 20, 2020 at 02:28:59PM +0530, Vishwanatha Subbanna wrote:
> Wonder if the community has any thoughts ?
> !! Vishwa !!
> On 14-Feb-2020, at 4:51 PM, Vishwanatha Subbanna
> <vishwa at linux.vnet.ibm.com> wrote:
> Writing this to get your thoughts on representing LED logical groups in
> OpenBmc LED subsystem has 2 layers
> 1/. Logical LED group manager
> 2/. Physical LED controller that sets ONE particular LED to On/Off/Blink
> Logical LED group manager:
> This is where we define a group with set of physical LEDs and their
> respective actions for one use case.
> For example: https://github.com/openbmc/phosphor-led-manager/blob/master/
> When the user wants to turn on the Identify indicators, they don’t target
> the physical LEDs individually. Instead, they just set the “Asserted”
> property : “xyz/openbmc_project/led/groups/enclosure_identify/attr/
> LED manager will then request physical led controllers of those LEDs to
> take the right action
> Current bmcweb actually uses the groups than targeting the physical LEDs.
> So it’s good. https://github.com/openbmc/bmcweb/blob/
> However, I am not sure if there are ways to express the LED logical groups
> in the redfish schema.
> Any ideas ?
> Thank you,
> !! Vishwa !!
It seems like if BMCWeb is using the logical groups already, this is
good because this is likely what the administrator is most interested in
anyhow. From what you've written here, I'm not sure what the new
feature is you'd be proposing. How might logical vs physical LEDs be
presented in a management interface like Redfish and what advantage does
it provide to a user (over what we're doing today)?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the openbmc