#
ba3ee9ae |
| 06-Jan-2021 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Fill in EpowPowerOff action
This action does the following:
1) Starts a service mode timer, which would allow the system to be serviced before anything happens. 2) On the expiration of
monitor: Fill in EpowPowerOff action
This action does the following:
1) Starts a service mode timer, which would allow the system to be serviced before anything happens. 2) On the expiration of that timer, it will: a) Set the thermal fault alert D-Bus property. This will be used to send an EPOW alert to the host on IBM systems. b) Start the meltdown timer. 3) On the expiration of the meltdown timer, a hard power off will occur. This timer cannot be canceled even if fans start behaving.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I9434699b816b23b68c6d9d1e97283b4ab9befe4f
show more ...
|
#
f06ab07c |
| 14-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Create PowerOffRules class
This class contains a PowerOffCause and a PowerOffAction. It provides a check() method that takes the FanHealth map which it then checks against the cause. If t
monitor: Create PowerOffRules class
This class contains a PowerOffCause and a PowerOffAction. It provides a check() method that takes the FanHealth map which it then checks against the cause. If the cause is satisfied, it then starts the power off action. It provides a cancel method that will force cancel a running action in the case that the object owner detects a system power off and so doesn't need to run this power off anymore.
The class's configuration data is read from the JSON config file.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I5c0c168591d6d62c894c4d036ec762797fd759af
show more ...
|