summaryrefslogtreecommitdiffstats
path: root/control/fan.cpp
Commit message (Collapse)AuthorAgeFilesLines
* phosphor-fan-presence elog error exception.Dinesh Chinari2017-06-281-15/+16
| | | | | | | | Implemented elog exception for phosphor fan presence, replacing runtime_errors. Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* Fan control: Create Fan classMatt Spinler2017-04-271-0/+90
This class contains the inventory name of the fan, and the sensor names representing the rotors. Calling setSpeed on this object will set the speed on all contained sensors. Change-Id: I850e2d69067813005270105618fcf69b04382b03 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud