6rd: Move to plugin
[vpp.git] / vpp / api / vpe.api
index 983b414..71783a4 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;
@@ -3401,6 +3443,7 @@ define af_packet_create {
 define af_packet_create_reply {
     u32 context;
     i32 retval;
+    u32 sw_if_index;
 };
 
 /** \brief Delete host-interface