]> git.puffer.fish Git - mirror/frr.git/commit
tests: rework bgp_bmp_vrf
authorLouis Scalbert <louis.scalbert@6wind.com>
Thu, 24 Oct 2024 14:16:19 +0000 (16:16 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 25 Oct 2024 12:17:17 +0000 (14:17 +0200)
commit19a66214246e76cf9404dd7f7036c5b7ac1af2f3
tree27fa835a4c954d474aaafd3d8ce11cb2c02e725f
parent44c6f579c34d65dfc9c2041753c1dc7494af63f4
tests: rework bgp_bmp_vrf

The BGP BMP VRF topotest is difficult to debug. It does not say which
prefix is not received by BGP or BMP when it fails.

Rework the test to convert the actual BMP logs to JSON and compare the
BGP table and BMP server logs output to expected reference JSON files.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_bmp_vrf/bmp1/bmp-update-loc-rib-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/bmp1/bmp-update-post-policy-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/bmp1/bmp-update-pre-policy-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/bmp1/bmp-withdraw-loc-rib-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/bmp1/bmp-withdraw-post-policy-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/bmp1/bmp-withdraw-pre-policy-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r1/show-bgp-ipv4-update-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r1/show-bgp-ipv4-withdraw-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r1/show-bgp-ipv6-update-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r1/show-bgp-ipv6-withdraw-step1.json [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/test_bgp_bmp_vrf.py