summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/failing_mtms.hpp
Commit message (Collapse)AuthorAgeFilesLines
* PEL: Print Failing MTMS section into JSONHarisuddin Mohamed Isa2020-02-071-0/+6
| | | | | | | | | | | | | | | | | Remove any trailing whitespace for serial number. "Failing MTMS": { "Section Version": "1", "Sub-section type": "0", "Created by": "0x4552", "Machine Type Model": "OPWR-131", "Serial Number": "1318ABA" }, Testing: Manually run peltool and verified output. All unit tests passed. Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com> Change-Id: I7a05790bdf406ef6d7946ffae831a45ee6dd5cda
* PEL: Make PEL::flatten() constMatt Spinler2019-11-121-1/+1
| | | | | | | | This includes making the flatten() method const in the PEL section base class and in all of its derived classes. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6be787962c6d7dfa01bdced2f9024564e6ac1b08
* PEL: Add string accessors to MTMS classMatt Spinler2019-10-221-2/+8
| | | | | | | | This class is used by a few other classes, so make it easier to get data out of it. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I2feb4b83a09e6cb6056c9f1a903ca55e8cacf2ae
* PEL: Add FailingMTMS PEL section classMatt Spinler2019-09-271-0/+102
This PEL section contains the Machine Type-Model and Serial number of the enclosure and is required for BMC PELs. In the constructor that creates the section from scratch, it gets those values from the DataInterface class. This commit doesn't hook this section into the PEL class as there are some prerequisites that still need to be done first. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I24d679b57751afb00539691defef180191ea8fc7
OpenPOWER on IntegriCloud