]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_bfd.c
This patch changes BGP from only listening mode for BFD status updates to interactive...
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 12 Jun 2015 14:59:11 +0000 (07:59 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 12 Jun 2015 14:59:11 +0000 (07:59 -0700)
commitc43ed2e48af8c787a1ebc4b648f844c44032db35
tree24e3abff6f724033ab16418961da91ff1ddd6aee
parentf1aa5d8ac823969694430feec02594c6851e596a
This patch changes BGP from only listening mode for BFD status updates to interactive mode of dynamically registering/deregistering BFD enabled peers with PTM/BFD through zebra. Peer is registered with BFD when it goes into established state and de-registers when it goes out of establish state.

This patch also adds BFD multihop support for BGP. Whether a peer is multi-hop or single hop is determined internally. All IGP peers are considered as multi-hop peers. EBGP peers are considered as single hop unless configured as multi-hop.

BGP BFD command enhancement to configure BFD parameters (detect multiplier, min rx and min tx).

router bgp <as-number>
  neighbor <name/ip-address> bfd <detect mult> <min rx> <min tx>

Signed-off-by: Radhika Mahankali <radhika@cumulusnetworks.com>
Reviewed-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
Reviewed-by: Vipin Kumar <vipin@cumulusnetworks.com>
Reviewed-by: Kanna Rajagopal <kanna@cumulusnetworks.com>
33 files changed:
bgpd/Makefile.am
bgpd/bgp_bfd.c [new file with mode: 0644]
bgpd/bgp_bfd.h [new file with mode: 0644]
bgpd/bgp_fsm.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgp_zebra.c
bgpd/bgpd.c
bgpd/bgpd.h
lib/Makefile.am
lib/csv.c [new file with mode: 0644]
lib/csv.h [new file with mode: 0644]
lib/log.c
lib/memtypes.c
lib/ptm_lib.c [new file with mode: 0644]
lib/ptm_lib.h [new file with mode: 0644]
lib/zclient.c
lib/zclient.h
lib/zebra.h
ospfd/ospf_zebra.c
zebra/Makefile.am
zebra/interface.c
zebra/interface.h
zebra/redistribute.c
zebra/redistribute.h
zebra/redistribute_null.c
zebra/zebra_ptm.c
zebra/zebra_ptm.h
zebra/zebra_ptm_null.c [new file with mode: 0644]
zebra/zebra_ptm_redistribute.c [new file with mode: 0644]
zebra/zebra_ptm_redistribute.h [new file with mode: 0644]
zebra/zserv.c
zebra/zserv.h