Call emit_interfaces signal for temporary interfaces

When an interface is removed, all the interfaces on that dbus
object are removed because the object class calls object_removed.
The code will be enhanced to handle the removal of interfaces with
openbmc/openbmc#1975 .

In the mean time, for interfaces that are temporary and removed
in the course of the code update flow, do not call emit_object_added
and call emit_interfaces_added and removed when they are created
and destroyed.

Resolves openbmc/openbmc#1917

Change-Id: Ied3f0b613138a78d2ec45b40924c67d92576b2e2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 32e0ebb47684a1995dd36464dc0caf0f7935130a
  1. m4/
  2. test/
  3. .gitignore
  4. activation.cpp
  5. activation.hpp
  6. bootstrap.sh
  7. configure.ac
  8. generate-squashfs
  9. item_updater.cpp
  10. item_updater.hpp
  11. item_updater_main.cpp
  12. LICENSE
  13. Makefile.am
  14. README.md
  15. version.cpp
  16. version.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`.