summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-11-20 06:47:04 +0100
committermitesh <mitesh@cumulusnetworks.com>2018-01-24 00:58:53 +0100
commit31310b25f20260b66ab7a4ce726f57d815424867 (patch)
treee6fe6c0c4f4f8d51c4e066096f0288f3f3d3bc10 /bgpd/bgp_zebra.h
parentbgpd: carry two MPLS labels in EVPN NLRIs (diff)
downloadfrr-31310b25f20260b66ab7a4ce726f57d815424867.tar.xz
frr-31310b25f20260b66ab7a4ce726f57d815424867.zip
bgpd: advertise VNI subnet
In EVPN symmetric routing, not all subnets are presents everywhere. We have multiple scenarios where a host might not get learned locally. 1. GARP miss 2. SVI down/up 3. Silent host We need a mechanism to resolve such hosts. In order to achieve this, we will be advertising a subnet route from a box and that box will help in resolving the ARP to such hosts. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index 7d37864f4..da5160bc1 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -58,7 +58,8 @@ extern struct interface *if_lookup_by_ipv6(struct in6_addr *, ifindex_t,
vrf_id_t);
extern struct interface *if_lookup_by_ipv6_exact(struct in6_addr *, ifindex_t,
vrf_id_t);
-
+extern int bgp_zebra_advertise_subnet(struct bgp *bgp, int advertise,
+ vni_t vni);
extern int bgp_zebra_advertise_gw_macip(struct bgp *, int, vni_t);
extern int bgp_zebra_advertise_all_vni(struct bgp *, int);