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_socket.c | |
| 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_socket.c')
| -rw-r--r-- | zebra/rt_socket.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 9859a31627..bf7e3403e4 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -29,6 +29,7 @@ #include "sockunion.h" #include "log.h" #include "privs.h" +#include "vxlan.h" #include "zebra/debug.h" #include "zebra/rib.h" @@ -428,3 +429,15 @@ kernel_get_ipmr_sg_stats (void *mroute) { return 0; } + +int +kernel_add_vtep (vni_t vni, struct interface *ifp, struct in_addr *vtep_ip) +{ + return 0; +} + +int +kernel_del_vtep (vni_t vni, struct interface *ifp, struct in_addr *vtep_ip) +{ + return 0; +} |
