]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: addressvirtual: vrrp: remove macvlan device when all ipvX addrs are removed
authorJulien Fortin <julien@cumulusnetworks.com>
Wed, 27 Feb 2019 21:40:55 +0000 (22:40 +0100)
committerJulien Fortin <julien@cumulusnetworks.com>
Mon, 22 Apr 2019 02:50:42 +0000 (10:50 +0800)
commitbd451a48465b37659aaeb6f0fe701b8e35d910df
tree389c1a1b4a89d02fc49048b792b07e072a98b0c6
parent43d3655165445fb43863836f68a076eb2c0c33d5
addons: addressvirtual: vrrp: remove macvlan device when all ipvX addrs are removed

For each VRRP configuration we create 2 macvlans (ip4 and ip6), if the ip4
is removed from the config we need to remove the associated macvlan (same
for ip6).

Testing Done: remove all ip4 (or ip6) from vrr attribute line

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