Author: James Feist !jfei
Primary assignee: James Feist !jfei
Other contributors: None
Created: 2019-06-26
We need a centralized location to change the LED state.
Need to be able to trigger the LED from multiple locations and maintain state.
The callback manager can change LED state in the below ways.
Other interfaces specific interfaces can be added later if it makes sense. The reason it was designed this way is Redfish has the idea of a Global health state, and a component health state. We need to map these to the LED.
Warning thresholds will trigger warning (blink green) LED state.
Critical thresholds will trigger critical (blink amber) state.
Callback manager will create associations for redfish for thresholds automatically.
There are two types of status associations, detailed in the Redfish health whitepaper.
If the path for an association is Critical for Global & Local, the LED will be in the fatal (amber solid) state.
If the path for an association is in Warning for Global & Critical for local, the LED will be in the Critical (amber blink) state.
If the path for an association is in the Warning for Global & not Critical for local, the LED will be in the Warning (blink green) state.
Write the LED manually, this seems very error prone.
Will have to add more associations.
Sensor override, then look at LED and Redfish.