Add Callout class

This class will be used to put a hardware callout object
on D-Bus that shows the serial number and part number information
for what is being called out in an error log.

It will remain even after that part is replaced with a new part with
a new SN, so the data needs to be persisted as opposed to being
looked up in the inventory on startup.  The persisting will be
done in a future commit.  Note it will also survive an error log
being resolved, which would delete the inventory assocation interface
on the error log.

The object path of the callout objects will look something like
/xyz/openbmc_project/logging/entry/5/callouts/0, where this would be
the first callout on error log 5.

Tested: N/A - not used yet

Change-Id: I7e2f0c61705880ad70d5f6a49209f73a499785b9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
4 files changed
tree: de72c6c55a3e29bf2da5d6c20283be11c5c55cdd
  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`.