aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
};
-