Skip to content

Commit 6aba8d4

Browse files
acatangiuandreeaflorescu
authored andcommitted
Add Network Rate Limiter support to swagger API specification
Signed-off-by: Adrian Catangiu <[email protected]>
1 parent 29ee227 commit 6aba8d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

api_server/swagger/firecracker-beta.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ definitions:
376376
type: integer
377377
description: Memory size of VM
378378
ht_enabled:
379-
type: bool
379+
type: boolean
380380
description: Flag for enabling/disabling Hyperthreading
381381

382382
NetworkInterface:
@@ -391,6 +391,10 @@ definitions:
391391
host_dev_name:
392392
type: string
393393
description: Host level path for the guest network interface
394+
rx_rate_limiter:
395+
$ref: "#/definitions/RateLimiter"
396+
tx_rate_limiter:
397+
$ref: "#/definitions/RateLimiter"
394398
state:
395399
$ref: "#/definitions/DeviceState"
396400

0 commit comments

Comments
 (0)