]> git.puffer.fish Git - matthieu/frr.git/commit
tests: add topotest for PG remote-as add del
authorChirag Shah <chirag@nvidia.com>
Sat, 30 Mar 2024 01:13:47 +0000 (18:13 -0700)
committerChirag Shah <chirag@nvidia.com>
Mon, 1 Apr 2024 17:29:46 +0000 (10:29 -0700)
commitede6e911b073f0a9aaf756c343c5b9396215a0cc
tree4e7bcc8b5d74be36d10a957a667408a957eafbe0
parent3a9c16ae4a9e38dfedd8fcb55f0d7270f02cdc18
tests: add topotest for PG remote-as add del

This topotest covers the PR-15574's coverage
where a change is not to delete neighbors when
the associated peer-group's remote-as is removed.

Ticket: #3828243
Testing:

test_bgp_peer-group.py::test_bgp_peer_group

---------------------------------------------------------------------------- live log call -----------------------------------------------------------------------------
2024-03-29 18:12:22,608 INFO: r1: checking if daemons are running
2024-03-29 18:12:22,802 INFO: r2: checking if daemons are running
2024-03-29 18:12:22,911 INFO: r3: checking if daemons are running
2024-03-29 18:12:23,015 INFO: topo: Remove bgp peer-group PG1 remote-as neighbor should be retained
2024-03-29 18:12:25,605 INFO: topo: Re-add bgp peer-group PG1 remote-as neighbor should be established

----------------------------------------------------------- generated xml file: /tmp/topotests/topotests.xml -----------------------------------------------------------
========================================================================== 2 passed in 17.63s ==========================================================================

Signed-off-by: Chirag Shah <chirag@nvidia.com>
tests/topotests/bgp_peer_group/r1/bgpd.conf
tests/topotests/bgp_peer_group/r1/zebra.conf
tests/topotests/bgp_peer_group/r2/bgpd.conf
tests/topotests/bgp_peer_group/r2/zebra.conf
tests/topotests/bgp_peer_group/test_bgp_peer-group.py