summaryrefslogtreecommitdiffstats
path: root/Util.pm
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixesGunnar Mills2018-08-141-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I32c896bf6268704843adf188bae2fd0884ed95c5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Parse temperature sensors in gen_ipmi_sensor scriptMarri Devender Rao2018-03-231-0/+23
| | | | | | | | | At present temperature sensors are added with hand coded YAML file the same has been modified to auto-generate by reading the MRW file. Change-Id: I4d7294395305dba09bfb526682cb32977c79ee05 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Util: add adjustI2CPortDeepak Kodihalli2017-02-241-0/+13
| | | | | | | | adjustI2CPort converts the I2C port number from the MRW numbering scheme to the Linux numbering scheme. Change-Id: I22fc00eb8eab9c62b190f1c5c45af775f351c8b4 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Fix documentationDeepak Kodihalli2017-02-241-1/+2
| | | | | Change-Id: I61935045a87d68c21fb110628c140de4aba2a70b Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Util: add getEnclosingFruDeepak Kodihalli2017-02-221-0/+29
| | | | | | | getEnclosingFru determines the nearest FRU enclosing a given Target. Change-Id: I56533519c053171a98897a67368d1c1ba0d132b6 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Util: Add adjustI2CAddressDeepak Kodihalli2017-02-221-0/+18
| | | | | | | | adjustI2CAddress converts input MRW-format I2C address to the standard 7-bit format. Change-Id: I26328a7e8147b345b870be7798f7b5a6e66316d5 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Inventory: Implementing the association of objects.Ratan Gupta2017-02-221-0/+26
| | | | | | | | This script will look at the associated types in the config file and make the association. Change-Id: I25bafb1308bbcb1febc2c24d8154643a1f154cdb Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* gen_openpower_fru.pl : Fetch inventory pathsDeepak Kodihalli2017-02-141-0/+23
| | | | | | | | | | | | | | In preparation for the openpower-vpd-parser recipe, this script will, from an input openpower vpd-config YAML file, determine which inventory objects we're interested in, and will fetch from the MRW pathnames these objects should have. The script will output a file in a format that can serve as an environment file for a systemd service, which in turn will launch the openpower-vpd-parser application with this information. Change-Id: I7c4fa70af002f63bd5501093802c1d41bd503e88 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Create hwmon.plMatt Spinler2017-01-171-0/+72
This script will create configuration files for hwmon sensors for the phosphor-hwmon daemon. This is the first of several commits for this script. Change-Id: Ie8f59b0c94fe9c61c454ed7dde816d7c819728fc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud