Host updater: Remove the Object.Delete interface from functional version

This commit enhances the host updater by dynamically removing the
Object.Delete interface from a host activation that is currently
running. Once the host isn't running anymore, the interface is re-added
so that the activation may be deleted.

Additionally, isVersionFunctional() from  the parent updater is exposed,
since this function is needed to determine whether a given activation
is currently running on the host.

Add the Delete interface to all interfaces when the item updater starts
up, because the chassis state would be off initially, and in the case
where it automatically powers on because the BMC rebooted while the host
was on, the chassis property signal would cause the Delete interface to
be removed.

Change-Id: I4afcc1ebe2e8a3ce212b426749295e79b68cac62
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
5 files changed
tree: 9c107158d2afd46e7ee1d0a1ca74185e5a2e3910
  1. m4/
  2. org/
  3. test/
  4. .gitignore
  5. activation.cpp
  6. activation.hpp
  7. bootstrap.sh
  8. configure.ac
  9. generate-squashfs
  10. generate-ubi
  11. item_updater.cpp
  12. item_updater.hpp
  13. item_updater_main.cpp
  14. LICENSE
  15. Makefile.am
  16. README.md
  17. serialize.cpp
  18. serialize.hpp
  19. version.cpp
  20. version.hpp
  21. watch.cpp
  22. watch.hpp
README.md

To Build

To build this package, do the following steps:

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

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