summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-10-01 11:37:30 +0200
committerOle Trøan <otroan@employees.org>2019-10-03 10:26:00 +0000
commitbf6c5c158fcbdd6e90bde8f4d81daa869abbc294 (patch)
tree51d23d510fb2bf636202990c53eddc393f5b4e9e /src/vnet
parent103ba6ba9ecd1d65bcbd3bb4edc115beb9ee7671 (diff)
feature: API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: Id1e7210298cb494f3cb7a47a9ecf2bc1d9c1d58e
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/feature/feature.api14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/vnet/feature/feature.api b/src/vnet/feature/feature.api
index 96ee72420af..7b52a6630cb 100644
--- a/src/vnet/feature/feature.api
+++ b/src/vnet/feature/feature.api
@@ -16,10 +16,12 @@
/** \file
This file defines VPP feature control-plane API messages which are generally
- called through a shared memory interface.
+ called through a shared memory interface.
*/
-option version = "1.0.1";
+option version = "1.0.2";
+
+import "vnet/interface_types.api";
/** \brief Feature path enable/disable request
@param client_index - opaque cookie to identify the sender
@@ -30,10 +32,10 @@ option version = "1.0.1";
autoreply define feature_enable_disable {
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 enable;
- u8 arc_name[64];
- u8 feature_name[64];
+ vl_api_interface_index_t sw_if_index;
+ bool enable;
+ string arc_name[64];
+ string feature_name[64];
};
/*