summaryrefslogtreecommitdiffstats
path: root/src/vnet/qos/qos.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/qos/qos.api')
-rw-r--r--src/vnet/qos/qos.api15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/vnet/qos/qos.api b/src/vnet/qos/qos.api
index dcd9ce5d011..d655165cef2 100644
--- a/src/vnet/qos/qos.api
+++ b/src/vnet/qos/qos.api
@@ -25,9 +25,10 @@
* mark: Make a change to the content of a packet header by writing a stored
* QoS value
*/
-option version = "1.1.0";
+option version = "1.1.1";
import "vnet/ip/ip_types.api";
+import "vnet/interface_types.api";
enum qos_source : u8
{
@@ -48,7 +49,7 @@ enum qos_source : u8
*/
typedef qos_store
{
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
vl_api_qos_source_t input_source;
u8 value;
};
@@ -64,7 +65,7 @@ autoreply define qos_store_enable_disable
{
u32 client_index;
u32 context;
- u8 enable;
+ bool enable [default=true];
vl_api_qos_store_t store;
};
@@ -94,7 +95,7 @@ define qos_store_details
*/
typedef qos_record
{
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
vl_api_qos_source_t input_source;
};
@@ -109,7 +110,7 @@ autoreply define qos_record_enable_disable
{
u32 client_index;
u32 context;
- u8 enable;
+ bool enable [default=true];
vl_api_qos_record_t record;
};
@@ -223,7 +224,7 @@ autoreply define qos_mark_enable_disable
{
u32 client_index;
u32 context;
- u8 enable;
+ bool enable [default=true];
vl_api_qos_mark_t mark;
};
@@ -234,7 +235,7 @@ define qos_mark_dump
{
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/**