]> git.puffer.fish Git - mirror/frr.git/commit
topotests: bgp_bmp, add a test to check for bgp vrf peer loc-rib message
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Dec 2024 15:31:05 +0000 (16:31 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 30 Dec 2024 14:13:37 +0000 (15:13 +0100)
commiteb570f0a70b769afafa17588ddeaec6679744c02
treeda30be634e8ea12a4740a60583093d95dfb5e57e
parent92f98484d7f2f9086c36f476a1cb8824ef826a06
topotests: bgp_bmp, add a test to check for bgp vrf peer loc-rib message

Add a test where, when the vrf interface is flapping, a peer down and a
peer up message are sent. This test, when used with ASAN, detects the
memory leak of the open_tx and open_rx messages of the loc-rib.

Refresh the method of updating the SEQ value when reading the peer
messages: only update to the last matching SEQ value.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/bgp_bmp/bgpbmp.py
tests/topotests/bgp_bmp/test_bgp_bmp_2.py