diff options
author | Ole Troan <ot@cisco.com> | 2019-12-06 13:19:01 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-12-06 14:07:31 +0000 |
commit | d4efce2e0ce11b3ae9d010b043241ee91e95a92a (patch) | |
tree | f7357fff7c74b6cad4cb41d760399f4fd36cba45 /src | |
parent | 07e557a73b913061c2f680f05183b9ca605e5d86 (diff) |
ct6: use explicit type in api
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I2342baa91234db1336394305c031dbfa21d219a5
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/ct6/ct6.api | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/ct6/ct6.api b/src/plugins/ct6/ct6.api index 10a28251a20..f22822be623 100644 --- a/src/plugins/ct6/ct6.api +++ b/src/plugins/ct6/ct6.api @@ -1,5 +1,7 @@ /* Define a simple enable-disable binary API to control the feature */ +option version = "1.0.0"; +import "vnet/interface_types.api"; autoreply define ct6_enable_disable { /* Client identifier, set from api_main.my_client_index */ @@ -9,12 +11,12 @@ autoreply define ct6_enable_disable { u32 context; /* Enable / disable the feature */ - u8 enable_disable; + bool enable_disable; /* Inside or outside interface */ - u8 is_inside; + bool is_inside; /* Interface handle */ - u32 sw_if_index; + vl_api_interface_index_t sw_if_index; option vat_help = "<intfc> [disable]"; }; |