summaryrefslogtreecommitdiffstats
path: root/inventory.pl
Commit message (Collapse)AuthorAgeFilesLines
* Adjust motherboard and memory buffer fru_types.Matt Spinler2016-09-301-1/+3
| | | | | | | | | | IPMI code is hardcoded to look for MAIN_PLANAR and MEMORY_BUFFER, so make sure it can find them. Resolves openbmc/openbmc#604. Change-Id: I9b1b3bfa98bfd0a72f7f29c147b45f5b699272e2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add 'bios' and 'misc' inventory itemsMatt Spinler2016-09-221-0/+9
| | | | | | | | | | | Add these because even though they don't represent physical items, other code currently needs them to store information in. Resolves openbmc/openbmc#594. Change-Id: I45ce980f12fa6e859bdd0800702f7adaadda80c8 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add inventory.pl to create system inventory in JSON.Matt Spinler2016-09-071-0/+398
This script creates the system inventory listing from the system topology in the machine readable workbook XML. It includes all of the FRUs, plus a few other entities that aren't FRUs. The Targets.pm module is used to traverse the MRW XML. Most of the work of the script is converting MRW naming conventions to OpenBMC naming conventions. Change-Id: I2e27dce923d7597bd6eee1dfe73d38aa4755a801 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud