virtcontainers: clh: Re-generate the client code

This patch re-generates the client code for Cloud Hypervisor v21.0.
Note: The client code of cloud-hypervisor's (CLH) OpenAPI is
automatically generated by openapi-generator [1-2].

[1] https://github.com/OpenAPITools/openapi-generator
[2] https://github.com/kata-containers/kata-containers/blob/main/src/runtime/virtcontainers/pkg/cloud-hypervisor/README.md

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2022-01-20 17:48:10 -08:00
parent 7e15e99d5f
commit 2d799cbfa3
12 changed files with 875 additions and 54 deletions

View File

@@ -349,6 +349,38 @@ paths:
404:
description: The VM instance could not be restored because it is already created.
/vm.receive-migration:
put:
summary: Receive a VM migration from URL
requestBody:
description: The URL for the reception of migration state
content:
application/json:
schema:
$ref: '#/components/schemas/ReceiveMigrationData'
required: true
responses:
204:
description: The VM migration was successfully received.
500:
description: The VM migration could not be received.
/vm.send-migration:
put:
summary: Send a VM migration to URL
requestBody:
description: The URL for sending the migration state
content:
application/json:
schema:
$ref: '#/components/schemas/SendMigrationData'
required: true
responses:
204:
description: The VM migration was successfully sent.
500:
description: The VM migration could not be sent.
components:
schemas:
@@ -712,7 +744,6 @@ components:
properties:
tap:
type: string
default: ""
ip:
type: string
default: "192.168.249.1"
@@ -740,7 +771,7 @@ components:
default: "Client"
id:
type: string
fd:
fds:
type: array
items:
type: integer
@@ -998,3 +1029,17 @@ components:
type: string
prefault:
type: boolean
ReceiveMigrationData:
type: object
properties:
receiver_url:
type: string
SendMigrationData:
type: object
properties:
destination_url:
type: string
local:
type: boolean