]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_mh.h
bgpd: changes for maintaining evpn nexthops and their rmac mapping
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 12 Sep 2020 17:36:01 +0000 (10:36 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Fri, 26 Mar 2021 00:12:50 +0000 (17:12 -0700)
commit090efa2fb70f1821d4a9cf7676b5e870d2b2992c
treecff77f2425b61d807ca81b55ec810c80484269fe
parent60605cbc7815689d6e2f7e9639ad3b5407827900
bgpd: changes for maintaining evpn nexthops and their rmac mapping

In the case of EVPN type-2 routes that use ES as destination, BGP
consolidates the nh (and nh->rmac mapping) and sends it to zebra as
a nexthop add.

This nexthop is the EVPN remote PE and is created by reference of
VRF IPvx unicast paths imported from EVPN Type-2 routes.

zebra uses this nexthop for setting up a remote neigh enty for the PE
and a remote fdb entry for the PE's RMAC.

Ticket: CM-31398

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn_mh.c
bgpd/bgp_evpn_mh.h
bgpd/bgp_evpn_vty.c
bgpd/bgp_memory.c
bgpd/bgp_memory.h
bgpd/bgp_route.h
bgpd/bgpd.h