]> 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>
Tue, 19 Jun 2018 07:28:06 +0000 (09:28 +0200)
commitc6eadaed6fa11857496b518fba38c90fbee649fc
tree6a261caf9b979fe7f23bf50046ab054106fede9c
parent377a155cfb0da85c8f49df202fb8c38e6b046544
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