api: lcp - Mark old message versions as deprecated 54/38654/5
authorOndrej Fabry <ofabry@cisco.com>
Thu, 4 May 2023 12:52:54 +0000 (14:52 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 6 Jul 2023 18:44:01 +0000 (18:44 +0000)
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

src/plugins/linux-cp/lcp.api

index ca36fe5..adef1b8 100644 (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;