]> git.puffer.fish Git - matthieu/frr.git/commit
topotests: raise an error if pinging from vrf is not possible
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 27 May 2022 11:59:34 +0000 (13:59 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 16 Dec 2022 14:07:57 +0000 (15:07 +0100)
commit767199c68368b04652824b64bdd580c4a44303c4
tree4cbd8752c42306c5414bfc96647dd16c29d8a8b1
parent56748da55ffdbdb74242000625f728c8c4a3d59f
topotests: raise an error if pinging from vrf is not possible

Because of the issue described in the above link, pinging from vrf with
the command "ip vrf exec <vrf> ping -I <src> <addr>" may fail.

> root@topo:~# ip vrf exec vrf1 ping -c1 -I 192.168.2.1 192.168.1.1
> bind: Cannot assign requested address

Raise an error if pinging its own IP from a VRF fails. This test should
always work unless in the condition of this issue.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=203483
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_vrf.py
tests/topotests/bgp_vrf_route_leak_basic/test_bgp-vrf-route-leak-basic.py