api: Mark old message versions as deprecated 37/38637/2
authorOndrej Fabry <ofabry@cisco.com>
Thu, 13 Apr 2023 06:33:38 +0000 (08:33 +0200)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 25 Apr 2023 15:27:41 +0000 (15:27 +0000)
This change is part of VPP API cleanup initiative.

Type: refactor
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Change-Id: I26d13a697c9b70a75555c04e925e9d6aaf7ed755

src/vnet/flow/flow.api

index dff3eec..5402b63 100644 (file)
@@ -26,6 +26,8 @@ import "vnet/flow/flow_types.api";
 */
 define flow_add
 {
+  option deprecated;
+
   u32 client_index;
   u32 context;
   vl_api_flow_rule_t flow;
@@ -52,6 +54,8 @@ define flow_add_v2
 */
 define flow_add_reply
 {
+  option deprecated;
+
   u32 context;
   i32 retval;
   u32 flow_index;