diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-06-12 16:59:11 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-06-12 16:59:11 +0200 |
commit | c43ed2e48af8c787a1ebc4b648f844c44032db35 (patch) | |
tree | 24e3abff6f724033ab16418961da91ff1ddd6aee /bgpd/bgp_vty.h | |
parent | Key changes: (diff) | |
download | frr-c43ed2e48af8c787a1ebc4b648f844c44032db35.tar.xz frr-c43ed2e48af8c787a1ebc4b648f844c44032db35.zip |
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>
Diffstat (limited to 'bgpd/bgp_vty.h')
-rw-r--r-- | bgpd/bgp_vty.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.h b/bgpd/bgp_vty.h index 5f8f8163f..2e54ccce0 100644 --- a/bgpd/bgp_vty.h +++ b/bgpd/bgp_vty.h @@ -32,5 +32,8 @@ extern int bgp_config_write_update_delay (struct vty *, struct bgp *); extern int bgp_config_write_wpkt_quanta(struct vty *vty, struct bgp *bgp); extern int bgp_config_write_listen(struct vty *vty, struct bgp *bgp); extern int bgp_config_write_coalesce_time(struct vty *vty, struct bgp *bgp); +extern int bgp_vty_return (struct vty *vty, int ret); +extern struct peer * +peer_and_group_lookup_vty (struct vty *vty, const char *peer_str); #endif /* _QUAGGA_BGP_VTY_H */ |