Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ct6: remove api boilerplate
[vpp.git]
/
src
/
plugins
/
ct6
/
ct6.api
diff --git
a/src/plugins/ct6/ct6.api
b/src/plugins/ct6/ct6.api
index
67af42f
..
10a2825
100644
(file)
--- a/
src/plugins/ct6/ct6.api
+++ b/
src/plugins/ct6/ct6.api
@@
-1,7
+1,7
@@
/* Define a simple enable-disable binary API to control the feature */
/* Define a simple enable-disable binary API to control the feature */
-define ct6_enable_disable {
+
autoreply
define ct6_enable_disable {
/* Client identifier, set from api_main.my_client_index */
u32 client_index;
/* Client identifier, set from api_main.my_client_index */
u32 client_index;
@@
-16,12
+16,5
@@
define ct6_enable_disable {
/* Interface handle */
u32 sw_if_index;
/* Interface handle */
u32 sw_if_index;
-};
-
-define ct6_enable_disable_reply {
- /* From the request */
- u32 context;
-
- /* Return value, zero means all OK */
- i32 retval;
+ option vat_help = "<intfc> [disable]";
};
};