aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/svs
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-06 14:50:51 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-07 11:19:47 +0000
commit5e913f3741e40eb6650a02b538ad382532bf10c3 (patch)
treec08851919584a1dbfa4041ef130bb2e23ea5630a /src/plugins/svs
parent04338e85ae4979222029d18c314a9cc09d723572 (diff)
svs: use explicit types in api
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Ic9570fca7e434c9b861be8ed064503492225f9fd
Diffstat (limited to 'src/plugins/svs')
-rw-r--r--src/plugins/svs/svs.api12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/svs/svs.api b/src/plugins/svs/svs.api
index 4bed037be90..f693ada50ec 100644
--- a/src/plugins/svs/svs.api
+++ b/src/plugins/svs/svs.api
@@ -22,6 +22,7 @@
option version = "1.0.0";
import "vnet/ip/ip_types.api";
+import "vnet/interface_types.api";
/**
* brief Get the plugin version
@@ -60,7 +61,7 @@ autoreply define svs_table_add_del
{
u32 client_index;
u32 context;
- u8 is_add;
+ bool is_add;
vl_api_address_family_t af;
u32 table_id;
};
@@ -79,7 +80,7 @@ autoreply define svs_route_add_del
{
u32 client_index;
u32 context;
- u8 is_add;
+ bool is_add;
vl_api_prefix_t prefix;
u32 table_id;
u32 source_table_id;
@@ -98,10 +99,10 @@ autoreply define svs_enable_disable
{
u32 client_index;
u32 context;
- u8 is_enable;
+ bool is_enable;
vl_api_address_family_t af;
u32 table_id;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/**
@@ -125,7 +126,6 @@ define svs_details
{
u32 context;
u32 table_id;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
vl_api_address_family_t af;
};
-