summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_evpn_mh.h
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-09-14 15:35:45 +0200
committerAnuradha Karuppiah <anuradhak@nvidia.com>2021-03-26 01:09:53 +0100
commit7bfa7d0233d6ba4c33aead8a576e21b03951aa64 (patch)
treeeaec678b30bb6cee1fefb9a9b18ef5c6a459c446 /zebra/zebra_evpn_mh.h
parentbgpd: Disable L3NHG support for routes leaked from another VRF (diff)
downloadfrr-7bfa7d0233d6ba4c33aead8a576e21b03951aa64.tar.xz
frr-7bfa7d0233d6ba4c33aead8a576e21b03951aa64.zip
lib/zebra: zapi for installing EVPN nexthops from bgp
EVPN nexthops are installed as remote neighs by zebra. This was earlier done only via VRF IPvX uni routes imported from EVPN routes. With EVPN-MH these VRF routes now reference a L3NHG which is setup based on the EAD and doesn't include the RMAC. To workaround that BGP now consolidates and maintains EVPN nexthops which are then sent to zebra. zebra sets up these nexthops as L3-VNI nh entries using a dummy type-1 route as reference. Ticket: CM-31398 Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_evpn_mh.h')
-rw-r--r--zebra/zebra_evpn_mh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_evpn_mh.h b/zebra/zebra_evpn_mh.h
index 2361a70bf..8861e80ce 100644
--- a/zebra/zebra_evpn_mh.h
+++ b/zebra/zebra_evpn_mh.h
@@ -382,5 +382,6 @@ extern void zebra_evpn_acc_bd_svi_set(struct zebra_if *vlan_zif,
extern void zebra_evpn_acc_bd_svi_mac_add(struct interface *vlan_if);
extern void zebra_evpn_es_bypass_update(struct zebra_evpn_es *es,
struct interface *ifp, bool bypass);
+extern void zebra_evpn_proc_remote_nh(ZAPI_HANDLER_ARGS);
#endif /* _ZEBRA_EVPN_MH_H */