Skip to content

Commit fcaeb71

Browse files
committed
Client Python update by KubeVirt Prow build 1935120505359044608
1 parent 7f2dbdb commit fcaeb71

14 files changed

+221
-7
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is KubeVirt API an add-on for Kubernetes.
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 1.0.0
7-
- Package version: v1.6.0-beta.0-225-gffa96edce9
7+
- Package version: v1.6.0-beta.0-239-ga71827143b
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://github.com/kubevirt/kubevirt](https://github.com/kubevirt/kubevirt)
1010

@@ -582,6 +582,7 @@ Class | Method | HTTP request | Description
582582
- [V1UserPasswordAccessCredentialSource](docs/V1UserPasswordAccessCredentialSource.md)
583583
- [V1VGPUDisplayOptions](docs/V1VGPUDisplayOptions.md)
584584
- [V1VGPUOptions](docs/V1VGPUOptions.md)
585+
- [V1VideoDevice](docs/V1VideoDevice.md)
585586
- [V1VirtualMachine](docs/V1VirtualMachine.md)
586587
- [V1VirtualMachineCondition](docs/V1VirtualMachineCondition.md)
587588
- [V1VirtualMachineInstance](docs/V1VirtualMachineInstance.md)

docs/V1Devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
2525
**sound** | [**V1SoundDevice**](V1SoundDevice.md) | Whether to emulate a sound device. | [optional]
2626
**tpm** | [**V1TPMDevice**](V1TPMDevice.md) | Whether to emulate a TPM device. | [optional]
2727
**use_virtio_transitional** | **bool** | Fall back to legacy virtio 0.9 support if virtio bus is selected on devices. This is helpful for old machines like CentOS6 or RHEL6 which do not understand virtio_non_transitional (virtio 1.0). | [optional]
28+
**video** | [**V1VideoDevice**](V1VideoDevice.md) | Video describes the video device configuration for the vmi. | [optional]
2829
**watchdog** | [**V1Watchdog**](V1Watchdog.md) | Watchdog describes a watchdog device which can be added to the vmi. | [optional]
2930

3031
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/V1VideoDevice.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# V1VideoDevice
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**type** | **str** | Type specifies the video device type (e.g., virtio, vga, bochs, ramfb). If not specified, the default is architecture-dependent (VGA for BIOS-based VMs, Bochs for EFI-based VMs on AMD64; virtio for Arm and s390x). | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

git_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "$git_repo_id" = "" ]; then
1818
fi
1919

2020
if [ "$release_note" = "" ]; then
21-
release_note="Auto-generated client v1.6.0-beta.0-225-gffa96edce9"
21+
release_note="Auto-generated client v1.6.0-beta.0-239-ga71827143b"
2222
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
2323
fi
2424

kubevirt-pysdk-codegen.log

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,9 @@ Populated by the system. Read-only. Null for lists. More info: https://git.k8s.i
738738
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/kubevirt/models/v1_vgpu_options.py
739739
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/test/test_v1_vgpu_options.py
740740
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/docs/V1VGPUOptions.md
741+
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/kubevirt/models/v1_video_device.py
742+
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/test/test_v1_video_device.py
743+
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/docs/V1VideoDevice.md
741744
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/kubevirt/models/v1_virtual_machine.py
742745
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/test/test_v1_virtual_machine.py
743746
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/docs/V1VirtualMachine.md

kubevirt/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
from .models.v1_user_password_access_credential_source import V1UserPasswordAccessCredentialSource
254254
from .models.v1_vgpu_display_options import V1VGPUDisplayOptions
255255
from .models.v1_vgpu_options import V1VGPUOptions
256+
from .models.v1_video_device import V1VideoDevice
256257
from .models.v1_virtual_machine import V1VirtualMachine
257258
from .models.v1_virtual_machine_condition import V1VirtualMachineCondition
258259
from .models.v1_virtual_machine_instance import V1VirtualMachineInstance

kubevirt/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None):
7373
self.host = host
7474
self.cookie = cookie
7575
# Set default User-Agent.
76-
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-225-gffa96edce9/python'
76+
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-239-ga71827143b/python'
7777

7878
@property
7979
def user_agent(self):

kubevirt/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,5 @@ def to_debug_report(self):
227227
"OS: {env}\n"\
228228
"Python Version: {pyversion}\n"\
229229
"Version of the API: 1.0.0\n"\
230-
"SDK Package Version: v1.6.0-beta.0-225-gffa96edce9".\
230+
"SDK Package Version: v1.6.0-beta.0-239-ga71827143b".\
231231
format(env=sys.platform, pyversion=sys.version)

kubevirt/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
from .v1_user_password_access_credential_source import V1UserPasswordAccessCredentialSource
254254
from .v1_vgpu_display_options import V1VGPUDisplayOptions
255255
from .v1_vgpu_options import V1VGPUOptions
256+
from .v1_video_device import V1VideoDevice
256257
from .v1_virtual_machine import V1VirtualMachine
257258
from .v1_virtual_machine_condition import V1VirtualMachineCondition
258259
from .v1_virtual_machine_instance import V1VirtualMachineInstance

kubevirt/models/v1_devices.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class V1Devices(object):
5353
'sound': 'V1SoundDevice',
5454
'tpm': 'V1TPMDevice',
5555
'use_virtio_transitional': 'bool',
56+
'video': 'V1VideoDevice',
5657
'watchdog': 'V1Watchdog'
5758
}
5859

@@ -79,10 +80,11 @@ class V1Devices(object):
7980
'sound': 'sound',
8081
'tpm': 'tpm',
8182
'use_virtio_transitional': 'useVirtioTransitional',
83+
'video': 'video',
8284
'watchdog': 'watchdog'
8385
}
8486

85-
def __init__(self, autoattach_graphics_device=None, autoattach_input_device=None, autoattach_mem_balloon=None, autoattach_pod_interface=None, autoattach_serial_console=None, autoattach_vsock=None, block_multi_queue=None, client_passthrough=None, disable_hotplug=None, disks=None, downward_metrics=None, filesystems=None, gpus=None, host_devices=None, inputs=None, interfaces=None, log_serial_console=None, network_interface_multiqueue=None, rng=None, sound=None, tpm=None, use_virtio_transitional=None, watchdog=None):
87+
def __init__(self, autoattach_graphics_device=None, autoattach_input_device=None, autoattach_mem_balloon=None, autoattach_pod_interface=None, autoattach_serial_console=None, autoattach_vsock=None, block_multi_queue=None, client_passthrough=None, disable_hotplug=None, disks=None, downward_metrics=None, filesystems=None, gpus=None, host_devices=None, inputs=None, interfaces=None, log_serial_console=None, network_interface_multiqueue=None, rng=None, sound=None, tpm=None, use_virtio_transitional=None, video=None, watchdog=None):
8688
"""
8789
V1Devices - a model defined in Swagger
8890
"""
@@ -109,6 +111,7 @@ def __init__(self, autoattach_graphics_device=None, autoattach_input_device=None
109111
self._sound = None
110112
self._tpm = None
111113
self._use_virtio_transitional = None
114+
self._video = None
112115
self._watchdog = None
113116

114117
if autoattach_graphics_device is not None:
@@ -155,6 +158,8 @@ def __init__(self, autoattach_graphics_device=None, autoattach_input_device=None
155158
self.tpm = tpm
156159
if use_virtio_transitional is not None:
157160
self.use_virtio_transitional = use_virtio_transitional
161+
if video is not None:
162+
self.video = video
158163
if watchdog is not None:
159164
self.watchdog = watchdog
160165

@@ -664,6 +669,29 @@ def use_virtio_transitional(self, use_virtio_transitional):
664669

665670
self._use_virtio_transitional = use_virtio_transitional
666671

672+
@property
673+
def video(self):
674+
"""
675+
Gets the video of this V1Devices.
676+
Video describes the video device configuration for the vmi.
677+
678+
:return: The video of this V1Devices.
679+
:rtype: V1VideoDevice
680+
"""
681+
return self._video
682+
683+
@video.setter
684+
def video(self, video):
685+
"""
686+
Sets the video of this V1Devices.
687+
Video describes the video device configuration for the vmi.
688+
689+
:param video: The video of this V1Devices.
690+
:type: V1VideoDevice
691+
"""
692+
693+
self._video = video
694+
667695
@property
668696
def watchdog(self):
669697
"""

0 commit comments

Comments
 (0)