mirror_frr/bgpd
Abhinay Ramesh de7cee09eb bgpd: vrf route leaking, fix vpn router id update
Description:
Route leaking from default vrf to non-default vrf stops after frr restart.

If the interface comes up after route leaking is configured,
in the case of vpn router id update, we delete the ecommunity value
and never reconfigure the rtlist.
This results in skipping route leak to non-default vrfs (vpn to vrf).

Router-id change that is not explicitly configured
(a change from zebra, frr restart) should not replace a configured vpn RD/RT.
Added few helpful debugs as well.

Co-authored-by: Santosh P K <sapk@vmware.com>
Co-authored-by: Kantesh Mundaragi <kmundaragi@vmware.com>
Signed-off-by: Abhinay Ramesh <rabhinay@vmware.com>
2021-04-07 09:57:08 +00:00
..
rfapi *: require semicolon after DEFINE_QOBJ & co. 2021-03-17 06:18:37 +01:00
rfp-example
.gitignore
bgp_addpath_types.h
bgp_addpath.c bgpd, lib, staticd, tests: Convert to using FOREACH_AFI_SAFI 2020-11-14 18:53:03 -05:00
bgp_addpath.h
bgp_advertise.c
bgp_advertise.h *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
bgp_aspath.c
bgp_aspath.h bgpd: Replace 65535 with UINT16_MAX 2021-02-02 15:31:12 +02:00
bgp_attr_evpn.c bgpd: Use uint32_t for size value instead of int in ecommunity struct 2021-01-18 09:06:49 -05:00
bgp_attr_evpn.h bgpd: support for DF election in EVPN-MH 2020-10-26 10:26:21 -07:00
bgp_attr.c bgpd: Convert remaining string output to our internal types 2021-03-09 19:50:42 -05:00
bgp_attr.h bgpd: re-eval use-l3nhg when a remote ES is [de]activated in a VRF 2021-03-25 17:09:53 -07:00
bgp_bfd.c bgpd: improve BFD with timers configuration 2021-03-23 12:40:11 -03:00
bgp_bfd.h bgpd: improve BFD with timers configuration 2021-03-23 12:40:11 -03:00
bgp_bmp.c *: require semicolon after FRR_DAEMON_INFO & co. 2021-03-17 06:18:39 +01:00
bgp_bmp.h *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
bgp_btoa.c bgpd: Convert inet_ntoa to %pI4/inet_ntop 2020-10-18 11:22:30 +03:00
bgp_clist.c bgpd: Remove community_regexp_delete() function 2021-01-21 16:00:53 +02:00
bgp_clist.h bgpd: separate lcommunity validation from tokenizer 2021-01-06 07:18:20 -05:00
bgp_community.c bgpd: Set NO_ADVERTISE community if blackhole community received 2021-01-21 16:00:53 +02:00
bgp_community.h bgpd: Set NO_ADVERTISE community if blackhole community received 2021-01-21 16:00:53 +02:00
bgp_conditional_adv.c bgpd: Remove awful test of strmatch + get_afi_safi_str 2020-12-17 16:49:20 -05:00
bgp_conditional_adv.h bgpd: conditional advertisement - copyright 2020-10-27 16:15:36 +05:30
bgp_damp.c bgpd: clear ip bgp dampening was not triggering the route calculation for the prefix 2021-02-02 03:16:04 -08:00
bgp_damp.h bgpd: clear ip bgp dampening was not triggering the route calculation for the prefix 2021-02-02 03:16:04 -08:00
bgp_debug.c bgpd: add debug option for BFD 2021-03-23 12:40:10 -03:00
bgp_debug.h bgpd: add debug option for BFD 2021-03-23 12:40:10 -03:00
bgp_dump.c bgpd: Add Support for rfc 8050 MRT add-path 2021-02-11 16:51:41 -08:00
bgp_dump.h bgpd: Add Support for rfc 8050 MRT add-path 2021-02-11 16:51:41 -08:00
bgp_ecommunity.c bgpd: vrf route leaking, fix vpn router id update 2021-04-07 09:57:08 +00:00
bgp_ecommunity.h bgpd: expose ecommunity string length 2021-02-02 09:37:13 +00:00
bgp_encap_tlv.c
bgp_encap_tlv.h
bgp_encap_types.h
bgp_errors.c bgpd: Advertise FIB installed routes to bgp peers (Part 2) 2020-11-06 08:46:04 +05:30
bgp_errors.h bgpd: Advertise FIB installed routes to bgp peers (Part 2) 2020-11-06 08:46:04 +05:30
bgp_evpn_mh.c bgpd: cleanup prefix2str usage 2021-03-25 19:24:39 -07:00
bgp_evpn_mh.h bgpd: handle local ES del or transition to LACP bypass 2021-03-25 19:24:39 -07:00
bgp_evpn_private.h bgpd: handle local ES del or transition to LACP bypass 2021-03-25 19:24:39 -07:00
bgp_evpn_vty.c bgpd: Add 'rd all' keyword to EVPN/L3VPN show cmds 2021-04-01 01:35:29 +00:00
bgp_evpn_vty.h bgpd: numerical evpn type support to debug commands 2020-10-13 16:13:16 -04:00
bgp_evpn.c bgpd: handle local ES del or transition to LACP bypass 2021-03-25 19:24:39 -07:00
bgp_evpn.h bgpd: handle local ES del or transition to LACP bypass 2021-03-25 19:24:39 -07:00
bgp_filter.c bgpd: add seqno in bgp as-path access-list policy 2021-03-17 22:06:53 -07:00
bgp_filter.h bgpd: add seqno in bgp as-path access-list policy 2021-03-17 22:06:53 -07:00
bgp_flowspec_private.h
bgp_flowspec_util.c *: remove tabs & newlines from log messages 2021-02-14 15:36:51 +01:00
bgp_flowspec_util.h
bgp_flowspec_vty.c *: Replace s_addr check agains 0 with INADDR_ANY 2020-12-14 21:03:38 +02:00
bgp_flowspec.c
bgp_flowspec.h
bgp_fsm.c bgpd: rework BFD integration 2021-03-23 12:40:10 -03:00
bgp_fsm.h *: require semicolon after DEFINE_HOOK & co. 2021-03-17 06:18:17 +01:00
bgp_io.c bgpd: use add_event instead of add_timer with zero timeout 2021-03-17 16:10:13 -04:00
bgp_io.h
bgp_keepalives.c
bgp_keepalives.h
bgp_label.c bgpd: Convert remaining string output to our internal types 2021-03-09 19:50:42 -05:00
bgp_label.h
bgp_labelpool.c *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
bgp_labelpool.h *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
bgp_lcommunity.c bgpd: separate lcommunity validation from tokenizer 2021-01-06 07:18:20 -05:00
bgp_lcommunity.h bgpd: separate lcommunity validation from tokenizer 2021-01-06 07:18:20 -05:00
bgp_mac.c bgpd: Convert attr->evpn_overlay to accessor functions 2020-11-15 09:49:14 -05:00
bgp_mac.h
bgp_main.c bgpd: North-bound implementation for bgp rmaps 2021-03-30 22:59:30 +03:00
bgp_memory.c bgpd: changes for maintaining evpn nexthops and their rmac mapping 2021-03-25 17:12:50 -07:00
bgp_memory.h bgpd: changes for maintaining evpn nexthops and their rmac mapping 2021-03-25 17:12:50 -07:00
bgp_mpath.c bgpd: Convert remaining string output to our internal types 2021-03-09 19:50:42 -05:00
bgp_mpath.h
bgp_mplsvpn_snmp.c lib, bgpd: add a specific oid_copy function for IPv6 addrs 2021-03-25 15:24:50 +00:00
bgp_mplsvpn_snmp.h bgpd: implement mplsL3VpnVrfRtTable 2021-02-02 09:37:13 +00:00
bgp_mplsvpn.c bgpd: vrf route leaking, fix vpn router id update 2021-04-07 09:57:08 +00:00
bgp_mplsvpn.h bgpd: add utility to check if a vrf is MPLS VPN 2021-02-02 09:37:05 +00:00
bgp_nb_config.c bgpd: vrf route leaking, fix the bgp instance delete and re-add 2021-04-07 06:09:42 +00:00
bgp_nb.c bgpd: convert l2vpn evpn nbr route-map to nb 2021-03-25 21:52:30 -07:00
bgp_nb.h bgpd: convert l2vpn evpn nbr route-map to nb 2021-03-25 21:52:30 -07:00
bgp_network.c Merge pull request #8120 from ton31337/feature/bgp_ipv6_default_activated 2021-03-23 09:36:43 -04:00
bgp_network.h
bgp_nexthop.c bgpd: Switch LL nexthop tracking to be interface based 2021-02-17 08:14:45 -05:00
bgp_nexthop.h bgpd: Switch LL nexthop tracking to be interface based 2021-02-17 08:14:45 -05:00
bgp_nht.c bgpd: Reset LLA NHT's interface if there is a change 2021-03-22 08:45:41 -04:00
bgp_nht.h bgpd: Switch LL nexthop tracking to be interface based 2021-02-17 08:14:45 -05:00
bgp_open.c bgpd: Add BGP Extended message support 2021-03-04 21:32:36 +02:00
bgp_open.h bgpd: Add BGP Extended message support 2021-03-04 21:32:36 +02:00
bgp_packet.c Merge pull request #8121 from opensourcerouting/macro-cleanup 2021-03-22 11:00:34 +02:00
bgp_packet.h *: require semicolon after DEFINE_HOOK & co. 2021-03-17 06:18:17 +01:00
bgp_pbr.c *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
bgp_pbr.h
bgp_rd.c bgpd: Convert inet_ntoa to %pI4/inet_ntop 2020-10-18 11:22:30 +03:00
bgp_rd.h
bgp_regex.c
bgp_regex.h
bgp_route.c bgpd: fix old vpn command compilation failures 2021-04-01 01:36:02 +00:00
bgp_route.h bgpd: Add rpki filter to some more show commands 2021-03-26 08:23:33 -04:00
bgp_routemap_nb_config.c bgpd: North-bound implementation for bgp rmaps 2021-03-30 22:59:30 +03:00
bgp_routemap_nb.c bgpd: North-bound implementation for bgp rmaps 2021-03-30 22:59:30 +03:00
bgp_routemap_nb.h bgpd: North-bound implementation for bgp rmaps 2021-03-30 22:59:30 +03:00
bgp_routemap.c bgpd: fix old vpn command compilation failures 2021-04-01 01:36:02 +00:00
bgp_rpki.c bgpd: fix build warnings 2021-04-01 13:32:11 +03:00
bgp_rpki.h bgpd: Convert RPKI states to an enum and use them 2021-03-26 08:23:33 -04:00
bgp_script.c build: HAVE_LUA -> HAVE_SCRIPTING 2020-12-01 18:37:14 -05:00
bgp_script.h build: HAVE_LUA -> HAVE_SCRIPTING 2020-12-01 18:37:14 -05:00
bgp_snmp.c lib, bgpd: add a specific oid_copy function for IPv6 addrs 2021-03-25 15:24:50 +00:00
bgp_table.c lib: put printfrr extension args into struct 2021-03-30 22:32:55 +02:00
bgp_table.h bgpd: refactor label allocation code 2021-01-04 14:29:44 +00:00
bgp_trace.c bgpd: add basic packet-related tracepoints 2020-10-23 15:13:51 -04:00
bgp_trace.h bgpd: add tracepoints for BMP 2021-02-11 19:55:05 -05:00
bgp_updgrp_adv.c bgpd: Centralize the dest unlocking for adj_out data structure 2021-02-01 10:25:09 -05:00
bgp_updgrp_packet.c bgpd: Convert remaining string output to our internal types 2021-03-09 19:50:42 -05:00
bgp_updgrp.c bgpd: Add BGP Extended message support 2021-03-04 21:32:36 +02:00
bgp_updgrp.h bgpd: Remove #if 0 code 2021-01-28 13:57:49 -05:00
bgp_vnc_types.h
bgp_vpn.c bgpd: Convert inet_ntoa to %pI4/inet_ntop 2020-10-18 11:22:30 +03:00
bgp_vpn.h
bgp_vty.c bgpd: increase the maximum number of neighbors 2021-04-02 09:01:02 +02:00
bgp_vty.h bgpd: Activate ipv6-unicast for peer automatically if globally defined 2021-02-28 19:49:43 +02:00
bgp_zebra.c bgpd: vrf route leaking, fix vrf redistribute 2021-04-07 06:09:42 +00:00
bgp_zebra.h bgpd: set/unset bgpd no-rib option at runtime 2020-09-02 18:20:08 +02:00
bgpd.c bgpd: vrf route leaking, fix the bgp instance delete and re-add 2021-04-07 06:09:42 +00:00
bgpd.conf.sample
bgpd.conf.sample2
bgpd.conf.vnc.sample
bgpd.h bgpd: vrf route leaking, fix the bgp instance delete and re-add 2021-04-07 06:09:42 +00:00
IMPLEMENTATION.txt
Makefile
subdir.am bgpd: North-bound implementation for bgp rmaps 2021-03-30 22:59:30 +03:00
valgrind.supp