Remove the route settings from system config

The code was setting multiple [Route] from DBus settings and system
config settings.
This causes issue when there are multiple and different route settings.

Remove the config from system config and only respect the settings from
DBus, this makes sure only DBus settings are written to the network
config files.

This change requires the ipmid's update to set gateway to interface
config instead of system config:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/45806

Tested: Verify the BMC gets default gateway in the below case:
        1. BMC gets DHCP IPv6 address and gateway;
        2. The user sets the static IPv6 address and gateway.
        Without this commit, the BMC will have no default gateway
        because of two different gateways are in the network config.

Fixes openbmc/phosphor-networkd#40

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ice1f2c347f86181f534bc4ce426d4e427487477e
1 file changed
tree: e40c81fcc7aa6b88d142f32befa25d5906f90039
  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. README.md
  15. xyz.openbmc_project.Network.conf.in
  16. 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