]> git.proxmox.com Git - mirror_ifupdown2.git/commit
addons: addressvirtual: if system supports addr METRIC set skip route hack
authorJulien Fortin <julien@cumulusnetworks.com>
Mon, 18 Jun 2018 17:24:12 +0000 (19:24 +0200)
committerJulien Fortin <julien@cumulusnetworks.com>
Thu, 13 Dec 2018 22:42:35 +0000 (14:42 -0800)
commit20e547e79542171c87cdc135e87e25e21a10f40b
treed0e1c5471e0a88ba7e51c864510ccf127aa7a261
parent7b711dc521589b5076dff332f27f00b2f02c1463
addons: addressvirtual: if system supports addr METRIC set skip route hack

Now that some system support ip addr METRIC sets we dont have to do this
"fix_connected_route" hack. The hack was previously introduced to make
sure the primary address was the first in the routing table. Some events
could cause some issues like having the macvlan address first in the
routing table. In that case the macvlan needs to be flapped. This shouldn't
happen when we are able to set the address metric

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