ipmi sensors: fix d-bus mappings in input yaml
A system specific YAML file helps map ipmi sensors to corresponding
d-bus objects. This YAML was using the sensor type as the key. This was
an issue because there is a possibility of different sensors, with the
same sensor type, mapping to different d-bus objects and interfaces.
While still maintaining the sensor number as the key in the "output"
YAML (generated by an MRW parser), use the sensor instance name as the
key in the input YAML. This helps to have 1x1 mappings between sensors
and d-bus objects.
Resolves openbmc/openbmc#2130.
Change-Id: I3e87fa88d8622615f1a21aa46084f7082dcc4d0f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
1 file changed