summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/registry/schema
Commit message (Collapse)AuthorAgeFilesLines
* PEL: Fix message registry schema typoMatt Spinler2019-12-111-1/+1
| | | | Change-Id: Ic20d6560a79dc8cc871ebc1ab64ce5aefc2ccfe6
* PEL: Registry: Make "Action Flags" optionalMatt Spinler2019-11-121-2/+1
| | | | | | | | | | | | | | | The Action Flags bits in the PEL need to be in agreement with other PEL fields, such as if the severity is informational then the 'report' flag cannot be on. In fact, for most logs all of these flags can be deduced from the other PEL fields. So, to avoid the case of the action flags in the registry not matching the other PEL fields, make them optional and the BMC code will set them appropriately. And when they are specified, the BMC code will still run through the same code to ensure everything is in agreement. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I5bea83d01846d7a2d3307666e6d0758a99229e3f
* PEL: Add message registry JSON schemaMatt Spinler2019-10-252-0/+394
The message registry is JSON data that will aid in converting OpenBMC event logs into IBM's Platform Event Log (PEL) format. PELs have more fields than event logs, many with specific IBM defined values, that need to be able to be looked up for an OpenBMC event log so the PEL can be filled in. In addition to aiding in creating PELs, it also contains information to aid in parsing PELs. This schema defines how that JSON will look, and this commit also contains an example registry file. A script will be added in the future to validate the registry JSON against the schema during a bitbake build. Until there is a need, the message registry will be contained in a single JSON file. If there is a need, it can be split up along some predetermined rules in the future. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I98620b263bd1faff27e36da7a0c101a982b58057
OpenPOWER on IntegriCloud