diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2019-06-10 17:19:26 -0700 | 
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2019-06-17 15:41:50 -0700 | 
| commit | 48381346d7d8daddfacdcdf1980e35a216957d1e (patch) | |
| tree | 5e48f4cab60455d270832d97f24826e33739683c /bgpd/bgp_mplsvpn.h | |
| parent | 9ecf931b13cfb9a5aa35253acbdfc66bd2346607 (diff) | |
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>
Diffstat (limited to 'bgpd/bgp_mplsvpn.h')
| -rw-r--r-- | bgpd/bgp_mplsvpn.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_mplsvpn.h b/bgpd/bgp_mplsvpn.h index 154eb2be06..3234f7fc9d 100644 --- a/bgpd/bgp_mplsvpn.h +++ b/bgpd/bgp_mplsvpn.h @@ -267,5 +267,6 @@ extern void vpn_leak_postchange_all(void);  extern void vpn_handle_router_id_update(struct bgp *bgp, bool withdraw,  					bool is_config);  extern int bgp_vpn_leak_unimport(struct bgp *from_bgp, struct vty *vty); +extern void bgp_vpn_leak_export(struct bgp *from_bgp);  #endif /* _QUAGGA_BGP_MPLSVPN_H */  | 
