From fa6d21b4fff18bfecbf3935dac131f18a24fa3b3 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Thu, 4 May 2023 14:52:54 +0200 Subject: 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 Change-Id: Ic20a852dd1fb27858c8776095f9c98757b89bfe8 --- src/plugins/linux-cp/lcp.api | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/plugins/linux-cp') diff --git a/src/plugins/linux-cp/lcp.api b/src/plugins/linux-cp/lcp.api index ca36fe50eb9..adef1b8515d 100644 --- a/src/plugins/linux-cp/lcp.api +++ b/src/plugins/linux-cp/lcp.api @@ -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; -- cgit 1.2.3-korg