]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: vrl source-vrf route map filter 3827/head
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 15 Feb 2019 02:07:27 +0000 (18:07 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 19 Feb 2019 15:24:19 +0000 (07:24 -0800)
commit1dcc9e5bdb3968c1cc292036158c18138ba3e0f7
treef35c371628c60d75caccaeb1dfa5906fda89f3f4
parentcbcaac3fb1bcb22343e3ca0874eac197a7e34d49
bgpd: vrl source-vrf route map filter

For VRF route leak, enable route map filter based
on "source-vrf" check.

Implemented match filter rule for "source-vrf" which
compares leaked routes original vrf_id (where it leaked from)
during importing into target VRF.

Ticket:CM-23776
Reviewed By:
Testing Done:

Configure vrf route leak from vrf1 to vrf2,
configure import vrf under vrf2 along with route-map
with source-vrf filter.
Add and remove source-vrf filter and checked routes
were added and removed to vrf2 table via vpn (default) table.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_mplsvpn.c
bgpd/bgp_routemap.c
bgpd/subdir.am