mirror_frr/bgpd
radhika 3fa113f00c bgpd, zebra: Fix for ignored non-default VRF single-hop BFD status messages in Quagga
Ticket: CM-13425
Reviewed By: Donald, Kanna
Testing Done: Unit, Min tests, PTM Smoke and Nightly, BGP Smoke

Issue: BFD status up/down not reflected in the Quagga for non-default VRF single-hop BFD sessions.

Root Cause: PTM doesn’t keep track of VRF for Single hop BFD sessions since they are interface-based sessions. The status up/down messages to the quagga for single hop sessions do not have VRF information. In zebra daemon, the interface search based on the interface name extracted from the BFD status message is done across all VRFs. So, the search does not fail in zebra daemon. But, the interface search in bgpd/ospd is done per vrf and default VRF is used for search if no VRF is sent in the status message. So, the search fails and the BFD status changes are ignored.

Fix: The VRF information is extracted from the interface if VRF is not sent in the BFD status messages in zebra daemon and passed to bgpd/ospfd. The interface search will not fail since the appropriate VRF is passed to bgpd/ospfd and BFD satus changes are not ignored.

Signed-off-by: Radhika Mahankali <radhika@cumulusnetworks.com>
2017-01-30 13:40:21 -05:00
..
rfapi bgpd rfapi: Shift rfapi receive hooks for vpn and encap safis into 2017-01-24 13:15:06 -05:00
rfp-example bgpd/rfp: ignore rfptest binary 2016-12-08 13:52:21 +01:00
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
BGP4-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00
bgp_advertise.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_advertise.h lib, bgpd: Remove 'struct fifo' from lib/zebra.h 2016-09-16 21:22:30 -04:00
bgp_aspath.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_aspath.h bgpd: add 'neighbor x.x.x.x allowas-in origin' knob 2016-10-21 17:51:05 +00:00
bgp_attr.c bgpd: allow VPN next hop to be different AFI than NLRI next hop (Issue #71) 2017-01-17 14:59:10 -05:00
bgp_attr.h bgp: Use intern/unintern for encap to fix valgrind identified memory leak 2017-01-02 15:05:49 -05:00
bgp_bfd.c bgpd, zebra: Fix for ignored non-default VRF single-hop BFD status messages in Quagga 2017-01-30 13:40:21 -05:00
bgp_bfd.h bgpd: Process directly connected IBGP peers upon interface down 2016-09-08 10:03:30 -07:00
bgp_btoa.c build: rename (1 of ?): configure.ac + preproc 2016-12-20 17:57:47 +01:00
bgp_clist.c bgpd: don't leak memory in community_regexp_include 2016-10-20 20:28:26 -04:00
bgp_clist.h Should be able to "no" the full text of any config line 2015-11-23 18:05:03 +00:00
bgp_community.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
bgp_community.h Key changes: 2015-06-12 07:59:11 -07:00
bgp_damp.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_damp.h bgpd: Display of configured dampening parameters 2016-05-26 15:26:05 +00:00
bgp_debug.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_debug.h bgp debug: restore printing of memstats on exit, now prints if any debug flag set 2016-09-30 12:57:05 -04:00
bgp_dump.c bgpd: fix MRT table dumps for locally-originated routes 2016-10-18 08:39:23 -04:00
bgp_dump.h BGP: Update dump to allow Extended Time Format 2015-11-17 13:32:56 -08:00
bgp_ecommunity.c bgpd: fix ecommunity hash related leak 2017-01-02 15:06:46 -05:00
bgp_ecommunity.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_encap_tlv.c bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_encap_tlv.h bgpd: encap: add attribute handling 2016-06-09 18:36:40 -07:00
bgp_encap_types.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_encap.c bgpd rfapi: Shift rfapi receive hooks for vpn and encap safis into 2017-01-24 13:15:06 -05:00
bgp_encap.h bgpd: make bgp_nlri_parse_encap conform with other nlri_parse funcs 2016-10-26 09:36:08 -04:00
bgp_filter.c *: Consolidate all double VIEW_NODE and ENABLE_NODE's 2016-10-07 21:05:06 -04:00
bgp_filter.h bgpd: bgpd-warnings.patch 2015-05-19 18:12:17 -07:00
bgp_fsm.c bgpd: optimize copy of strings on peer_xfer_conn() 2016-11-28 16:15:27 -02:00
bgp_fsm.h bgpd: fix using of two pointers for struct thread_master * 2015-10-14 06:16:10 -07:00
bgp_main.c bgpd: Add vty_socket cli option to override the compiled-in location for the VTY Socket 2017-01-26 00:41:16 +07:00
bgp_memory.c bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_memory.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_mpath.c bgpd: fix nexthop comparison for nexthop vpnv6 attribute 2017-01-17 12:13:11 +01:00
bgp_mpath.h build: remove $Format tags 2016-12-20 17:54:03 +01:00
bgp_mplsvpn.c bgpd rfapi: Shift rfapi receive hooks for vpn and encap safis into 2017-01-24 13:15:06 -05:00
bgp_mplsvpn.h bgpd: Remove the double-pass parsing of NLRIs 2016-10-26 09:36:09 -04:00
bgp_network.c *: always set SO_SNDBUF and SO_RCVBUF using a best effort approach 2016-12-08 12:50:25 +01:00
bgp_network.h BGP: Fix MD5 authentication for unnumbered neighbors 2015-08-29 16:10:12 -07:00
bgp_nexthop.c bgpd: plug several memleaks 2016-11-28 16:15:27 -02:00
bgp_nexthop.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_nht.c bgpd: reuse sockunion2hostprefix() on bgp_nht.c 2016-11-28 16:15:27 -02:00
bgp_nht.h bgpd: bgp_nexthop_cache not deleted with peers 2016-10-18 08:39:23 -04:00
bgp_open.c *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs 2016-09-19 16:31:04 -04:00
bgp_open.h lib, bgpd: Fixup afi_t to be an enum and cleanup zebra.h 2016-06-06 14:20:24 -07:00
bgp_packet.c bgpd: Squash spurious "unknown afi" log messages 2016-10-26 09:36:09 -04:00
bgp_packet.h bgpd: Regularise bgp_update_receive, add missing notifies and checks 2016-10-26 09:36:08 -04:00
bgp_regex.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_regex.h build: massively remove needless checks 2016-11-15 14:23:17 +09:00
bgp_route.c bgpd rfapi: Shift rfapi receive hooks for vpn and encap safis into 2017-01-24 13:15:06 -05:00
bgp_route.h bgpd: allow VPN next hop to be different AFI than NLRI next hop (Issue #71) 2017-01-17 14:59:10 -05:00
bgp_routemap.c bgpd: remove code contained by ifdef KEEP_OLD_VPNV4_COMMANDS 2017-01-12 08:54:22 -05:00
bgp_snmp.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_snmp.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 12:44:16 +00:00
bgp_table.c lib, bgpd, tests: Refactor FILTER_X in zebra.h 2016-08-16 11:00:22 -04:00
bgp_table.h bgpd: fix build on Solaris 2016-08-24 11:17:55 -04:00
bgp_updgrp_adv.c bgpd: Cleanup double read of free'd data 2016-12-15 21:00:03 -05:00
bgp_updgrp_packet.c bgpd: allow VPN next hop to be different AFI than NLRI next hop (Issue #71) 2017-01-17 14:59:10 -05:00
bgp_updgrp.c lib: replace strlcpy & strlcat with glibc versions 2016-11-15 17:35:36 +09:00
bgp_updgrp.h bgpd: fix build on Solaris 2016-08-24 11:17:55 -04:00
bgp_vnc_types.h bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgp_vty.c bgpd: remove code contained by ifdef KEEP_OLD_VPNV4_COMMANDS 2017-01-12 08:54:22 -05:00
bgp_vty.h bgpd: restore wildcard handling in show summary (Issue#14) 2017-01-11 09:22:08 -05:00
bgp_zebra.c bgpd: plug several memleaks 2016-11-28 16:15:27 -02:00
bgp_zebra.h bgp: ignore NHT when bgpd has never connected to zebra 2016-10-18 08:33:05 -04:00
bgpd.c bgpd: use address-family <afi> <safi> in show running for vpn&encap (Issue #80) 2017-01-17 14:59:10 -05:00
bgpd.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
bgpd.conf.sample2 Initial revision 2002-12-13 20:15:29 +00:00
bgpd.conf.vnc.sample bgpd: add L3/L2VPN Virtual Network Control feature 2016-10-03 08:17:02 -04:00
bgpd.h *: rename two vrf functions 2016-11-28 16:18:35 -02:00
IMPLEMENTATION.txt Adjust size complexity estimates. Still not quite right, but closer. 2005-02-15 17:10:03 +00:00
Makefile.am bgpd/rfapi: Fix missing files in distribution ("make dist") package 2016-11-15 14:07:27 +09:00