mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-21 15:24:29 +01:00
runtime: clh: Re-generate the client code
This patch re-generates the client code for Cloud Hypervisor v27.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 Fixes: #5309 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
@@ -425,7 +425,7 @@ components:
|
||||
VmInfo:
|
||||
description: Virtual Machine information
|
||||
example:
|
||||
memory_actual_size: 3
|
||||
memory_actual_size: 7
|
||||
state: Created
|
||||
config:
|
||||
console:
|
||||
@@ -433,7 +433,7 @@ components:
|
||||
file: file
|
||||
iommu: false
|
||||
balloon:
|
||||
size: 6
|
||||
size: 1
|
||||
deflate_on_oom: false
|
||||
free_page_reporting: false
|
||||
memory:
|
||||
@@ -530,83 +530,81 @@ components:
|
||||
- 3
|
||||
- 3
|
||||
devices:
|
||||
- pci_segment: 6
|
||||
- pci_segment: 3
|
||||
path: path
|
||||
iommu: false
|
||||
id: id
|
||||
- pci_segment: 6
|
||||
- pci_segment: 3
|
||||
path: path
|
||||
iommu: false
|
||||
id: id
|
||||
vdpa:
|
||||
- pci_segment: 3
|
||||
- pci_segment: 7
|
||||
path: path
|
||||
num_queues: 3
|
||||
iommu: false
|
||||
id: id
|
||||
- pci_segment: 3
|
||||
- pci_segment: 7
|
||||
path: path
|
||||
num_queues: 3
|
||||
iommu: false
|
||||
id: id
|
||||
numa:
|
||||
- distances:
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 7
|
||||
destination: 8
|
||||
- distance: 7
|
||||
destination: 8
|
||||
cpus:
|
||||
- 0
|
||||
- 0
|
||||
- 4
|
||||
- 4
|
||||
sgx_epc_sections:
|
||||
- sgx_epc_sections
|
||||
- sgx_epc_sections
|
||||
memory_zones:
|
||||
- memory_zones
|
||||
- memory_zones
|
||||
guest_numa_id: 6
|
||||
guest_numa_id: 0
|
||||
- distances:
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 7
|
||||
destination: 8
|
||||
- distance: 7
|
||||
destination: 8
|
||||
cpus:
|
||||
- 0
|
||||
- 0
|
||||
- 4
|
||||
- 4
|
||||
sgx_epc_sections:
|
||||
- sgx_epc_sections
|
||||
- sgx_epc_sections
|
||||
memory_zones:
|
||||
- memory_zones
|
||||
- memory_zones
|
||||
guest_numa_id: 6
|
||||
tdx:
|
||||
firmware: firmware
|
||||
guest_numa_id: 0
|
||||
rng:
|
||||
iommu: false
|
||||
src: /dev/urandom
|
||||
sgx_epc:
|
||||
- prefault: false
|
||||
size: 7
|
||||
size: 6
|
||||
id: id
|
||||
- prefault: false
|
||||
size: 7
|
||||
size: 6
|
||||
id: id
|
||||
fs:
|
||||
- pci_segment: 6
|
||||
num_queues: 1
|
||||
queue_size: 2
|
||||
num_queues: 2
|
||||
queue_size: 6
|
||||
tag: tag
|
||||
socket: socket
|
||||
id: id
|
||||
- pci_segment: 6
|
||||
num_queues: 1
|
||||
queue_size: 2
|
||||
num_queues: 2
|
||||
queue_size: 6
|
||||
tag: tag
|
||||
socket: socket
|
||||
id: id
|
||||
vsock:
|
||||
pci_segment: 0
|
||||
pci_segment: 7
|
||||
iommu: false
|
||||
socket: socket
|
||||
id: id
|
||||
@@ -615,22 +613,23 @@ components:
|
||||
iommu_segments:
|
||||
- 3
|
||||
- 3
|
||||
num_pci_segments: 7
|
||||
num_pci_segments: 3
|
||||
oem_strings:
|
||||
- oem_strings
|
||||
- oem_strings
|
||||
tdx: false
|
||||
serial_number: serial_number
|
||||
uuid: uuid
|
||||
pmem:
|
||||
- pci_segment: 5
|
||||
- pci_segment: 6
|
||||
file: file
|
||||
size: 6
|
||||
size: 5
|
||||
iommu: false
|
||||
id: id
|
||||
discard_writes: false
|
||||
- pci_segment: 5
|
||||
- pci_segment: 6
|
||||
file: file
|
||||
size: 6
|
||||
size: 5
|
||||
iommu: false
|
||||
id: id
|
||||
discard_writes: false
|
||||
@@ -640,14 +639,16 @@ components:
|
||||
cmdline: cmdline
|
||||
kernel: kernel
|
||||
initramfs: initramfs
|
||||
firmware: firmware
|
||||
serial:
|
||||
mode: "false"
|
||||
file: file
|
||||
iommu: false
|
||||
net:
|
||||
- tap: tap
|
||||
num_queues: 9
|
||||
queue_size: 6
|
||||
host_mac: host_mac
|
||||
num_queues: 6
|
||||
queue_size: 3
|
||||
ip: 192.168.249.1
|
||||
rate_limiter_config:
|
||||
ops:
|
||||
@@ -659,7 +660,8 @@ components:
|
||||
one_time_burst: 0
|
||||
refill_time: 0
|
||||
mac: mac
|
||||
pci_segment: 3
|
||||
mtu: 9
|
||||
pci_segment: 6
|
||||
vhost_mode: Client
|
||||
iommu: false
|
||||
vhost_socket: vhost_socket
|
||||
@@ -667,8 +669,9 @@ components:
|
||||
id: id
|
||||
mask: 255.255.255.0
|
||||
- tap: tap
|
||||
num_queues: 9
|
||||
queue_size: 6
|
||||
host_mac: host_mac
|
||||
num_queues: 6
|
||||
queue_size: 3
|
||||
ip: 192.168.249.1
|
||||
rate_limiter_config:
|
||||
ops:
|
||||
@@ -680,7 +683,8 @@ components:
|
||||
one_time_burst: 0
|
||||
refill_time: 0
|
||||
mac: mac
|
||||
pci_segment: 3
|
||||
mtu: 9
|
||||
pci_segment: 6
|
||||
vhost_mode: Client
|
||||
iommu: false
|
||||
vhost_socket: vhost_socket
|
||||
@@ -769,7 +773,10 @@ components:
|
||||
cmdline: cmdline
|
||||
kernel: kernel
|
||||
initramfs: initramfs
|
||||
firmware: firmware
|
||||
properties:
|
||||
firmware:
|
||||
type: string
|
||||
kernel:
|
||||
type: string
|
||||
cmdline:
|
||||
@@ -785,7 +792,7 @@ components:
|
||||
file: file
|
||||
iommu: false
|
||||
balloon:
|
||||
size: 6
|
||||
size: 1
|
||||
deflate_on_oom: false
|
||||
free_page_reporting: false
|
||||
memory:
|
||||
@@ -882,83 +889,81 @@ components:
|
||||
- 3
|
||||
- 3
|
||||
devices:
|
||||
- pci_segment: 6
|
||||
- pci_segment: 3
|
||||
path: path
|
||||
iommu: false
|
||||
id: id
|
||||
- pci_segment: 6
|
||||
- pci_segment: 3
|
||||
path: path
|
||||
iommu: false
|
||||
id: id
|
||||
vdpa:
|
||||
- pci_segment: 3
|
||||
- pci_segment: 7
|
||||
path: path
|
||||
num_queues: 3
|
||||
iommu: false
|
||||
id: id
|
||||
- pci_segment: 3
|
||||
- pci_segment: 7
|
||||
path: path
|
||||
num_queues: 3
|
||||
iommu: false
|
||||
id: id
|
||||
numa:
|
||||
- distances:
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 7
|
||||
destination: 8
|
||||
- distance: 7
|
||||
destination: 8
|
||||
cpus:
|
||||
- 0
|
||||
- 0
|
||||
- 4
|
||||
- 4
|
||||
sgx_epc_sections:
|
||||
- sgx_epc_sections
|
||||
- sgx_epc_sections
|
||||
memory_zones:
|
||||
- memory_zones
|
||||
- memory_zones
|
||||
guest_numa_id: 6
|
||||
guest_numa_id: 0
|
||||
- distances:
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 7
|
||||
destination: 8
|
||||
- distance: 7
|
||||
destination: 8
|
||||
cpus:
|
||||
- 0
|
||||
- 0
|
||||
- 4
|
||||
- 4
|
||||
sgx_epc_sections:
|
||||
- sgx_epc_sections
|
||||
- sgx_epc_sections
|
||||
memory_zones:
|
||||
- memory_zones
|
||||
- memory_zones
|
||||
guest_numa_id: 6
|
||||
tdx:
|
||||
firmware: firmware
|
||||
guest_numa_id: 0
|
||||
rng:
|
||||
iommu: false
|
||||
src: /dev/urandom
|
||||
sgx_epc:
|
||||
- prefault: false
|
||||
size: 7
|
||||
size: 6
|
||||
id: id
|
||||
- prefault: false
|
||||
size: 7
|
||||
size: 6
|
||||
id: id
|
||||
fs:
|
||||
- pci_segment: 6
|
||||
num_queues: 1
|
||||
queue_size: 2
|
||||
num_queues: 2
|
||||
queue_size: 6
|
||||
tag: tag
|
||||
socket: socket
|
||||
id: id
|
||||
- pci_segment: 6
|
||||
num_queues: 1
|
||||
queue_size: 2
|
||||
num_queues: 2
|
||||
queue_size: 6
|
||||
tag: tag
|
||||
socket: socket
|
||||
id: id
|
||||
vsock:
|
||||
pci_segment: 0
|
||||
pci_segment: 7
|
||||
iommu: false
|
||||
socket: socket
|
||||
id: id
|
||||
@@ -967,22 +972,23 @@ components:
|
||||
iommu_segments:
|
||||
- 3
|
||||
- 3
|
||||
num_pci_segments: 7
|
||||
num_pci_segments: 3
|
||||
oem_strings:
|
||||
- oem_strings
|
||||
- oem_strings
|
||||
tdx: false
|
||||
serial_number: serial_number
|
||||
uuid: uuid
|
||||
pmem:
|
||||
- pci_segment: 5
|
||||
- pci_segment: 6
|
||||
file: file
|
||||
size: 6
|
||||
size: 5
|
||||
iommu: false
|
||||
id: id
|
||||
discard_writes: false
|
||||
- pci_segment: 5
|
||||
- pci_segment: 6
|
||||
file: file
|
||||
size: 6
|
||||
size: 5
|
||||
iommu: false
|
||||
id: id
|
||||
discard_writes: false
|
||||
@@ -992,14 +998,16 @@ components:
|
||||
cmdline: cmdline
|
||||
kernel: kernel
|
||||
initramfs: initramfs
|
||||
firmware: firmware
|
||||
serial:
|
||||
mode: "false"
|
||||
file: file
|
||||
iommu: false
|
||||
net:
|
||||
- tap: tap
|
||||
num_queues: 9
|
||||
queue_size: 6
|
||||
host_mac: host_mac
|
||||
num_queues: 6
|
||||
queue_size: 3
|
||||
ip: 192.168.249.1
|
||||
rate_limiter_config:
|
||||
ops:
|
||||
@@ -1011,7 +1019,8 @@ components:
|
||||
one_time_burst: 0
|
||||
refill_time: 0
|
||||
mac: mac
|
||||
pci_segment: 3
|
||||
mtu: 9
|
||||
pci_segment: 6
|
||||
vhost_mode: Client
|
||||
iommu: false
|
||||
vhost_socket: vhost_socket
|
||||
@@ -1019,8 +1028,9 @@ components:
|
||||
id: id
|
||||
mask: 255.255.255.0
|
||||
- tap: tap
|
||||
num_queues: 9
|
||||
queue_size: 6
|
||||
host_mac: host_mac
|
||||
num_queues: 6
|
||||
queue_size: 3
|
||||
ip: 192.168.249.1
|
||||
rate_limiter_config:
|
||||
ops:
|
||||
@@ -1032,7 +1042,8 @@ components:
|
||||
one_time_burst: 0
|
||||
refill_time: 0
|
||||
mac: mac
|
||||
pci_segment: 3
|
||||
mtu: 9
|
||||
pci_segment: 6
|
||||
vhost_mode: Client
|
||||
iommu: false
|
||||
vhost_socket: vhost_socket
|
||||
@@ -1084,8 +1095,6 @@ components:
|
||||
items:
|
||||
$ref: '#/components/schemas/SgxEpcConfig'
|
||||
type: array
|
||||
tdx:
|
||||
$ref: '#/components/schemas/TdxConfig'
|
||||
numa:
|
||||
items:
|
||||
$ref: '#/components/schemas/NumaConfig'
|
||||
@@ -1191,10 +1200,11 @@ components:
|
||||
iommu_segments:
|
||||
- 3
|
||||
- 3
|
||||
num_pci_segments: 7
|
||||
num_pci_segments: 3
|
||||
oem_strings:
|
||||
- oem_strings
|
||||
- oem_strings
|
||||
tdx: false
|
||||
serial_number: serial_number
|
||||
uuid: uuid
|
||||
properties:
|
||||
@@ -1214,6 +1224,9 @@ components:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
tdx:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
MemoryZoneConfig:
|
||||
example:
|
||||
@@ -1442,8 +1455,9 @@ components:
|
||||
NetConfig:
|
||||
example:
|
||||
tap: tap
|
||||
num_queues: 9
|
||||
queue_size: 6
|
||||
host_mac: host_mac
|
||||
num_queues: 6
|
||||
queue_size: 3
|
||||
ip: 192.168.249.1
|
||||
rate_limiter_config:
|
||||
ops:
|
||||
@@ -1455,7 +1469,8 @@ components:
|
||||
one_time_burst: 0
|
||||
refill_time: 0
|
||||
mac: mac
|
||||
pci_segment: 3
|
||||
mtu: 9
|
||||
pci_segment: 6
|
||||
vhost_mode: Client
|
||||
iommu: false
|
||||
vhost_socket: vhost_socket
|
||||
@@ -1473,6 +1488,10 @@ components:
|
||||
type: string
|
||||
mac:
|
||||
type: string
|
||||
host_mac:
|
||||
type: string
|
||||
mtu:
|
||||
type: integer
|
||||
iommu:
|
||||
default: false
|
||||
type: boolean
|
||||
@@ -1514,7 +1533,7 @@ components:
|
||||
type: object
|
||||
BalloonConfig:
|
||||
example:
|
||||
size: 6
|
||||
size: 1
|
||||
deflate_on_oom: false
|
||||
free_page_reporting: false
|
||||
properties:
|
||||
@@ -1535,8 +1554,8 @@ components:
|
||||
FsConfig:
|
||||
example:
|
||||
pci_segment: 6
|
||||
num_queues: 1
|
||||
queue_size: 2
|
||||
num_queues: 2
|
||||
queue_size: 6
|
||||
tag: tag
|
||||
socket: socket
|
||||
id: id
|
||||
@@ -1564,9 +1583,9 @@ components:
|
||||
type: object
|
||||
PmemConfig:
|
||||
example:
|
||||
pci_segment: 5
|
||||
pci_segment: 6
|
||||
file: file
|
||||
size: 6
|
||||
size: 5
|
||||
iommu: false
|
||||
id: id
|
||||
discard_writes: false
|
||||
@@ -1614,7 +1633,7 @@ components:
|
||||
type: object
|
||||
DeviceConfig:
|
||||
example:
|
||||
pci_segment: 6
|
||||
pci_segment: 3
|
||||
path: path
|
||||
iommu: false
|
||||
id: id
|
||||
@@ -1634,7 +1653,7 @@ components:
|
||||
type: object
|
||||
VdpaConfig:
|
||||
example:
|
||||
pci_segment: 3
|
||||
pci_segment: 7
|
||||
path: path
|
||||
num_queues: 3
|
||||
iommu: false
|
||||
@@ -1659,7 +1678,7 @@ components:
|
||||
type: object
|
||||
VsockConfig:
|
||||
example:
|
||||
pci_segment: 0
|
||||
pci_segment: 7
|
||||
iommu: false
|
||||
socket: socket
|
||||
id: id
|
||||
@@ -1688,7 +1707,7 @@ components:
|
||||
SgxEpcConfig:
|
||||
example:
|
||||
prefault: false
|
||||
size: 7
|
||||
size: 6
|
||||
id: id
|
||||
properties:
|
||||
id:
|
||||
@@ -1703,21 +1722,10 @@ components:
|
||||
- id
|
||||
- size
|
||||
type: object
|
||||
TdxConfig:
|
||||
example:
|
||||
firmware: firmware
|
||||
properties:
|
||||
firmware:
|
||||
description: Path to the firmware that will be used to boot the TDx guest
|
||||
up.
|
||||
type: string
|
||||
required:
|
||||
- firmware
|
||||
type: object
|
||||
NumaDistance:
|
||||
example:
|
||||
distance: 8
|
||||
destination: 4
|
||||
distance: 7
|
||||
destination: 8
|
||||
properties:
|
||||
destination:
|
||||
format: int32
|
||||
@@ -1732,20 +1740,20 @@ components:
|
||||
NumaConfig:
|
||||
example:
|
||||
distances:
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 8
|
||||
destination: 4
|
||||
- distance: 7
|
||||
destination: 8
|
||||
- distance: 7
|
||||
destination: 8
|
||||
cpus:
|
||||
- 0
|
||||
- 0
|
||||
- 4
|
||||
- 4
|
||||
sgx_epc_sections:
|
||||
- sgx_epc_sections
|
||||
- sgx_epc_sections
|
||||
memory_zones:
|
||||
- memory_zones
|
||||
- memory_zones
|
||||
guest_numa_id: 6
|
||||
guest_numa_id: 0
|
||||
properties:
|
||||
guest_numa_id:
|
||||
format: int32
|
||||
|
||||
Reference in New Issue
Block a user