mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: update openapi spec
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
49e03c8bc5
commit
49868f483e
@@ -1369,6 +1369,15 @@ components:
|
||||
receiver_url:
|
||||
type: string
|
||||
|
||||
TimeoutStrategy:
|
||||
type: string
|
||||
enum: ["Cancel", "Ignore"]
|
||||
default: "Cancel"
|
||||
description: >
|
||||
The strategy to apply when the migration timeout is reached.
|
||||
Cancel will abort the migration and keep the VM running on the source.
|
||||
Ignore will proceed with the migration regardless of the downtime requirement.
|
||||
|
||||
SendMigrationData:
|
||||
required:
|
||||
- destination_url
|
||||
@@ -1378,6 +1387,24 @@ components:
|
||||
type: string
|
||||
local:
|
||||
type: boolean
|
||||
downtime_ms:
|
||||
type: integer
|
||||
format: int64
|
||||
minimum: 1
|
||||
default: 300
|
||||
description: >
|
||||
The maximum downtime the migration aims for, in milliseconds.
|
||||
Defaults to 300ms.
|
||||
timeout_s:
|
||||
type: integer
|
||||
format: int64
|
||||
minimum: 1
|
||||
default: 3600
|
||||
description: >
|
||||
The timeout for the migration (maximum total duration), in seconds.
|
||||
Defaults to 3600s (one hour).
|
||||
timeout_strategy:
|
||||
$ref: "#/components/schemas/TimeoutStrategy"
|
||||
|
||||
VmAddUserDevice:
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user