]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: Implement graceful-shutdown command per neighbor
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 15 Nov 2022 13:04:23 +0000 (15:04 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 16 Nov 2022 19:42:21 +0000 (21:42 +0200)
commit4f770cf1d237615e1c09c7a22906baaafbd2f680
tree1056d46a8dd392422fdcbe506223da39d63d9723
parentb36156760bc1cf64c1643412b475bbb8af292411
bgpd: Implement graceful-shutdown command per neighbor

We already have a global knob for graceful-shutdown, but it's handy having
per neighbor knob as well.

Especially when a single neighbor needs to be restarted/shutdown gracefuly.

We can do this route-maps, but this is a faster/cleaner way doing the same
for an operator.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
13 files changed:
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h
doc/user/bgp.rst
tests/topotests/bgp_peer_graceful_shutdown/__init__.py [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/r3/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/r3/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_peer_graceful_shutdown/test_bgp_peer_graceful_shutdown.py [new file with mode: 0644]