summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2024-12-19 08:36:12 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2025-01-07 15:35:31 +0100
commitab31e964e467c9905f9e9475cd36c4c25b633149 (patch)
tree4bbb42b0c5a2dc012b41531ef3a777fc7d8d110d /tests
parentbgpd: modify bmp_bgp_update_vrf_status() API (diff)
downloadfrr-ab31e964e467c9905f9e9475cd36c4c25b633149.tar.xz
frr-ab31e964e467c9905f9e9475cd36c4c25b633149.zip
bgpd, topotests: bmp, add loc-rib peer up event for imported bgp
Add the emission of a loc-rib peer up event for an imported bgp instance at import-vrf configuration. Add a test to control in the BMP collector that the peer up message is the one from that BGP instance. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/bgp_bmp/test_bgp_bmp_3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/topotests/bgp_bmp/test_bgp_bmp_3.py b/tests/topotests/bgp_bmp/test_bgp_bmp_3.py
index 0d2bf181b..088f4cb45 100644
--- a/tests/topotests/bgp_bmp/test_bgp_bmp_3.py
+++ b/tests/topotests/bgp_bmp/test_bgp_bmp_3.py
@@ -222,6 +222,7 @@ def test_peer_up():
"peer up",
tgen.gears["bmp1import"],
os.path.join(tgen.logdir, "bmp1import", "bmp.log"),
+ is_rd_instance=True,
)
success, _ = topotest.run_and_expect(test_func, True, count=30, wait=1)
assert success, "Checking the updated prefixes has been failed !."