Skip to content

Commit 218b45c

Browse files
committed
Client Python update by KubeVirt Prow build 1797914600952303616
1 parent 8b512c5 commit 218b45c

16 files changed

+310
-8
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.3.0-beta.0-20-ge54ebc8d2
7+
- Package version: v1.3.0-beta.0-52-g3d7c9d492
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

@@ -552,6 +552,7 @@ Class | Method | HTTP request | Description
552552
- [V1SoundDevice](docs/V1SoundDevice.md)
553553
- [V1StartOptions](docs/V1StartOptions.md)
554554
- [V1StopOptions](docs/V1StopOptions.md)
555+
- [V1StorageMigratedVolumeInfo](docs/V1StorageMigratedVolumeInfo.md)
555556
- [V1SupportContainerResources](docs/V1SupportContainerResources.md)
556557
- [V1SyNICTimer](docs/V1SyNICTimer.md)
557558
- [V1SysprepSource](docs/V1SysprepSource.md)

docs/V1PersistentVolumeClaimInfo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**access_modes** | **list[str]** | AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional]
77
**capacity** | [**dict(str, K8sIoApimachineryPkgApiResourceQuantity)**](K8sIoApimachineryPkgApiResourceQuantity.md) | Capacity represents the capacity set on the corresponding PVC status | [optional]
8+
**claim_name** | **str** | ClaimName is the name of the PVC | [optional]
89
**filesystem_overhead** | **str** | Percentage of filesystem's size to be reserved when resizing the PVC | [optional]
910
**preallocated** | **bool** | Preallocated indicates if the PVC's storage is preallocated or not | [optional]
1011
**requests** | [**dict(str, K8sIoApimachineryPkgApiResourceQuantity)**](K8sIoApimachineryPkgApiResourceQuantity.md) | Requests represents the resources requested by the corresponding PVC spec | [optional]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# V1StorageMigratedVolumeInfo
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**destination_pvc_info** | [**V1PersistentVolumeClaimInfo**](V1PersistentVolumeClaimInfo.md) | DestinationPVCInfo contains the information about the destination PVC | [optional]
7+
**source_pvc_info** | [**V1PersistentVolumeClaimInfo**](V1PersistentVolumeClaimInfo.md) | SourcePVCInfo contains the information about the source PVC | [optional]
8+
**volume_name** | **str** | VolumeName is the name of the volume that is being migrated | [default to '']
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/V1VirtualMachineInstanceStatus.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**launcher_container_image_version** | **str** | LauncherContainerImageVersion indicates what container image is currently active for the vmi. | [optional]
1616
**machine** | [**V1Machine**](V1Machine.md) | Machine shows the final resulting qemu machine type. This can be different than the machine type selected in the spec, due to qemus machine type alias mechanism. | [optional]
1717
**memory** | [**V1MemoryStatus**](V1MemoryStatus.md) | Memory shows various informations about the VirtualMachine memory. | [optional]
18+
**migrated_volumes** | [**list[V1StorageMigratedVolumeInfo]**](V1StorageMigratedVolumeInfo.md) | MigratedVolumes lists the source and destination volumes during the volume migration | [optional]
1819
**migration_method** | **str** | Represents the method using which the vmi can be migrated: live migration or block migration | [optional]
1920
**migration_state** | [**V1VirtualMachineInstanceMigrationState**](V1VirtualMachineInstanceMigrationState.md) | Represents the status of a live migration | [optional]
2021
**migration_transport** | **str** | This represents the migration transport | [optional]

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.3.0-beta.0-20-ge54ebc8d2"
21+
release_note="Auto-generated client v1.3.0-beta.0-52-g3d7c9d492"
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
@@ -668,6 +668,9 @@ Populated by the system. Read-only. Null for lists. More info: https://git.k8s.i
668668
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/kubevirt/models/v1_stop_options.py
669669
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/test/test_v1_stop_options.py
670670
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/docs/V1StopOptions.md
671+
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/kubevirt/models/v1_storage_migrated_volume_info.py
672+
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/test/test_v1_storage_migrated_volume_info.py
673+
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/docs/V1StorageMigratedVolumeInfo.md
671674
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/kubevirt/models/v1_support_container_resources.py
672675
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/test/test_v1_support_container_resources.py
673676
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /root/go/src/kubevirt.io/kubevirt/_out/client-python/docs/V1SupportContainerResources.md

kubevirt/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@
229229
from .models.v1_sound_device import V1SoundDevice
230230
from .models.v1_start_options import V1StartOptions
231231
from .models.v1_stop_options import V1StopOptions
232+
from .models.v1_storage_migrated_volume_info import V1StorageMigratedVolumeInfo
232233
from .models.v1_support_container_resources import V1SupportContainerResources
233234
from .models.v1_sy_nic_timer import V1SyNICTimer
234235
from .models.v1_sysprep_source import V1SysprepSource

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.3.0-beta.0-20-ge54ebc8d2/python'
76+
self.user_agent = 'Swagger-Codegen/v1.3.0-beta.0-52-g3d7c9d492/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.3.0-beta.0-20-ge54ebc8d2".\
230+
"SDK Package Version: v1.3.0-beta.0-52-g3d7c9d492".\
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
@@ -229,6 +229,7 @@
229229
from .v1_sound_device import V1SoundDevice
230230
from .v1_start_options import V1StartOptions
231231
from .v1_stop_options import V1StopOptions
232+
from .v1_storage_migrated_volume_info import V1StorageMigratedVolumeInfo
232233
from .v1_support_container_resources import V1SupportContainerResources
233234
from .v1_sy_nic_timer import V1SyNICTimer
234235
from .v1_sysprep_source import V1SysprepSource

0 commit comments

Comments
 (0)