]> git.proxmox.com Git - mirror_frr.git/commit - bfdd/bfd.h
bfdd: Handling local and remote admin-down
authorSumitAgarwal123 <sumit.agarwal@broadcom.com>
Mon, 21 Oct 2019 05:53:01 +0000 (22:53 -0700)
committerSumitAgarwal123 <sumit.agarwal@broadcom.com>
Tue, 29 Oct 2019 04:38:20 +0000 (21:38 -0700)
commit7555dc6116a4fc51631b2c26ecb5b63a5c574674
tree693a001e27c1ec35343891694d7e514bc6d2a2bf
parent957ef1c93abd4f6a0abc8ee20b0c46effb02c023
bfdd: Handling local and remote admin-down

Scenarios where this code change is required:

1. BFD is un-configured from BGP at remote end.

Neighbour BFD sends ADMIN_DOWN state, but BFD on local side will send
DOWN to BGP, resulting in BGP session DOWN.
Removing BFD session administratively shouldn't bring DOWN BGP session
at local or remote.

2. BFD is un-configured from BGP or shutdown locally.

BFD will send state DOWN to BGP resulting in BGP session DOWN.
(This is akin to saying do not use BFD for BGP)
Removing BFD session administratively shouldn't bring DOWN BGP session at
local or remote.

Signed-off-by: Sayed Mohd Saquib sayed.saquib@broadcom.com
12 files changed:
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfdd_northbound.c
bfdd/control.c
bfdd/ptm_adapter.c
bgpd/bgp_bfd.c
isisd/isis_bfd.c
lib/bfd.c
lib/bfd.h
ospf6d/ospf6_bfd.c
ospfd/ospf_bfd.c
pimd/pim_bfd.c