Merge pull request #1780 from likebreath/0429/clh_v15.0

versions: Upgrade to cloud-hypervisor v15.0
This commit is contained in:
Fabiano Fidêncio 2021-04-30 18:20:36 +02:00 committed by GitHub
commit 2e0221125a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 63 additions and 12 deletions

View File

@ -525,6 +525,15 @@ components:
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
one_time_burst: 0
refill_time: 0
bandwidth:
size: 0
one_time_burst: 0
refill_time: 0
mac: mac
fd:
- 8
@ -538,6 +547,15 @@ components:
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
one_time_burst: 0
refill_time: 0
bandwidth:
size: 0
one_time_burst: 0
refill_time: 0
mac: mac
fd:
- 8
@ -801,6 +819,15 @@ components:
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
one_time_burst: 0
refill_time: 0
bandwidth:
size: 0
one_time_burst: 0
refill_time: 0
mac: mac
fd:
- 8
@ -814,6 +841,15 @@ components:
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
one_time_burst: 0
refill_time: 0
bandwidth:
size: 0
one_time_burst: 0
refill_time: 0
mac: mac
fd:
- 8
@ -1172,6 +1208,15 @@ components:
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
one_time_burst: 0
refill_time: 0
bandwidth:
size: 0
one_time_burst: 0
refill_time: 0
mac: mac
fd:
- 8
@ -1210,6 +1255,8 @@ components:
format: int32
type: integer
type: array
rate_limiter_config:
$ref: '#/components/schemas/RateLimiterConfig'
type: object
RngConfig:
example:

View File

@ -15,6 +15,7 @@ Name | Type | Description | Notes
**VhostSocket** | **string** | | [optional]
**Id** | **string** | | [optional]
**Fd** | **[]int32** | | [optional]
**RateLimiterConfig** | [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -11,15 +11,16 @@ package openapi
// NetConfig struct for NetConfig
type NetConfig struct {
Tap string `json:"tap,omitempty"`
Ip string `json:"ip,omitempty"`
Mask string `json:"mask,omitempty"`
Mac string `json:"mac,omitempty"`
Iommu bool `json:"iommu,omitempty"`
NumQueues int32 `json:"num_queues,omitempty"`
QueueSize int32 `json:"queue_size,omitempty"`
VhostUser bool `json:"vhost_user,omitempty"`
VhostSocket string `json:"vhost_socket,omitempty"`
Id string `json:"id,omitempty"`
Fd []int32 `json:"fd,omitempty"`
Tap string `json:"tap,omitempty"`
Ip string `json:"ip,omitempty"`
Mask string `json:"mask,omitempty"`
Mac string `json:"mac,omitempty"`
Iommu bool `json:"iommu,omitempty"`
NumQueues int32 `json:"num_queues,omitempty"`
QueueSize int32 `json:"queue_size,omitempty"`
VhostUser bool `json:"vhost_user,omitempty"`
VhostSocket string `json:"vhost_socket,omitempty"`
Id string `json:"id,omitempty"`
Fd []int32 `json:"fd,omitempty"`
RateLimiterConfig RateLimiterConfig `json:"rate_limiter_config,omitempty"`
}

View File

@ -719,6 +719,8 @@ components:
items:
type: integer
format: int32
rate_limiter_config:
$ref: '#/components/schemas/RateLimiterConfig'
RngConfig:
required:

View File

@ -75,7 +75,7 @@ assets:
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
uscan-url: >-
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
version: "v0.14.1"
version: "v15.0"
firecracker:
description: "Firecracker micro-VMM"