summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_bfd.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-09-08 19:03:30 +0200
committervivek <vivek@cumulusnetworks.com>2016-09-08 19:03:30 +0200
commit8c4f63817a1861adf8dba97849c4ef60b17432bc (patch)
tree6b6ad6ba40c99eb1421f87a2bb92cb07d293cb24 /bgpd/bgp_bfd.h
parentlib, bgpd: Log next hops (diff)
downloadfrr-8c4f63817a1861adf8dba97849c4ef60b17432bc.tar.xz
frr-8c4f63817a1861adf8dba97849c4ef60b17432bc.zip
bgpd: Process directly connected IBGP peers upon interface down
When we have a single-hop BFD session for any peering, it really means that the peering is directly connected (maybe over a L2 network), whether it is IBGP or EBGP. In such a case, upon link down, immediately process IBGP peers too (and bring them down), not just EBGP peers. This change eliminates some peculiar state transitions in specific IBGP topologies, thus getting rid of the problem of nexthops remaining inactive in the zebra RIB. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Ticket: CM-12390 Reviewed By: CCR-5156 Testing Done: Manual, bgp-smoke
Diffstat (limited to 'bgpd/bgp_bfd.h')
-rw-r--r--bgpd/bgp_bfd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_bfd.h b/bgpd/bgp_bfd.h
index 4e554af69..e872637e3 100644
--- a/bgpd/bgp_bfd.h
+++ b/bgpd/bgp_bfd.h
@@ -42,4 +42,7 @@ bgp_bfd_peer_config_write(struct vty *vty, struct peer *peer, char *addr);
extern void
bgp_bfd_show_info(struct vty *vty, struct peer *peer, u_char use_json, json_object *json_neigh);
+extern int
+bgp_bfd_is_peer_multihop(struct peer *peer);
+
#endif /* _QUAGGA_BGP_BFD_H */