]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_zebra.c
zebra, bgpd: Exchange L3 interface for VRF's VNI
authorvivek <vivek@cumulusnetworks.com>
Wed, 27 Feb 2019 11:52:34 +0000 (11:52 +0000)
committervivek <vivek@cumulusnetworks.com>
Wed, 27 Feb 2019 11:52:34 +0000 (11:52 +0000)
commit0483af6e4c6236ae3b9ac412742411499175de80
treedb7b024755a6ce922c93a274a91b86603899d12a
parentcacbdfb14ded71e6c36c97a570d30b89c851b2fe
zebra, bgpd: Exchange L3 interface for VRF's VNI

In the case of EVPN symmetric routing, the tenant VRF is associated with
a VNI that is used for routing and commonly referred to as the L3 VNI or
VRF VNI. Corresponding to this VNI is a VLAN and its associated L3 (IP)
interface (SVI). Overlay next hops (i.e., next hops for routes in the
tenant VRF) are reachable over this interface.

https://tools.ietf.org/html/draft-ietf-bess-evpn-prefix-advertisement
section 4.4 provides additional description of the above constructs.

The implementation currently derives this L3 interface for EVPN tenant
routes using special code that looks at route flags. This patch
exchanges the L3 interface between zebra and bgpd as part of the L3-VNI
exchange in order to eliminate some this special code.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_zebra.c
bgpd/bgpd.h
zebra/zebra_vxlan.c