From 5e913f3741e40eb6650a02b538ad382532bf10c3 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Fri, 6 Dec 2019 14:50:51 +0100 Subject: svs: use explicit types in api Type: fix Signed-off-by: Ole Troan Change-Id: Ic9570fca7e434c9b861be8ed064503492225f9fd --- src/plugins/svs/svs.api | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/plugins') 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; }; - -- cgit 1.2.3-korg