summaryrefslogtreecommitdiffstats
path: root/presence/fallback.hpp
Commit message (Collapse)AuthorAgeFilesLines
* presence: Add sensor to redundancy policy apiBrad Bishop2017-08-021-1/+2
| | | | | | | | | | Include a reference to the sensor changing state when sensor implementations ping the policy object. This allows policy logic based on multiple sensors, simultaneously. Change-Id: I44cf00c7ecd220d0cc99e51ca6093bac6da7343c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* presence: Add fallback redundancy policyBrad Bishop2017-08-021-0/+79
Add a fallback redundancy implementation of the RedundancyPolicy interface. The fallback policy associates multiple PresenceSensor instances to a single fan, and "falls-back" on secondary sensor implementations when the primary sensor cannot see the fan. Change-Id: I6468d77d97b8916b3ff33bcd0cd28a102d1aaba1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud