api: lcp - Mark old message versions as deprecated

List of changed messages:
- lcp_itf_pair_add_del
- lcp_itf_pair_add_del_reply
- lcp_itf_pair_add_del_v2
- lcp_itf_pair_add_del_v2_reply

This change is part of VPP API cleanup initiative.

Type: fix
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Change-Id: Ic20a852dd1fb27858c8776095f9c98757b89bfe8
This commit is contained in:
Ondrej Fabry
2023-05-04 14:52:54 +02:00
committed by Dave Wallace
parent 755e3aa54f
commit fa6d21b4ff

View File

@ -73,6 +73,8 @@ enum lcp_itf_host_type : u8
*/
autoreply autoendian define lcp_itf_pair_add_del
{
option deprecated;
u32 client_index;
u32 context;
bool is_add;
@ -80,10 +82,11 @@ autoreply autoendian define lcp_itf_pair_add_del
string host_if_name[16]; /* IFNAMSIZ */
vl_api_lcp_itf_host_type_t host_if_type;
string netns[32]; /* LCP_NS_LEN */
option in_progress;
};
autoendian define lcp_itf_pair_add_del_v2
{
option in_progress;
u32 client_index;
u32 context;
bool is_add;
@ -91,10 +94,11 @@ autoendian define lcp_itf_pair_add_del_v2
string host_if_name[16]; /* IFNAMSIZ */
vl_api_lcp_itf_host_type_t host_if_type;
string netns[32]; /* LCP_NS_LEN */
option in_progress;
};
define lcp_itf_pair_add_del_v2_reply
{
option in_progress;
u32 context;
i32 retval;
vl_api_interface_index_t host_sw_if_index;