From 9ebd2b92e32593a57427e21f964c3fcc2622c0b8 Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Thu, 27 Apr 2023 00:00:13 +0200 Subject: [PATCH] api: vxlan - Mark old message versions as deprecated List of changed messages: - vxlan_add_del_tunnel - vxlan_add_del_tunnel_v2 - vxlan_add_del_tunnel_reply - vxlan_add_del_tunnel_v2_reply - vxlan_tunnel_dump - vxlan_tunnel_details This change is part of VPP API cleanup initiative. Type: fix Signed-off-by: Ondrej Fabry Change-Id: I0a7227e76a493731fd136f8e6310ad372fab2494 --- src/plugins/vxlan/vxlan.api | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/plugins/vxlan/vxlan.api b/src/plugins/vxlan/vxlan.api index b7e678595d8..9c617ff22c8 100644 --- a/src/plugins/vxlan/vxlan.api +++ b/src/plugins/vxlan/vxlan.api @@ -32,6 +32,8 @@ import "vnet/ip/ip_types.api"; */ define vxlan_add_del_tunnel { + option deprecated; + u32 client_index; u32 context; bool is_add [default=true]; @@ -60,6 +62,8 @@ define vxlan_add_del_tunnel */ define vxlan_add_del_tunnel_v2 { + option deprecated; + u32 client_index; u32 context; bool is_add [default=true]; @@ -108,12 +112,16 @@ define vxlan_add_del_tunnel_v3 define vxlan_add_del_tunnel_reply { + option deprecated; + u32 context; i32 retval; vl_api_interface_index_t sw_if_index; }; define vxlan_add_del_tunnel_v2_reply { + option deprecated; + u32 context; i32 retval; vl_api_interface_index_t sw_if_index; @@ -127,6 +135,8 @@ define vxlan_add_del_tunnel_v3_reply define vxlan_tunnel_dump { + option deprecated; + u32 client_index; u32 context; vl_api_interface_index_t sw_if_index; @@ -140,6 +150,8 @@ define vxlan_tunnel_v2_dump define vxlan_tunnel_details { + option deprecated; + u32 context; vl_api_interface_index_t sw_if_index; u32 instance; -- 2.16.6