Use different code paths for create and restore

There are 2 slightly different code paths for when
the code starts up and creates error log objects via
a GetManagedObjects call versus when it creates a single
new object on an InterfacesAdded callback.

The latter case involves creating all new interface
objects for an error log entry.  The former case involves
creating brand new interface objects for the interfaces
that did not need to be persisted, and restoring the data
for the objects that did.

Tested: Run through both code paths

Change-Id: I4e05324f315153a501271499a50ea00b3e5808c0
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed
tree: 3362c371385688404b7e15fc6fb41c869e6d4ada
  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`.