]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Add Notification CEASE BFD Down message 11312/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 30 May 2022 14:40:15 +0000 (17:40 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 2 Jun 2022 13:06:57 +0000 (16:06 +0300)
commitaebe2e379f493d5ca85c50e3c0867e545ad0e290
tree61bd7599c5c4e939c1e7e53e1c3a2eb4f7a44e11
parent8aa3ae6dbbb392d66a56372e2caa44dabc1c0f57
bgpd: Add Notification CEASE BFD Down message

Related: https://datatracker.ietf.org/doc/html/draft-ietf-idr-bfd-subcode

When BFD Down notification comes and BGP is configured to track on BFD events,
send BGP Cease/BFD Down notification to the peer.

If RFC 8538 is enabled (Notification support for Graceful-Restart), notification
should be encapsulated into Hard Reset message.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
13 files changed:
bgpd/bgp_bfd.c
bgpd/bgp_debug.c
bgpd/bgp_packet.c
bgpd/bgpd.h
tests/topotests/bfd_bgp_cbit_topo3/r3/bgpd.conf
tests/topotests/bgp_bfd_down_cease_notification/__init__.py [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/r1/bfdd.conf [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/r2/bfdd.conf [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_bfd_down_cease_notification/test_bgp_bfd_down_cease_notification.py [new file with mode: 0644]