Add Vxlan-Gpe over IPv6
[vpp.git] / vpp / api / vpe.api
index 5b7af7f..9c90c33 100644 (file)
@@ -2113,8 +2113,9 @@ manual_java define l2_fib_table_dump {
 define vxlan_gpe_add_del_tunnel {
     u32 client_index;
     u32 context;
-    u32 local;
-    u32 remote;
+    u8 is_ipv6;
+    u8 local[16];
+    u8 remote[16];
     u32 encap_vrf_id;
     u32 decap_vrf_id;
     u8 protocol;
@@ -2325,6 +2326,28 @@ define lisp_gpe_add_del_iface_reply {
     i32 retval;
 };
 
+/** \brief configure or disable LISP PITR node
+    @param client_index - opaque cookie to identify the sender
+    @param context - sender context, to match reply w/ request
+    @param ls_name - locator set name
+    @param is_add - add locator set if non-zero, else disable pitr
+*/
+define lisp_pitr_set_locator_set {
+    u32 client_index;
+    u32 context;
+    u8 is_add;
+    u8 ls_name[64];
+};
+
+/** \brief Reply for lisp_pitr_set_locator_set
+    @param context - returned sender context, to match reply w/ request
+    @param retval - return code
+*/
+define lisp_pitr_set_locator_set_reply {
+    u32 context;
+    i32 retval;
+};
+
 /** \brief add or delete remote static mapping
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request
@@ -3522,7 +3545,7 @@ manual_java define policer_details {
 /** \brief Create netmap
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request
-    @param if_name - interface name
+    @param netmap_if_name - interface name
     @param hw_addr - interface MAC
     @param use_random_hw_addr - use random generated MAC
     @param is_pipe - is pipe
@@ -3532,7 +3555,7 @@ define netmap_create {
     u32 client_index;
     u32 context;
 
-    u8 if_name[64];
+    u8 netmap_if_name[64];
     u8 hw_addr[6];
     u8 use_random_hw_addr;
     u8 is_pipe;
@@ -3551,13 +3574,13 @@ define netmap_create_reply {
 /** \brief Delete netmap
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request
-    @param if_name - interface name
+    @param netmap_if_name - interface name
 */
 define netmap_delete {
     u32 client_index;
     u32 context;
 
-    u8 if_name[64];
+    u8 netmap_if_name[64];
 };
 
 /** \brief Delete netmap response