diff options
author | Ole Troan <ot@cisco.com> | 2019-12-06 14:05:07 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-12-06 14:01:59 +0000 |
commit | e06e7c672d3a990b0ccb0609e7898545899e0d4a (patch) | |
tree | 3c7650a85538a01b4a3ece818d64df14f3942555 /src/plugins | |
parent | 59cea1a9dff31ec9e735ea2764dbf958e95f6bd7 (diff) |
nsim: use explicit api types
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Icdc359beb127944418305775e42fa88c569dfbd7
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/nsim/nsim.api | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/plugins/nsim/nsim.api b/src/plugins/nsim/nsim.api index 722aac17fed..b9623a19943 100644 --- a/src/plugins/nsim/nsim.api +++ b/src/plugins/nsim/nsim.api @@ -3,7 +3,8 @@ * @brief VPP control-plane API messages for the network delay simulator */ -option version = "2.1.0"; +option version = "2.1.1"; +import "vnet/interface_types.api"; /** \brief enable / disable the network delay simulation cross-connect @param client_index - opaque cookie to identify the sender @@ -21,11 +22,11 @@ autoreply define nsim_cross_connect_enable_disable u32 context; /* Enable / disable the feature on the interfaces */ - u8 enable_disable; + bool enable_disable; /* Interface handles */ - u32 sw_if_index0; - u32 sw_if_index1; + vl_api_interface_index_t sw_if_index0; + vl_api_interface_index_t sw_if_index1; option vat_help = "[<intfc0> | sw_if_index <swif0>] [<intfc1> | sw_if_index <swif1>] [disable]"; }; @@ -44,10 +45,10 @@ autoreply define nsim_output_feature_enable_disable u32 context; /* Enable / disable the feature on the interfaces */ - u8 enable_disable; + bool enable_disable; /* Interface handles */ - u32 sw_if_index; + vl_api_interface_index_t sw_if_index; option vat_help = "[<intfc> | sw_if_index <nnn> [disable]"; }; |