You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
task verify:bmp in the containerlab lab exits with a Python KeyError: 'remote_ip' before it checks any fabric-router session. The lab's fabric routers stream their Loc-RIB to the collector, and GoBMP logs a Peer Up for each Loc-RIB instance peer (RFC 9069) with no remote_ip, because that peer has no remote end. The script's parser indexes remote_ip on every Peer Up/Down record.
Steps to reproduce
Deploy the lab from main with task deploy.
Run task verify:bmp.
What happens
The route reflector's check passes, then the script stops with KeyError: 'remote_ip' from the inline Python in deploy/containerlab/scripts/verify-bmp.sh, and the task fails.
Expected
The script skips Loc-RIB instance peers and checks every fabric-router session.
Fix
Skip Peer Up/Down records that have no remote_ip, or whose is_loc_rib is true, before recording their action. With that one change every check in the task passes on a fresh lab.
Activity
fix(lab): Skip Loc-RIB instance peers' Peer Down in verify:bmp too