Home
last modified time | relevance | path

Searched hist:f06ab07c73e1e15cedc8deb585eb8cc0303ae55a (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-fan-presence/monitor/test/
H A Dmock_power_interface.hppf06ab07c73e1e15cedc8deb585eb8cc0303ae55a Wed Oct 14 12:58:22 CDT 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 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
H A Dpower_off_rule_test.cppf06ab07c73e1e15cedc8deb585eb8cc0303ae55a Wed Oct 14 12:58:22 CDT 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 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
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_rule.hppf06ab07c73e1e15cedc8deb585eb8cc0303ae55a Wed Oct 14 12:58:22 CDT 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 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
H A Djson_parser.hppdiff f06ab07c73e1e15cedc8deb585eb8cc0303ae55a Wed Oct 14 12:58:22 CDT 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 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
H A Djson_parser.cppdiff f06ab07c73e1e15cedc8deb585eb8cc0303ae55a Wed Oct 14 12:58:22 CDT 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 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