mirror_frr/tests/topotests/lib/bmp_collector
Philippe Guibert 7da91a8fb9 topotests: bmp_collector, fix display peer distinguisher IP:AS2B
The peer distinguisher format was badly displayed when a per peer
header is sent with an IP:AS2B format.

>  {"peer_type": "loc-rib instance", "is_filtered": false, "policy": "loc-rib",
> "peer_distinguisher": "None:2", ...

The IP header is incorrectly read. Fix it.

> {"peer_type": "loc-rib instance", "is_filtered": false, "policy": "loc-rib",
> "peer_distinguisher": "3.3.3.5:2", ...

Fixes: 875511c466 ("topotests: add basic bmp collector")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2024-12-30 15:13:38 +01:00
..
bgp topotests: bmp_collector, fix display peer distinguisher IP:AS2B 2024-12-30 15:13:38 +01:00
bmp.py tests: add bmpserver logging 2024-10-24 16:37:23 +02:00
bmpserver.py tests: save bmp pcap in logdir instead of /tmp 2024-12-02 18:44:53 +01:00