summaryrefslogtreecommitdiffstats
path: root/occ_sensor.mako.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for sensorName field in yamlHEADmasterAlexander Filippov2019-04-101-2/+7
| | | | | | | | | | | | | | | We want to have ability to specify the human readable names for the OCC sensors. E.g. `CPU0_OCC` instead of `occ_4_0050`. This commit allows to specify a `sensorName` field in the YAML config for each sensor, and this name will be used in the sensor object DBus path. If the field is not specified, previous behavior will be used. Tested: the command `busctl tree org.open_power.OCC.Control --list` must show specified names. Change-Id: I2f05f7bf44120554ea07b9ee0aac9cfbd33ac376 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
* Use generated occ to sensor ID mapVishwanatha Subbanna2017-08-021-0/+31
Change-Id: I948cc33ef05c2c49353277f4d5df958012a9801f Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud