api: pg - Mark old message versions as deprecated 49/38649/3
authorOndrej Fabry <ofabry@cisco.com>
Wed, 26 Apr 2023 22:00:33 +0000 (00:00 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 6 Jul 2023 18:28:21 +0000 (18:28 +0000)
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

src/vnet/pg/pg.api

index 3630e0c..4f531fb 100644 (file)
@@ -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;