summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/one.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/lisp-cp/one.api')
-rw-r--r--src/vnet/lisp-cp/one.api185
1 files changed, 16 insertions, 169 deletions
diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api
index ca82f6940fb..2fa1edf6f91 100644
--- a/src/vnet/lisp-cp/one.api
+++ b/src/vnet/lisp-cp/one.api
@@ -59,7 +59,7 @@ define one_add_del_locator_set_reply
@param priority - priority of the locator
@param weight - weight of the locator
*/
-define one_add_del_locator
+autoreply define one_add_del_locator
{
u32 client_index;
u32 context;
@@ -70,16 +70,6 @@ define one_add_del_locator
u8 weight;
};
-/** \brief Reply for locator add/del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_add_del_locator_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief add or delete ONE eid-table
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -98,7 +88,7 @@ define one_add_del_locator_reply
HMAC_SHA_256_128 2
@param key - secret key
*/
-define one_add_del_local_eid
+autoreply define one_add_del_local_eid
{
u32 client_index;
u32 context;
@@ -112,16 +102,6 @@ define one_add_del_local_eid
u8 key[64];
};
-/** \brief Reply for local_eid add/del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_add_del_local_eid_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Add/delete map server
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -129,7 +109,7 @@ define one_add_del_local_eid_reply
@param is_ipv6 - if non-zero the address is ipv6, else ipv4
@param ip_address - map server IP address
*/
-define one_add_del_map_server
+autoreply define one_add_del_map_server
{
u32 client_index;
u32 context;
@@ -138,16 +118,6 @@ define one_add_del_map_server
u8 ip_address[16];
};
-/** \brief Reply for one_add_del_map_server
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_add_del_map_server_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief add or delete map-resolver
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -155,7 +125,7 @@ define one_add_del_map_server_reply
@param is_ipv6 - if non-zero the address is ipv6, else ipv4
@param ip_address - array of address bytes
*/
-define one_add_del_map_resolver
+autoreply define one_add_del_map_resolver
{
u32 client_index;
u32 context;
@@ -164,45 +134,25 @@ define one_add_del_map_resolver
u8 ip_address[16];
};
-/** \brief Reply for map_resolver add/del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_add_del_map_resolver_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief enable or disable ONE feature
@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 one_enable_disable
+autoreply define one_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 one_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief configure or disable ONE 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 one_pitr_set_locator_set
+autoreply define one_pitr_set_locator_set
{
u32 client_index;
u32 context;
@@ -210,16 +160,6 @@ define one_pitr_set_locator_set
u8 ls_name[64];
};
-/** \brief Reply for one_pitr_set_locator_set
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_pitr_set_locator_set_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief configure or disable use of PETR
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -227,7 +167,7 @@ define one_pitr_set_locator_set_reply
@param address - PETR IP address
@param is_add - add locator set if non-zero, else disable PETR
*/
-define one_use_petr
+autoreply define one_use_petr
{
u32 client_index;
u32 context;
@@ -236,16 +176,6 @@ define one_use_petr
u8 is_add;
};
-/** \brief Reply for one_use_petr
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_use_petr_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Request for ONE PETR status
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -298,45 +228,25 @@ define show_one_rloc_probe_state_reply
@param context - sender context, to match reply w/ request
@param is_enable - enable if non-zero; disable otherwise
*/
-define one_rloc_probe_enable_disable
+autoreply define one_rloc_probe_enable_disable
{
u32 client_index;
u32 context;
u8 is_enabled;
};
-/** \brief Reply for one_rloc_probe_enable_disable
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_rloc_probe_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief enable/disable ONE map-register
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param is_enable - enable if non-zero; disable otherwise
*/
-define one_map_register_enable_disable
+autoreply define one_map_register_enable_disable
{
u32 client_index;
u32 context;
u8 is_enabled;
};
-/** \brief Reply for one_map_register_enable_disable
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_map_register_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Get state of ONE map-register
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -366,23 +276,13 @@ define show_one_map_register_state_reply
0 - destination only
1 - source/destaination
*/
-define one_map_request_mode
+autoreply define one_map_request_mode
{
u32 client_index;
u32 context;
u8 mode;
};
-/** \brief Reply for one_map_request_mode
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_map_request_mode_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Request for ONE map-request mode
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -430,7 +330,7 @@ typeonly manual_endian manual_print define one_remote_locator
@param rloc_num - number of remote locators
@param rlocs - remote locator records
*/
-manual_print manual_endian define one_add_del_remote_mapping
+autoreply manual_print manual_endian define one_add_del_remote_mapping
{
u32 client_index;
u32 context;
@@ -448,16 +348,6 @@ manual_print manual_endian define one_add_del_remote_mapping
vl_api_one_remote_locator_t rlocs[rloc_num];
};
-/** \brief Reply for one_add_del_remote_mapping
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_add_del_remote_mapping_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief add or delete ONE adjacency adjacency
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -470,7 +360,7 @@ define one_add_del_remote_mapping_reply
@param reid - remote EID
@param leid - local EID
*/
-define one_add_del_adjacency
+autoreply define one_add_del_adjacency
{
u32 client_index;
u32 context;
@@ -483,23 +373,13 @@ define one_add_del_adjacency
u8 leid_len;
};
-/** \brief Reply for one_add_del_adjacency
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_add_del_adjacency_reply
-{
- u32 context;
- 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 one_add_del_map_request_itr_rlocs
+autoreply define one_add_del_map_request_itr_rlocs
{
u32 client_index;
u32 context;
@@ -507,17 +387,6 @@ define one_add_del_map_request_itr_rlocs
u8 locator_set_name[64];
};
-/** \brief Reply for one_add_del_map_request_itr_rlocs
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-
-define one_add_del_map_request_itr_rlocs_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief map/unmap vni/bd_index to vrf
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -525,7 +394,7 @@ define one_add_del_map_request_itr_rlocs_reply
@param dp_table - virtual network id/bridge domain index
@param vrf - vrf
*/
-define one_eid_table_add_del_map
+autoreply define one_eid_table_add_del_map
{
u32 client_index;
u32 context;
@@ -535,16 +404,6 @@ define one_eid_table_add_del_map
u8 is_l2;
};
-/** \brief Reply for one_eid_table_add_del_map
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define one_eid_table_add_del_map_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief Request for map one locator status
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@ -901,31 +760,19 @@ define one_stats_details
u32 bytes;
};
-define one_stats_flush
+autoreply define one_stats_flush
{
u32 client_index;
u32 context;
};
-define one_stats_flush_reply
-{
- u32 context;
- i32 retval;
-};
-
-define one_stats_enable_disable
+autoreply define one_stats_enable_disable
{
u32 client_index;
u32 context;
u8 is_en;
};
-define one_stats_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
define show_one_stats_enable_disable
{
u32 client_index;