History log of /openbmc/ibm-logging/test/test_policy.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 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 error
extracted fro

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
Signed-off-by: Matt Spinler

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 Spinler <spinler@us.ibm.co

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 ...


# 62011e26 27-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Add unit tests for policy::find()

Test that everything works when passing in a property
map that contains an error message and the additional
data. This exercises the code that finds a search
modif

Add unit tests for policy::find()

Test that everything works when passing in a property
map that contains an error message and the additional
data. This exercises the code that finds a search
modifier.

Change-Id: If3abcea41aa1f98b97262f1e8a0483e1772e9842
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...


# b96fa321 27-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Add unit tests for the policy table

Change-Id: I60ec83dfb3c4a65d20502d4680501a55ed6f0278
Signed-off-by: Matt Spinler <spinler@us.ibm.com>