summaryrefslogtreecommitdiffstats
path: root/control/gen-fan-zone-defs.py
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2018-02-20 12:11:07 -0600
committerMatthew Barth <msbarth@us.ibm.com>2018-03-01 09:38:44 -0600
commite11cbc605e79bbf6b2651c30ef8f64a9ae4167b0 (patch)
tree89996f309c3852cab8673e9160ce1ed6df36739f /control/gen-fan-zone-defs.py
parent3800ae715a5835e72754a03eac230ef00d14c538 (diff)
downloadphosphor-fan-presence-e11cbc605e79bbf6b2651c30ef8f64a9ae4167b0.tar.gz
phosphor-fan-presence-e11cbc605e79bbf6b2651c30ef8f64a9ae4167b0.zip
Handle timer expiration on state changes
Update to start all tach sensor functional state change timers on a fan where the corresponding state and inventory is updated when the timer expires. Only start the timer in nonfunctional mode when a tach sensor is out of range and is currently functional and start the functional mode timer when its in range and currently nonfunctional. Tested: Tach sensors are marked nonfunctional as normal. Tach sensors are updated to functional after 5sec(yaml test value) Nonfunctional timer is cancelled if fan returns within spec Functional timer is cancelled if fan returns out of spec Change-Id: I88622d07d8713f88e8070940a4bd96046a053fb5 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/gen-fan-zone-defs.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud