qos: api clenup

Use consistent API types.

Type: fix

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ia66810293e41427c686fbf1ab9be5c8a7db4056a
diff --git a/src/vnet/qos/qos.api b/src/vnet/qos/qos.api
index dcd9ce5..d655165 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 @@
  */
 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 @@
 {
   u32 client_index;
   u32 context;
-  u8 enable;
+  bool enable [default=true];
   vl_api_qos_store_t store;
 };
 
@@ -94,7 +95,7 @@
  */
 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 @@
 {
   u32 client_index;
   u32 context;
-  u8 enable;
+  bool enable [default=true];
   vl_api_qos_record_t record;
 };
 
@@ -223,7 +224,7 @@
 {
   u32 client_index;
   u32 context;
-  u8 enable;
+  bool enable [default=true];
   vl_api_qos_mark_t mark;
 };
 
@@ -234,7 +235,7 @@
 {
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
 };
 
 /**