summaryrefslogtreecommitdiffstats
path: root/cooling-type/cooling_type.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cooling-type: Use lookupAndCallMethodMatthew Barth2018-05-171-17/+8
| | | | | | | | | | | | | Have phosphor-cooling-type fail with a DBusMethodError exception when a failure occurs on updating inventory. Resolves: openbmc/openbmc#2628 Tested: Cooling type properties still set correctly Change-Id: Ia7e3379fc7d75c70e9c71d4f940f9da84b9f5774 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Switch which GPIO value sets air or water cooledBrandon Wyman2017-08-011-2/+2
| | | | | | | | | | | | | | During the coding and testing of this application there was some miscommunication on the jumper position for a Witherspoon system. The system was jumpered for Air when intended to be jumpered for the Water cooled position. Further examination of the documentation and the jumper settings on systems found that the logic was reversed. This change should correct the problem and report the correct cooling properties. Resolves openbmc/openbmc#2041 Change-Id: I7e25bd72342fde40df1fec8f6a1a444eac401f09 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* phosphor-fan-presence elog error exception.Dinesh Chinari2017-06-281-9/+16
| | | | | | | | Implemented elog exception for phosphor fan presence, replacing runtime_errors. Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* Implement changes to read GPIO device for cooling type.Brandon Wyman2017-05-221-15/+39
| | | | | Change-Id: If40a54510fb05d67ee0bfdf24026c1d7470897ca Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Fix bitbake build break due to <utility.hpp>Brandon Wyman2017-05-191-1/+1
| | | | | | | | Should have used #include "utility.hpp" to include that header file in the phosphor-fan-presence repo. Change-Id: I01ac9a0cd4b3942f4b052ae3f52abd828cf8dc20 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Implement updating the inventory propertiesBrandon Wyman2017-05-191-3/+36
| | | | | | | | Implement code needed to update the chassis AirCooled and WaterCooled properties. Change-Id: I9a67d1129e99f841200241e2daae08fb6119d9d3 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Fill in shell functions/files for cooling type.Brandon Wyman2017-05-191-0/+59
Change-Id: I8d18d3141e955adeffdd8122ebb17549c88edd77 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
OpenPOWER on IntegriCloud