summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2023-04-27 00:00:33 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-07-06 18:28:21 +0000
commitbe56761663b00260813c3bd9db00507c81b6104d (patch)
tree342a02e38d6b83db031df0bf6457728650b1abaf /src
parent5c476e7ac31df0626694376c9a10deeb67bd09bf (diff)
api: pg - Mark old message versions as deprecated
List of changed messages: - pg_create_interface - pg_create_interface_reply This change is part of VPP API cleanup initiative. Type: fix Signed-off-by: Ondrej Fabry <ofabry@cisco.com> Change-Id: I574927f0820c54d748f27fd96a45afec5243b645
Diffstat (limited to 'src')
-rw-r--r--src/vnet/pg/pg.api4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/pg/pg.api b/src/vnet/pg/pg.api
index 3630e0c2f0d..4f531fb1f5e 100644
--- a/src/vnet/pg/pg.api
+++ b/src/vnet/pg/pg.api
@@ -38,6 +38,8 @@ enum pg_interface_mode : u8
*/
define pg_create_interface
{
+ option deprecated;
+
u32 client_index;
u32 context;
vl_api_interface_index_t interface_id;
@@ -60,6 +62,8 @@ define pg_create_interface_v2
*/
define pg_create_interface_reply
{
+ option deprecated;
+
u32 context;
i32 retval;
vl_api_interface_index_t sw_if_index;