From 577c3553dd6939e998c78c5a389750aac3a67f8b Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 21 Apr 2016 00:45:40 +0200 Subject: Convert lisp-gpe encap to interface tx node With this change, one lisp-gpe interface is created per vrf/overlay tenant and its tx node is used as encapsulator (or tunnel ingress). For all intents and purposes, the tx node inherits all functions previously performed by the lisp-gpe-encap node and it maintains said node's position in lisp-gpe's data-path graph. Chiefly, this opens the possibility to chain interface features, like IPSec, transparently with LISP. Furthermore, it brings basic data plane support for vrfs and LISP instance-ids (or virtual network instances as per RFC7364). Other changes include improvements to lisp-gpe enable and disable sequences and corresponding API/VAT fixes. Change-Id: I085500450660a976b587b1a720e282f6e728d580 Signed-off-by: Florin Coras --- vpp/api/vpe.api | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'vpp/api/vpe.api') diff --git a/vpp/api/vpe.api b/vpp/api/vpe.api index f255fdaf..afad1c25 100644 --- a/vpp/api/vpe.api +++ b/vpp/api/vpe.api @@ -2239,6 +2239,26 @@ define lisp_add_del_map_resolver_reply { i32 retval; }; +/** \brief enable or disable lisp-gpe protocol + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param is_en - enable protocol if non-zero, else disable +*/ +define lisp_gpe_enable_disable { + u32 client_index; + u32 context; + u8 is_en; +}; + +/** \brief Reply for gpe enable/disable + @param context - returned sender context, to match reply w/ request + @param retval - return code +*/ +define lisp_gpe_enable_disable_reply { + u32 context; + i32 retval; +}; + /** \brief add or delete gpe_iface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -2248,6 +2268,8 @@ define lisp_gpe_add_del_iface { u32 client_index; u32 context; u8 is_add; + u32 table_id; + u32 vni; }; /** \brief Reply for gpe_iface add/del -- cgit 1.2.3-korg