aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/linux-cp/lcp.api
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2023-05-04 14:52:54 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-07-06 18:44:01 +0000
commitfa6d21b4fff18bfecbf3935dac131f18a24fa3b3 (patch)
treee2e0cc63c3c93daaf3805e607f844080e0e004df /src/plugins/linux-cp/lcp.api
parent755e3aa54f663b93d5c0a4be034aef954f22dbb1 (diff)
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
Diffstat (limited to 'src/plugins/linux-cp/lcp.api')
-rw-r--r--src/plugins/linux-cp/lcp.api8
1 files changed, 6 insertions, 2 deletions
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;