]> git.puffer.fish Git - matthieu/frr.git/commit
topotests: fix bgp_vpnv4_noretain
authorLouis Scalbert <louis.scalbert@6wind.com>
Mon, 23 Jan 2023 17:03:58 +0000 (18:03 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Tue, 24 Jan 2023 09:20:19 +0000 (10:20 +0100)
commit6c13bd57440bc06b1a083209ce2af04054f12765
treea3f1c01b8dabcc4819d965dc9d4f5f7043c4e9d6
parentde2e2d5ef09477ff03c17c18eeb1b2cb8da80f84
topotests: fix bgp_vpnv4_noretain

Fix the following issues:
- two tests are done in one function. Dispatch the tests in two
functions to help the test debug.
- the first test passes even if a third prefix is not filtered. Match
the exact to avoid false positive.
- the expected values contains variable like version. Do no check
variable values.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_vpnv4_noretain/r1/ipv4_vpn_routes.json
tests/topotests/bgp_vpnv4_noretain/r1/ipv4_vpn_routes_unfiltered.json
tests/topotests/bgp_vpnv4_noretain/test_bgp_vpnv4_noretain.py