summaryrefslogtreecommitdiffstats
path: root/utility.cpp
Commit message (Collapse)AuthorAgeFilesLines
* phosphor-fan-presence elog error exception.Dinesh Chinari2017-06-281-4/+13
| | | | | | | | Implemented elog exception for phosphor fan presence, replacing runtime_errors. Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* Fan control: Add getService() utility functionMatt Spinler2017-04-261-7/+18
| | | | | | | | | | | This function returns the service name from the mapper based on the dbus path and interface passed in. Eventually, getInvService can be removed and this call can be used instead. Change-Id: Ieb090a9b650803e8cfaf2f24143f25a4bbf1cd23 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Move getInvService() into utility function.Brandon Wyman2017-03-201-0/+66
Resolves openbmc/openbmc#1299 Change-Id: I61f511dcc15e67393a47bd0395b752d2e6f17f11 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
OpenPOWER on IntegriCloud