Searched hist:"9252 b7e3f0c80e20d648d95b0fd22f8e6ae80322" (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | psu_manager.hpp | diff 9252b7e3f0c80e20d648d95b0fd22f8e6ae80322 Fri Jun 10 12:47:38 CDT 2022 Shawn McCarney <shawnmm@us.ibm.com> psu-ng: Only log missing errors for required PSUs
If a power supply unit (PSU) is missing, only log an error if it is required by the current SupportedConfiguration.
EntityManager provides one or more D-Bus objects that implement the SupportedConfiguration interface. This interface specifies a PSU model, input voltage, and required number of PSUs.
EntityManager also provides one or more D-Bus objects that represent possible PSU devices that could exist in the system.
If the number of required PSUs is less than the number of possible PSUs, it is not an error for the extra PSUs to be missing.
Add logic to the power supply monitoring application to determine if a missing PSU is required before logging an error.
Tested: * Test plan documented at https://gist.github.com/smccarney/ba99ac808503b477aa056e7f4afe2ae1
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I2e8d147ad88461077da497b26fcc309966e04b45
|
H A D | psu_manager.cpp | diff 9252b7e3f0c80e20d648d95b0fd22f8e6ae80322 Fri Jun 10 12:47:38 CDT 2022 Shawn McCarney <shawnmm@us.ibm.com> psu-ng: Only log missing errors for required PSUs
If a power supply unit (PSU) is missing, only log an error if it is required by the current SupportedConfiguration.
EntityManager provides one or more D-Bus objects that implement the SupportedConfiguration interface. This interface specifies a PSU model, input voltage, and required number of PSUs.
EntityManager also provides one or more D-Bus objects that represent possible PSU devices that could exist in the system.
If the number of required PSUs is less than the number of possible PSUs, it is not an error for the extra PSUs to be missing.
Add logic to the power supply monitoring application to determine if a missing PSU is required before logging an error.
Tested: * Test plan documented at https://gist.github.com/smccarney/ba99ac808503b477aa056e7f4afe2ae1
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I2e8d147ad88461077da497b26fcc309966e04b45
|