]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nht.c
bgpd: Import received EVPN RT-5 prefix with gateway IP in BGP VRF
authorAmeya Dharkar <adharkar@vmware.com>
Mon, 11 Jan 2021 06:32:41 +0000 (22:32 -0800)
committerAmeya Dharkar <adharkar@vmware.com>
Tue, 8 Jun 2021 00:58:22 +0000 (17:58 -0700)
commita2299abae82c41ea7aaa303dde91bfceee1a88b3
treed4a66976262056d28543193abc0e447f6d91c06e
parent66ff60895ade27c0209444c58a2070a5cdbb385e
bgpd: Import received EVPN RT-5 prefix with gateway IP in BGP VRF

The IP/IPv6 prefix carried with EVPN RT-5 is imported in the BGP vrf according
to the attached route targets.
If the prefix carries a gateway IP overlay index, this gateway IP should be
installed as the nexthop of the route imported in the BGP vrf.
This route in vrf will be marked as VALID only if the nexthop is resolved in the
SVI network.
To receive runtime reachability information for the nexthop, register it with
the nexthop tracking module.
Send this route to zebra after processing.

Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
bgpd/bgp_evpn.c
bgpd/bgp_nht.c
bgpd/bgp_zebra.c