summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vrf.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2017-05-15 07:38:26 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-12 18:26:02 +0200
commit13d60d351c4c70e8a2949ef45d88ec4efe382367 (patch)
treeb3846b88b4d3b03aa06801cac95d9a7992732076 /zebra/zebra_vrf.h
parentzebra: VNI and VTEP definition (diff)
downloadfrr-13d60d351c4c70e8a2949ef45d88ec4efe382367.tar.xz
frr-13d60d351c4c70e8a2949ef45d88ec4efe382367.zip
zebra: VNI and VTEP handling
Implement fundamental handling for VNIs and VTEPs: - Handle EVPN enable/disable by client (advertise-all-vni) - Create/update/delete VNIs based on VxLAN interface events and inform client - Handle VTEP add/delete from client and install into kernel - New debug command for VxLAN/EVPN - kernel interface (Linux/netlink only) Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r--zebra/zebra_vrf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h
index 790e2e53d..29f7df00f 100644
--- a/zebra/zebra_vrf.h
+++ b/zebra/zebra_vrf.h
@@ -95,6 +95,15 @@ struct zebra_vrf
u_int16_t mpls_flags;
#define MPLS_FLAG_SCHEDULE_LSPS (1 << 0)
+ /*
+ * VNI hash table (for EVPN). Only in default instance.
+ */
+ struct hash *vni_table;
+ /*
+ * Whether EVPN is enabled or not.
+ */
+ int advertise_all_vni;
+
/* Route Installs */
uint64_t installs;
uint64_t removals;