mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
vmm, openapi: Token Bucket fields should be uint64
The Token Bucket fields are, on the Cloud Hypervisor side, u64. However, we expose those as int64 in the OpenAPI YAML file. With that in mind, let's adjust the yaml file to expose those as uint64. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
79f4c2db01
commit
87eed369cd
@ -729,17 +729,17 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
size:
|
size:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: uint64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
description: The total number of tokens this bucket can hold.
|
description: The total number of tokens this bucket can hold.
|
||||||
one_time_burst:
|
one_time_burst:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: uint64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
description: The initial size of a token bucket.
|
description: The initial size of a token bucket.
|
||||||
refill_time:
|
refill_time:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: uint64
|
||||||
minimum: 0
|
minimum: 0
|
||||||
description: The amount of milliseconds it takes for the bucket to refill.
|
description: The amount of milliseconds it takes for the bucket to refill.
|
||||||
description:
|
description:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user