]> git.puffer.fish Git - mirror/frr.git/commit
topotest: add bgp_bmp_vrf topotest 17001/head
authorLouis Scalbert <louis.scalbert@6wind.com>
Wed, 28 Feb 2024 13:12:19 +0000 (14:12 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 11 Oct 2024 13:14:57 +0000 (15:14 +0200)
commit7bccb8d3802251cd4b1a4d774335c863a12a689e
tree779c6216e4828a48a03672c681a2c3dba1ad2557
parent0430d6f70ba4807564dee993c4cdc132477341df
topotest: add bgp_bmp_vrf topotest

Add test to check BMP in VRF.

Note that the following configuration works with interface r1-eth0
towards 192.0.2.10 (BMP collector) in the default VRF but not in vrf1.

> router bgp 65501 vrf vrf1
>  bmp targets bmp1
>   bmp connect 192.0.2.10 port 1789 min-retry 100 max-retry 10000

Also, for some reasons, the test works even without "bgpd: bmp loc-rib
peer up/down for vrfs" commit.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_bmp_vrf/__init__.py [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_bmp_vrf/test_bgp_bmp_vrf.py [new file with mode: 0644]