diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2018-01-24 11:18:34 +0530 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-06 01:34:06 +0000 |
commit | b9717cebd3a26f94d2fe8767fcd4c2ddab2f05ab (patch) | |
tree | 03d3e238877d2af312b1113d1a4588aaa7d5ba56 /meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi | |
parent | 6a2fbcd94772526e099c1f09f20460b9ebddbe26 (diff) | |
download | talos-openbmc-b9717cebd3a26f94d2fe8767fcd4c2ddab2f05ab.tar.gz talos-openbmc-b9717cebd3a26f94d2fe8767fcd4c2ddab2f05ab.zip |
sensor: Modify config for sensor to add additional fields
Added entity ID, entity instance and sensor naming pattern to the
generated sensor yaml.
Resolves openbmc/openbmc#2612
Change-Id: Ie4dc9548833cb30126e873a7597b2be9b1ea7f79
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml index 862806093..2855b0e82 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/occ_sensors.hardcoded.yaml @@ -1,9 +1,12 @@ 0x08: + entityID: 0xD2 + entityInstance: 1 sensorType: 0x09 path: /org/open_power/control/occ0 sensorReadingType: 0x09 serviceInterface: org.freedesktop.DBus.Properties readingType: assertion + sensorNamePattern: nameLeaf interfaces: org.open_power.OCC.Status: OccActive: @@ -17,11 +20,14 @@ deassert: false type: bool 0x09: + entityID: 0xD2 + entityInstance: 2 sensorType: 0x09 path: /org/open_power/control/occ1 sensorReadingType: 0x09 serviceInterface: org.freedesktop.DBus.Properties readingType: assertion + sensorNamePattern: nameLeaf interfaces: org.open_power.OCC.Status: OccActive: |