svs: use explicit types in api
Type: fix
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;
};
-
