]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: router bgp export leaked vpn routes
authorChirag Shah <chirag@cumulusnetworks.com>
Tue, 11 Jun 2019 00:19:26 +0000 (17:19 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Mon, 17 Jun 2019 22:41:50 +0000 (15:41 -0700)
commit48381346d7d8daddfacdcdf1980e35a216957d1e
tree5e48f4cab60455d270832d97f24826e33739683c
parent9ecf931b13cfb9a5aa35253acbdfc66bd2346607
bgpd: router bgp export leaked vpn routes

two bgp vrf instance has vrf route leak configured,
when a source vrf x is deleted, its leaked routes are cleaned
up from the destination and vpn table.

With this change when a source bgp instance is reconfigured,
export its routes back to destination vrfs where it is configured
as leak.

Ticket:CM-20534 CM-24484
Reviewed By:
Testing Done:

configure vrf leak between two vrf intances,
delete and readd source vrf and checked its routes
exported to vpn table and leaked vrfs table.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_vty.c