[jump vnet] Workaround MTU set race condition 87/61487/4
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 28 Aug 2018 22:00:26 +0000 (00:00 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 28 Aug 2018 23:26:08 +0000 (01:26 +0200)
commite4095ec00b9deb968bedfb201c0af12a168a3375
tree6f290840e9fd61f113edc3d1c84de9dad9bcc2aa
parent82881d06839023576389cb35db8cbe3d42d9c532
[jump vnet] Workaround MTU set race condition

Older libvirt (1.x, 2.x, even older 3.x) try to enforce their own MTU
(1500), overriding it back to 1500 after the udev rule finished.
Delay link modification with 1 second and extend its patten to also
include libvirt's own tap interfaces (<network name>-nic).

Change-Id: I3050c11de7f376df02cbf203e9106b61c560683f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/scripts/lib.sh