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 <ofabry@cisco.com>
Change-Id: I0a7227e76a493731fd136f8e6310ad372fab2494
diff --git a/src/plugins/vxlan/vxlan.api b/src/plugins/vxlan/vxlan.api
index b7e6785..9c617ff 100644
--- a/src/plugins/vxlan/vxlan.api
+++ b/src/plugins/vxlan/vxlan.api
@@ -32,6 +32,8 @@
*/
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_v2
{
+ option deprecated;
+
u32 client_index;
u32 context;
bool is_add [default=true];
@@ -108,12 +112,16 @@
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_tunnel_dump
{
+ option deprecated;
+
u32 client_index;
u32 context;
vl_api_interface_index_t sw_if_index;
@@ -140,6 +150,8 @@
define vxlan_tunnel_details
{
+ option deprecated;
+
u32 context;
vl_api_interface_index_t sw_if_index;
u32 instance;