]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: allow routes to be imported if the ES/ES-VRF is not present
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 15 Aug 2020 13:41:31 +0000 (06:41 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Fri, 26 Mar 2021 00:09:53 +0000 (17:09 -0700)
commit36dd45746501ec494ce4d9854e57044c073c18d3
treed089bbf4eb6f4ec325349c45f6c1bfcb1b069772
parent70524092b22ce7b0aa0c23612f7e5a12dbf243bc
bgpd: allow routes to be imported if the ES/ES-VRF is not present

In a sym-IRB setup the remote ES may not be installed if the tenant
VRF is not present locally. To allow that case while retaining the
fast-failover benefits for the case where the tenant VRF is locally
present we use the following approach -
1. If ES is present in the tenant VRF we use the L3NHG for installing
the MAC-IP based tenant route. This allows for efficient failover via
L3NHG updates.
2. If the ES is not present locally in the corresponding tenant VRF we
fall back to a non-NHG multi-path based routing approach. In this
case individual routes are updated when the ES links flap.

PS: #1 can be turned off entirely by disabling use-l3-nhg in BGP.

Ticket: CM-30935

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