diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2020-01-03 10:01:03 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-01-03 10:13:42 +0000 |
commit | 4b76c58be0eca6b2b5b97e4fdad9768fad071ff1 (patch) | |
tree | c58cea57af8b85b11edbd765635c46b3847e42c2 /src/vnet/qos/qos.api | |
parent | 3eb8f207bb5da51db0d5081dd27b3959eff6fd85 (diff) |
qos: api clenup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ia66810293e41427c686fbf1ab9be5c8a7db4056a
Diffstat (limited to 'src/vnet/qos/qos.api')
-rw-r--r-- | src/vnet/qos/qos.api | 15 |
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; }; /** |