diff options
| author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-05-08 19:36:47 -0700 | 
|---|---|---|
| committer | Anuradha Karuppiah <anuradhak@nvidia.com> | 2020-11-24 11:06:08 -0800 | 
| commit | 26c03e43fba0c1fe673f3fe574e0de560f466eac (patch) | |
| tree | bb24a49d4cf48cd3e1e90d511286c2590eb2bb24 /bgpd/bgp_evpn_private.h | |
| parent | c589d84746d96c1714582e437eb9cec691795252 (diff) | |
bgpd: Handle ES VTEP add/del to a host route
1. MAC-IP routes in the VPN routing table are linked to the
destination ES for efficient handling for remote ES link flaps.
2. Only MAC-IP paths whose nexthops are active (added via EAD-ES)
are imported into the VRF routing table.
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_evpn_private.h')
| -rw-r--r-- | bgpd/bgp_evpn_private.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/bgpd/bgp_evpn_private.h b/bgpd/bgp_evpn_private.h index e8e68c8387..cd4920e3d0 100644 --- a/bgpd/bgp_evpn_private.h +++ b/bgpd/bgp_evpn_private.h @@ -630,4 +630,13 @@ extern struct bgp_dest *  bgp_global_evpn_node_lookup(struct bgp_table *table, afi_t afi, safi_t safi,  			    const struct prefix_evpn *evp,  			    struct prefix_rd *prd); +extern struct bgp_node *bgp_global_evpn_node_get(struct bgp_table *table, +						 afi_t afi, safi_t safi, +						 const struct prefix_evpn *evp, +						 struct prefix_rd *prd); +extern struct bgp_node * +bgp_global_evpn_node_lookup(struct bgp_table *table, afi_t afi, safi_t safi, +			    const struct prefix_evpn *evp, +			    struct prefix_rd *prd); +extern void bgp_evpn_import_route_in_vrfs(struct bgp_path_info *pi, int import);  #endif /* _BGP_EVPN_PRIVATE_H */  | 
