summaryrefslogtreecommitdiffstats
path: root/occ_finder.cpp
diff options
context:
space:
mode:
authorAlexander Filippov <a.filippov@yadro.com>2019-03-21 18:12:07 +0300
committerEdward A. James <eajames@us.ibm.com>2019-04-10 17:05:56 +0000
commit1d69e19255e4195f85539200842d88c0dec426f1 (patch)
tree96e1c1ef7b9ce27a0f2de0a92fd1a7e9b35bca07 /occ_finder.cpp
parentb35cd0df3927cd12f670d7db70489dd0bf19441a (diff)
downloadopenpower-occ-control-1d69e19255e4195f85539200842d88c0dec426f1.zip
openpower-occ-control-1d69e19255e4195f85539200842d88c0dec426f1.tar.gz
Add support for sensorName field in yamlHEADmaster
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>
Diffstat (limited to 'occ_finder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud