diff --git a/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api/openapi.yaml b/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api/openapi.yaml index d514ae7b81..3af93f9c26 100644 --- a/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api/openapi.yaml +++ b/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api/openapi.yaml @@ -415,10 +415,17 @@ components: VmmPingResponse: description: Virtual Machine Monitor information example: + build_version: build_version + pid: 0 version: version properties: + build_version: + type: string version: type: string + pid: + format: int64 + type: integer required: - version type: object diff --git a/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/VmmPingResponse.md b/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/VmmPingResponse.md index f48f429898..29abc3c888 100644 --- a/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/VmmPingResponse.md +++ b/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/VmmPingResponse.md @@ -4,7 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**BuildVersion** | Pointer to **string** | | [optional] **Version** | **string** | | +**Pid** | Pointer to **int64** | | [optional] ## Methods @@ -25,6 +27,31 @@ NewVmmPingResponseWithDefaults instantiates a new VmmPingResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetBuildVersion + +`func (o *VmmPingResponse) GetBuildVersion() string` + +GetBuildVersion returns the BuildVersion field if non-nil, zero value otherwise. + +### GetBuildVersionOk + +`func (o *VmmPingResponse) GetBuildVersionOk() (*string, bool)` + +GetBuildVersionOk returns a tuple with the BuildVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBuildVersion + +`func (o *VmmPingResponse) SetBuildVersion(v string)` + +SetBuildVersion sets BuildVersion field to given value. + +### HasBuildVersion + +`func (o *VmmPingResponse) HasBuildVersion() bool` + +HasBuildVersion returns a boolean if a field has been set. + ### GetVersion `func (o *VmmPingResponse) GetVersion() string` @@ -45,6 +72,31 @@ and a boolean to check if the value has been set. SetVersion sets Version field to given value. +### GetPid + +`func (o *VmmPingResponse) GetPid() int64` + +GetPid returns the Pid field if non-nil, zero value otherwise. + +### GetPidOk + +`func (o *VmmPingResponse) GetPidOk() (*int64, bool)` + +GetPidOk returns a tuple with the Pid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPid + +`func (o *VmmPingResponse) SetPid(v int64)` + +SetPid sets Pid field to given value. + +### HasPid + +`func (o *VmmPingResponse) HasPid() bool` + +HasPid returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/model_vmm_ping_response.go b/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/model_vmm_ping_response.go index 63c7b0f503..314d7da33f 100644 --- a/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/model_vmm_ping_response.go +++ b/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/model_vmm_ping_response.go @@ -16,7 +16,9 @@ import ( // VmmPingResponse Virtual Machine Monitor information type VmmPingResponse struct { - Version string `json:"version"` + BuildVersion *string `json:"build_version,omitempty"` + Version string `json:"version"` + Pid *int64 `json:"pid,omitempty"` } // NewVmmPingResponse instantiates a new VmmPingResponse object @@ -37,6 +39,38 @@ func NewVmmPingResponseWithDefaults() *VmmPingResponse { return &this } +// GetBuildVersion returns the BuildVersion field value if set, zero value otherwise. +func (o *VmmPingResponse) GetBuildVersion() string { + if o == nil || o.BuildVersion == nil { + var ret string + return ret + } + return *o.BuildVersion +} + +// GetBuildVersionOk returns a tuple with the BuildVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VmmPingResponse) GetBuildVersionOk() (*string, bool) { + if o == nil || o.BuildVersion == nil { + return nil, false + } + return o.BuildVersion, true +} + +// HasBuildVersion returns a boolean if a field has been set. +func (o *VmmPingResponse) HasBuildVersion() bool { + if o != nil && o.BuildVersion != nil { + return true + } + + return false +} + +// SetBuildVersion gets a reference to the given string and assigns it to the BuildVersion field. +func (o *VmmPingResponse) SetBuildVersion(v string) { + o.BuildVersion = &v +} + // GetVersion returns the Version field value func (o *VmmPingResponse) GetVersion() string { if o == nil { @@ -61,11 +95,49 @@ func (o *VmmPingResponse) SetVersion(v string) { o.Version = v } +// GetPid returns the Pid field value if set, zero value otherwise. +func (o *VmmPingResponse) GetPid() int64 { + if o == nil || o.Pid == nil { + var ret int64 + return ret + } + return *o.Pid +} + +// GetPidOk returns a tuple with the Pid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VmmPingResponse) GetPidOk() (*int64, bool) { + if o == nil || o.Pid == nil { + return nil, false + } + return o.Pid, true +} + +// HasPid returns a boolean if a field has been set. +func (o *VmmPingResponse) HasPid() bool { + if o != nil && o.Pid != nil { + return true + } + + return false +} + +// SetPid gets a reference to the given int64 and assigns it to the Pid field. +func (o *VmmPingResponse) SetPid(v int64) { + o.Pid = &v +} + func (o VmmPingResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} + if o.BuildVersion != nil { + toSerialize["build_version"] = o.BuildVersion + } if true { toSerialize["version"] = o.Version } + if o.Pid != nil { + toSerialize["pid"] = o.Pid + } return json.Marshal(toSerialize) } diff --git a/src/runtime/virtcontainers/pkg/cloud-hypervisor/cloud-hypervisor.yaml b/src/runtime/virtcontainers/pkg/cloud-hypervisor/cloud-hypervisor.yaml index a2392f9884..0300d40227 100644 --- a/src/runtime/virtcontainers/pkg/cloud-hypervisor/cloud-hypervisor.yaml +++ b/src/runtime/virtcontainers/pkg/cloud-hypervisor/cloud-hypervisor.yaml @@ -438,8 +438,13 @@ components: - version type: object properties: + build_version: + type: string version: type: string + pid: + type: integer + format: int64 description: Virtual Machine Monitor information VmInfo: diff --git a/versions.yaml b/versions.yaml index f18f03d27a..9642541dd2 100644 --- a/versions.yaml +++ b/versions.yaml @@ -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: "v31.0" + version: "v32.0" firecracker: description: "Firecracker micro-VMM"