summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* sensorhandler: Add functionality to use m, b, b_exp from config.yamlEmily Shaffer2017-07-171-1/+5
| | | | | | Change-Id: I1b5b8a5e0e5abd74eadde494728f363cf1ca4ec6 Signed-off-by: Emily Shaffer <emilyshaffer@google.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* generate map of phosphor-dbus fru propertiesMarri Devender Rao2017-06-263-0/+213
| | | | | | | | | | Reusing frup.hpp, example.yaml, fru-gen.py, writefru.mako.cpp from ipmi-fru-gen repository to generate map of frup properties. Generated map facilitates in reading data from the inventory. Change-Id: I6d6dbc55a340dd06b4639f8bded8cc09df815a59 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Adding inventory-sensor-example.yamlTom Joseph2017-05-191-0/+340
| | | | | | | | This is an example config file which would be picked for out of tree build or the config file is not generated during build time. Change-Id: Iae0db42d5f2496673ac08eeb7a2cb052526b9fa6 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Write parser for inventory to sensor mapping yaml.Tom Joseph2017-05-192-0/+87
| | | | | | | | | | Write python-based parser for inventory-sensor.yaml. The parser generates inventory-sensor-gen.cpp, which is contains a map containing the inventory object path as key and the sensor related info as the value. Change-Id: Ib0e0f61f075b0ba777417a8032074c9b66b2eef7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* inventory: undo the capitilization of yaml decoderRatan Gupta2017-03-161-6/+5
| | | | | | | | yaml decoder capitalize the boolean values which is not liked by c++ compiler so undoing the capitalization. Change-Id: I1de142de76e21b2759db759c5a182c42400e34d1 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* inventory: adding sensor-example.yamlRatan Gupta2017-03-151-0/+68
| | | | | | | | This is an example file which would be used if config file was not generated during build time. Change-Id: I4f31b72ffacff4dc6641c999186997e77a954823 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* inventory: write sensor yaml parserRatan Gupta2017-03-152-0/+114
Write python-based parser for sensor.yaml. The parser generates sensor-gen.cpp,which is having a map of sensorid(key) and sensorinfo(value). Change-Id: I5aa2d2bc871ced06e5e4c164a67eeb5974031d5d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud