Fix the failure of calling GetSubTreePaths to get the path

Since upstream updated sdbusplus (sdbusplus: object: don't use 'bool'
argument constructor), now we can't get the newly added object path
through GetSubTreePaths/GetSubTree, so need to set action::defer_emit
to delay emitting object.

Tested:
busctl call xyz.openbmc_project.Network /xyz/openbmc_project/network xyz.openbmc_project.Network.VLAN.Create VLAN su eth0 100
busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper xyz.openbmc_project.ObjectMapper GetSubTreePaths sias /xyz/openbmc_project/network 0 2 xyz.openbmc_project.Network.VLAN xyz.openbmc_project.Network.EthernetInterface --verbose
MESSAGE "as" {
        ARRAY "s" {
                STRING "/xyz/openbmc_project/network/eth0";
                STRING "/xyz/openbmc_project/network/eth0_100";
                STRING "/xyz/openbmc_project/network/eth1";
        };
};

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia9bb76cb7b4944e25236509667a2706c178e8ab2
1 file changed
tree: 952fb00c129d1308ceae5fc4cb6852f17a5ee39b
  1. docs/
  2. gen/
  3. src/
  4. subprojects/
  5. test/
  6. yaml/
  7. .clang-format
  8. .gitignore
  9. .shellcheck
  10. LICENSE
  11. MAINTAINERS
  12. meson.build
  13. meson_options.txt
  14. OWNERS
  15. README.md
  16. xyz.openbmc_project.Network.conf.in
  17. xyz.openbmc_project.Network.service.in
README.md

To Build

To build this package, do the following steps:

    1. meson build
    2. ninja -C build