New LISP API map-request itr-rloc
[vpp.git] / vpp / api / vpe.api
index 5b7af7f..14664fd 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;
@@ -2128,6 +2129,23 @@ define vxlan_gpe_add_del_tunnel_reply {
     u32 sw_if_index;
 };
 
+manual_java define vxlan_gpe_tunnel_dump {
+    u32 client_index;
+    u32 context;
+    u32 sw_if_index;
+};
+
+manual_java define vxlan_gpe_tunnel_details {
+    u32 context;
+    u32 sw_if_index;
+    u8 local[16];
+    u8 remote[16];
+    u32 vni;
+    u8 protocol;
+    u32 encap_vrf_id;
+    u32 decap_vrf_id;
+    u8 is_ipv6;
+};
 
 /** \brief add or delete locator_set
     @param client_index - opaque cookie to identify the sender
@@ -2325,10 +2343,33 @@ 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
     @param is_add - add address if non-zero, else delete
+    @param del_all - if set, delete all remote mappings
     @param vni - virtual network instance
     @param action - negative map-reply action
     @param eid_is_ip4 - ipv4/6 of source and destination EIDs
@@ -2341,6 +2382,7 @@ define lisp_add_del_remote_mapping {
     u32 client_index;
     u32 context;
     u8  is_add;
+    u8 del_all;
     u32 vni;
     u8 action;
     u8 eid_is_ip4;
@@ -2362,6 +2404,29 @@ define lisp_add_del_remote_mapping_reply {
     i32 retval;
 };
 
+/** \brief add or delete map request itr rlocs
+    @param client_index - opaque cookie to identify the sender
+    @param context - sender context, to match reply w/ request
+    @param is_add - add address if non-zero, else delete
+    @param locator_set_name - locator set name
+*/
+define lisp_add_del_map_request_itr_rlocs {
+    u32 client_index;
+    u32 context;
+    u8 is_add;
+    u8 locator_set_name[64];
+};
+
+/** \brief Reply for lisp_add_del_map_request_itr_rlocs
+    @param context - returned sender context, to match reply w/ request
+    @param retval - return code
+*/
+
+define lisp_add_del_map_request_itr_rlocs_reply {
+    u32 context;
+    i32 retval;
+};
+
 /** \brief LISP locator_set status
     @param locator_set_name - name of the locator_set
     @param sw_if_index - sw_if_index of the locator
@@ -2477,6 +2542,23 @@ define lisp_enable_disable_status_dump {
     u32 context;
 };
 
+/** \brief Get LISP map request itr rlocs status
+    @param context - sender context, to match reply w/ request
+    @param locator_set_name - name of the locator_set
+ */
+define lisp_get_map_request_itr_rlocs {
+    u32 client_index;
+    u32 context;
+};
+
+/** \brief Request for map request itr rlocs summary status
+ */
+define lisp_get_map_request_itr_rlocs_reply {
+    u32 context;
+    i32 retval;
+    u8 locator_set_name[64];
+};
+
 /* Gross kludge, DGMS */
 define interface_name_renumber {
     u32 client_index;
@@ -3401,6 +3483,7 @@ define af_packet_create {
 define af_packet_create_reply {
     u32 context;
     i32 retval;
+    u32 sw_if_index;
 };
 
 /** \brief Delete host-interface
@@ -3522,7 +3605,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 +3615,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 +3634,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