ct6: remove api boilerplate
[vpp.git] / src / plugins / ct6 / ct6.api
1
2 /* Define a simple enable-disable binary API to control the feature */
3
4 autoreply define ct6_enable_disable {
5     /* Client identifier, set from api_main.my_client_index */
6     u32 client_index;
7
8     /* Arbitrary context, so client can match reply to request */
9     u32 context;
10
11     /* Enable / disable the feature */
12     u8 enable_disable;
13
14     /* Inside or outside interface */
15     u8 is_inside;
16
17     /* Interface handle */
18     u32 sw_if_index;
19     option vat_help = "<intfc> [disable]";
20 };