| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Seperated out write interfaces to a new method so that
it can be used for writing temperature sensor data.
Change-Id: I6b44d1dc2623230c3ec726e1ad18790a93ad7497
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
a) Entity ID is read from the MRW for each sensor populated in yaml.
b) Entity instance is populated for corresponding entity ID.
c) Sensor name pattern is read from the config yaml.
Change-Id: I933650f9c99f79ee60d5513cf7ff9b7f6b14b768
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
| |
A new block for prereq is added to the sensor config
which tells pre-req values for a dbus property
Change-Id: I87e657fefb16f5bc1bfe01f61b25cbdf7af56790
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
A pre-req condition can be added for a sensor value,
for example presence of a unit should be true for
functional to be true.
Change-Id: I7b87c7ffa29f06160164aba2b39c743f0f9c733f
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- The input sensor yaml now uses the sensor instance name as the key,
instead of the sensor type. This was required because two sensors with
the same sensor type can map to different d-bus objects.
- The script has a work-around to map MRW occ paths to d-bus occ paths.
Simplify this workaround and add a TODO to remove the workaround.
Change-Id: I155fbcfe11a0dcc456415d70a026fe00de84051b
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Giving the config yaml directory will make the perl to merge
and break the existing perl script. Instead of a directory path
config.yaml itself is given as input to the gen_ipmi_sensor.pl.
Removed unsused attributes and fixed path for some virtual sensors.
Change-Id: Icef03392f0c350e81b63ef2d7c9c377bcff8ccbf
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1558
Added change to take additional parameters from input yaml
and get the path from input yaml if there is no proper
inventory path available.
Change-Id: I495ea16f9caea4fa911b0212c7edf55bfcb26b0f
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
| |
The MRW parser for IPMI sensor is updated to accept
multiple yamls and generate output sensor yaml.
Change-Id: I623071fe491b098d005215045acbf155ad5077a1
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Generates a file to depict which dbus properties are implemented for a
sensor, and how IPMI sensor data map to those dbus properties.
This commit defines a YAML file which helps figure out the supported
dbus interface/properties for a sensor and how to get the sensor value.
Change-Id: I62ddd3b8546cd036663708c5aa6041523e399e4f
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
This commit serves as a building block since the script can now just
print certain attributes (see output example below) for sensors
defined in the MRW.
Output example:
sensorID: sensorType: sensorReadingType: ObjectPath
0xa1 : 0x07 : 0x6F : /sys/chassis/board/cpu1/core0
Change-Id: Ice89a6b6294d94fded4eb92f628b8f62ef02b7ed
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|