#
29c2ec6d |
| 16-May-2020 |
Andrew Geissler <geissonator@yahoo.com> |
string: ensure string included Latest upstream yocto appears to have removed a free include of string. This is causing compile failures for files which do not include it properly.
string: ensure string included Latest upstream yocto appears to have removed a free include of string. This is causing compile failures for files which do not include it properly. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I6a0afb2e01d0ed0630a28f8798a16a66b0142cab
show more ...
|
#
54ea3ad8 |
| 23-Oct-2018 |
Matt Spinler <spinler@us.ibm.com> |
Use C++17 optional and any The optional and any types are no longer experimental in C++17. Change-Id: I0b507b73fdd13afe531bef7a2ce308ebc8a3da7d Signed-off-by: Matt Spinler <
Use C++17 optional and any The optional and any types are no longer experimental in C++17. Change-Id: I0b507b73fdd13afe531bef7a2ce308ebc8a3da7d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
c57aa4b9 |
| 28-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Policy table lookup enhancements Adds support for 2 new lookups: 1) Use the called out device path as the search modifier. 2) Use the called out FRU + the severity of the PEL er
Policy table lookup enhancements Adds support for 2 new lookups: 1) Use the called out device path as the search modifier. 2) Use the called out FRU + the severity of the PEL error extracted from the ESEL metadata in the log as the search modifier. If a match isn't found in the policy table with these modifiers, then the code will search again using the existing modifier checks. Note: PEL = Platform Event Log. This is the logging standard used by OpenPower host firmware. The PEL contents are in the ESEL data in the AdditionalData property in an OpenBMC error log entry. Change-Id: I0e2f3675ece7e792f6b551a5be093351e3585eb6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
66e07073 |
| 12-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
clang-format updates Run with clang-format-6.0 and update to latest .clang-format as listed in the docs repository. Change-Id: I40fb686cc66adf56b2c1b5277ac1c44b64b89349 Sign
clang-format updates Run with clang-format-6.0 and update to latest .clang-format as listed in the docs repository. Change-Id: I40fb686cc66adf56b2c1b5277ac1c44b64b89349 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
259e7277 |
| 29-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Enable clang-format Ideally would have done this from the beginning, but better later than never. Change-Id: Ib4c73085c4817496c9f2ee505c19149a67b394dc Signed-off-by: Matt Sp
Enable clang-format Ideally would have done this from the beginning, but better later than never. Change-Id: Ib4c73085c4817496c9f2ee505c19149a67b394dc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
7ce3eef9 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add default event ID and error description Add the ID and description to use when an entry isn't found in the policy table. The final values for these are still being considered
Add default event ID and error description Add the ID and description to use when an entry isn't found in the policy table. The final values for these are still being considered by the IBM service team. Change-Id: I2ce3f16ed168994599fb48aaba999a1d92856193 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
3c9e3016 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Find an entry in the policy table Find the policy details entry based on the error message and a modifier string. Not all details entries have a modifier, and if it is empty
Find an entry in the policy table Find the policy details entry based on the error message and a modifier string. Not all details entries have a modifier, and if it is empty it will match on anything. Change-Id: I86c2901cc8e2172959d8e8c674f0082b7c8f91d9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
8c0a63f9 |
| 27-Mar-2018 |
Matt Spinler <spinler@us.ibm.com> |
Add policy::Table class This class holds the error log policy data defined by IBM's service people. The raw data is stored in a JSON file on the BMC, and loaded into the class on co
Add policy::Table class This class holds the error log policy data defined by IBM's service people. The raw data is stored in a JSON file on the BMC, and loaded into the class on construction. The policy data is a map of error messages (i.e. the xyz.openbmc_project.Foo.Error.Bar strings) to a list of policy details structures. Each details structure has: * a search modifier - used to find the specific details entry for a specific error log message. * a message - a customer facing description of the error * an event ID - an ID defined by IBM that can be used to locate information about the error online. An example of an entry of the JSON data it consumes is: { "dtls":[ { "CEID":"ID 1", "mod":"mod 1", "msg":"Error 1" }, { "CEID":"ID 2", "mod":"mod 2", "msg":"Error 2 " } ], "err":"xyz.openbmc_project.Error.Test1" } A future commit will add the ability to find an entry. Change-Id: I9869c15799914acf9cbc9d91ff714edb6e2512ef Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|