diff options
author | Florin Coras <fcoras@cisco.com> | 2016-04-21 00:45:40 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-04-25 13:05:49 +0000 |
commit | 577c3553dd6939e998c78c5a389750aac3a67f8b (patch) | |
tree | 3a95da61f5cfca2d1629a8011d2a6b57ae19bad2 /vpp/api/vpe.api | |
parent | 405e41b50e336dccfdeeafae93bf4453774ecfec (diff) |
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 <fcoras@cisco.com>
Diffstat (limited to 'vpp/api/vpe.api')
-rw-r--r-- | vpp/api/vpe.api | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vpp/api/vpe.api b/vpp/api/vpe.api index f255fdaf622..afad1c25d0b 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 |