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 /zebra/zebra_ptm_null.c | |
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 'zebra/zebra_ptm_null.c')
-rw-r--r-- | zebra/zebra_ptm_null.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/zebra/zebra_ptm_null.c b/zebra/zebra_ptm_null.c new file mode 100644 index 000000000..a9e233376 --- /dev/null +++ b/zebra/zebra_ptm_null.c @@ -0,0 +1,29 @@ +/** + * @copyright Copyright (C) 2015 Cumulus Networks, Inc. + * + * This file is part of GNU Zebra. + * + * GNU Zebra is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2, or (at your option) any + * later version. + * + * GNU Zebra is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Zebra; see the file COPYING. If not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ +#include <zebra.h> +#include "prefix.h" + +void zebra_interface_bfd_update (struct interface *a, struct prefix *dp, + struct prefix *sp) +{ return; } + +void zebra_bfd_peer_replay_req (void) +{ return; } |