diff options
| author | vivek <vivek@cumulusnetworks.com> | 2017-05-14 22:38:26 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-12 12:26:02 -0400 |
| commit | 13d60d351c4c70e8a2949ef45d88ec4efe382367 (patch) | |
| tree | b3846b88b4d3b03aa06801cac95d9a7992732076 /zebra/rt.h | |
| parent | 18a7a601c713ab1cc7fa91a7f883e18a25cc2fa1 (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/rt.h')
| -rw-r--r-- | zebra/rt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index a39af87b5a..10ca6c95cf 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -24,6 +24,7 @@ #include "prefix.h" #include "if.h" +#include "vxlan.h" #include "zebra/rib.h" #include "zebra/zebra_ns.h" #include "zebra/zebra_mpls.h" @@ -41,4 +42,8 @@ extern int kernel_del_lsp (zebra_lsp_t *); extern int mpls_kernel_init (void); extern int kernel_get_ipmr_sg_stats (void *mroute); +extern int kernel_add_vtep (vni_t vni, struct interface *ifp, + struct in_addr *vtep_ip); +extern int kernel_del_vtep (vni_t vni, struct interface *ifp, + struct in_addr *vtep_ip); #endif /* _ZEBRA_RT_H */ |
