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>
4 files changed
tree: 24ed08fec73dc00606670e6500ac25d86f806553
  1. test/
  2. .clang-format
  3. .gitignore
  4. bootstrap.sh
  5. callout.cpp
  6. callout.hpp
  7. condense_policy.py
  8. configure.ac
  9. create_error_reports.py
  10. dbus.cpp
  11. dbus.hpp
  12. interfaces.hpp
  13. LICENSE
  14. main.cpp
  15. MAINTAINERS
  16. Makefile.am
  17. manager.cpp
  18. manager.hpp
  19. policy_find.cpp
  20. policy_find.hpp
  21. policy_table.cpp
  22. policy_table.hpp
  23. README.md
README.md

Provides IBM specific error logging functionality.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.