summaryrefslogtreecommitdiff
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2017-05-14 22:38:26 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-12 12:26:02 -0400
commit13d60d351c4c70e8a2949ef45d88ec4efe382367 (patch)
treeb3846b88b4d3b03aa06801cac95d9a7992732076 /zebra/debug.h
parent18a7a601c713ab1cc7fa91a7f883e18a25cc2fa1 (diff)
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/debug.h')
-rw-r--r--zebra/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index 0a50da8176..5687a3516b 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -42,6 +42,8 @@
#define ZEBRA_DEBUG_MPLS 0x01
+#define ZEBRA_DEBUG_VXLAN 0x01
+
/* Debug related macro. */
#define IS_ZEBRA_DEBUG_EVENT (zebra_debug_event & ZEBRA_DEBUG_EVENT)
@@ -63,6 +65,7 @@
#define IS_ZEBRA_DEBUG_FPM (zebra_debug_fpm & ZEBRA_DEBUG_FPM)
#define IS_ZEBRA_DEBUG_NHT (zebra_debug_nht & ZEBRA_DEBUG_NHT)
#define IS_ZEBRA_DEBUG_MPLS (zebra_debug_mpls & ZEBRA_DEBUG_MPLS)
+#define IS_ZEBRA_DEBUG_VXLAN (zebra_debug_vxlan & ZEBRA_DEBUG_VXLAN)
extern unsigned long zebra_debug_event;
extern unsigned long zebra_debug_packet;
@@ -71,6 +74,7 @@ extern unsigned long zebra_debug_rib;
extern unsigned long zebra_debug_fpm;
extern unsigned long zebra_debug_nht;
extern unsigned long zebra_debug_mpls;
+extern unsigned long zebra_debug_vxlan;
extern void zebra_debug_init (void);