]> git.proxmox.com Git - mirror_ifupdown2.git/commit
ifupdownmain: detect interfaces no longer configured but pick up by regexes
authorJulien Fortin <julien@cumulusnetworks.com>
Tue, 17 Sep 2019 17:56:16 +0000 (19:56 +0200)
committerJulien Fortin <julien@cumulusnetworks.com>
Wed, 18 Sep 2019 10:53:33 +0000 (12:53 +0200)
commit5e30d3b545e8dbee0448b15e336a071b1863bad5
tree2e4bc03b569e2fe692c3d28ae686d5066de6daa1
parent224f1db80d76ff446595e99c545a7b41f834f6a5
ifupdownmain: detect interfaces no longer configured but pick up by regexes

This patch will detect interfaces that were removed from /etc/network/interfaces
but still got pick up by a regex (i.e. bridge-port vni*) and manually remove
those interfaces from internal data-structures (i.e. dependency graph).

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ifupdown2/ifupdown/ifupdownmain.py