History log of /openbmc/ibm-logging/policy_find.cpp (Results 1 – 13 of 13)
Revision Date Author Comments
# 6a2b8956 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I6083e412d8356a97b5213a138f370bfeb43a69b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# bf9ea8ad 06-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If8dcf70005aebd4ca633b91d6f96badf4a5cd326


# b5af3a3f 13-May-2020 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib20d8676d474bcb020a5ffababd77d901360d192


# f5866e70 12-Nov-2018 William A. Kennington III <wak@google.com>

Fixup std::variant usage

This change refactors mapbox::variant specific usage onto an API that
mapbox::variant and std::variant both support.

Tested:
Run through unit te

Fixup std::variant usage

This change refactors mapbox::variant specific usage onto an API that
mapbox::variant and std::variant both support.

Tested:
Run through unit tests.

Change-Id: Ic35953b4772398495129830ed0d4455409f844ea
Signed-off-by: William A. Kennington III <wak@google.com>

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


# 3e71c977 04-Jun-2018 Matt Spinler <spinler@us.ibm.com>

Merge "Use s.c_str() in log messages"


# 53530265 17-May-2018 Joseph Reynolds <jrey@us.ibm.com>

Use s.c_str() in log messages

Partly Resolves openbmc/openbmc 2905

Tested: static_assert only

Change-Id: I9a97938e62ba4c285ef1f4fae36012e26f2e5170
Signed-off-by: Joseph

Use s.c_str() in log messages

Partly Resolves openbmc/openbmc 2905

Tested: static_assert only

Change-Id: I9a97938e62ba4c285ef1f4fae36012e26f2e5170
Signed-off-by: Joseph Reynolds <jrey@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 ...


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

Find the search modifier to use

The search modifier comes from the AdditionalData
property. The modifier can come from a different
entry in that property depending on the error.

Find the search modifier to use

The search modifier comes from the AdditionalData
property. The modifier can come from a different
entry in that property depending on the error.

For example, it may be a device path, or an inventory
item path, or a hostboot procedure ID.

Try each option until one is found. That's probably OK
if one isn't found as some policy entries don't need a
modifier, but there's no way to know ahead of time.

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

show more ...


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

Use a policy search modifier to find a table entry

Pull the error message out of the property map, and
then use it plus a search modifier to find an entry
in the policy table.

Use a policy search modifier to find a table entry

Pull the error message out of the property map, and
then use it plus a search modifier to find an entry
in the policy table.

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

show more ...


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

Find a policy entry and create the Policy object

Find an entry in the policy table based on the error
log entry's properties, and create and save the
sdbusplus object for it.

Find a policy entry and create the Policy object

Find an entry in the policy table based on the error
log entry's properties, and create and save the
sdbusplus object for it.

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

show more ...