Home
last modified time | relevance | path

Searched hist:"1 d69e192" (Results 1 – 3 of 3) sorted by relevance

/openbmc/openpower-occ-control/
H A Docc_sensor.mako.hpp1d69e192 Thu Mar 21 10:12:07 CDT 2019 Alexander Filippov <a.filippov@yadro.com> Add support for sensorName field in yaml

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>
H A Docc_status.cpp1d69e192 Thu Mar 21 10:12:07 CDT 2019 Alexander Filippov <a.filippov@yadro.com> Add support for sensorName field in yaml

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>
H A Docc_status.hpp1d69e192 Thu Mar 21 10:12:07 CDT 2019 Alexander Filippov <a.filippov@yadro.com> Add support for sensorName field in yaml

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>