summaryrefslogtreecommitdiffstats
path: root/tests/topotests/lib/bmp_collector
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2024-02-28 13:50:50 +0100
committerLouis Scalbert <louis.scalbert@6wind.com>2024-10-11 15:14:21 +0200
commit1de5015b09ccf0e7270f73a9876d46f06920bda7 (patch)
tree546ce5a9ecc737f1480317d115ee11af7d2b6624 /tests/topotests/lib/bmp_collector
parentbgpd: bmp loc-rib peer up/down for vrfs (diff)
downloadfrr-1de5015b09ccf0e7270f73a9876d46f06920bda7.tar.xz
frr-1de5015b09ccf0e7270f73a9876d46f06920bda7.zip
topotests: log bmp peer up message type in collector
Log "peer up" message type in BMP collector logs. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'tests/topotests/lib/bmp_collector')
-rw-r--r--tests/topotests/lib/bmp_collector/bmp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/topotests/lib/bmp_collector/bmp.py b/tests/topotests/lib/bmp_collector/bmp.py
index 237decdd5..8815699bf 100644
--- a/tests/topotests/lib/bmp_collector/bmp.py
+++ b/tests/topotests/lib/bmp_collector/bmp.py
@@ -360,6 +360,7 @@ class BMPPeerUpNotification(BMPPerPeerMessage):
msg = {
**peer_msg,
**{
+ "bmp_log_type": "peer up",
"local_ip": bin2str_ipaddress(local_addr, peer_msg.get("ipv6")),
"local_port": int(local_port),
"remote_port": int(remote_port),