Skip to content

Commit 07efe1d

Browse files
committed
Client Python update by KubeVirt Prow build 1940012094380314624
1 parent 7aa3c74 commit 07efe1d

File tree

8 files changed

+38
-9
lines changed

8 files changed

+38
-9
lines changed

README.md

Lines changed: 1 addition & 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-414-ge93e609e3d
7+
- Package version: v1.6.0-beta.0-421-g988e79c774
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

docs/V1VirtualMachineInstanceMigrationStatus.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**migration_state** | [**V1VirtualMachineInstanceMigrationState**](V1VirtualMachineInstanceMigrationState.md) | Represents the status of a live migration | [optional]
88
**phase** | **str** | | [optional]
99
**phase_transition_timestamps** | [**list[V1VirtualMachineInstanceMigrationPhaseTransitionTimestamp]**](V1VirtualMachineInstanceMigrationPhaseTransitionTimestamp.md) | PhaseTransitionTimestamp is the timestamp of when the last phase change occurred | [optional]
10+
**synchronization_address** | **str** | The synchronization address one can use to connect to the synchronization controller, includes the port | [optional]
1011

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

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-414-ge93e609e3d"
21+
release_note="Auto-generated client v1.6.0-beta.0-421-g988e79c774"
2222
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
2323
fi
2424

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-414-ge93e609e3d/python'
76+
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-421-g988e79c774/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-414-ge93e609e3d".\
230+
"SDK Package Version: v1.6.0-beta.0-421-g988e79c774".\
231231
format(env=sys.platform, pyversion=sys.version)

kubevirt/models/v1_virtual_machine_instance_migration_status.py

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ class V1VirtualMachineInstanceMigrationStatus(object):
3434
'conditions': 'list[V1VirtualMachineInstanceMigrationCondition]',
3535
'migration_state': 'V1VirtualMachineInstanceMigrationState',
3636
'phase': 'str',
37-
'phase_transition_timestamps': 'list[V1VirtualMachineInstanceMigrationPhaseTransitionTimestamp]'
37+
'phase_transition_timestamps': 'list[V1VirtualMachineInstanceMigrationPhaseTransitionTimestamp]',
38+
'synchronization_address': 'str'
3839
}
3940

4041
attribute_map = {
4142
'conditions': 'conditions',
4243
'migration_state': 'migrationState',
4344
'phase': 'phase',
44-
'phase_transition_timestamps': 'phaseTransitionTimestamps'
45+
'phase_transition_timestamps': 'phaseTransitionTimestamps',
46+
'synchronization_address': 'synchronizationAddress'
4547
}
4648

47-
def __init__(self, conditions=None, migration_state=None, phase=None, phase_transition_timestamps=None):
49+
def __init__(self, conditions=None, migration_state=None, phase=None, phase_transition_timestamps=None, synchronization_address=None):
4850
"""
4951
V1VirtualMachineInstanceMigrationStatus - a model defined in Swagger
5052
"""
@@ -53,6 +55,7 @@ def __init__(self, conditions=None, migration_state=None, phase=None, phase_tran
5355
self._migration_state = None
5456
self._phase = None
5557
self._phase_transition_timestamps = None
58+
self._synchronization_address = None
5659

5760
if conditions is not None:
5861
self.conditions = conditions
@@ -62,6 +65,8 @@ def __init__(self, conditions=None, migration_state=None, phase=None, phase_tran
6265
self.phase = phase
6366
if phase_transition_timestamps is not None:
6467
self.phase_transition_timestamps = phase_transition_timestamps
68+
if synchronization_address is not None:
69+
self.synchronization_address = synchronization_address
6570

6671
@property
6772
def conditions(self):
@@ -151,6 +156,29 @@ def phase_transition_timestamps(self, phase_transition_timestamps):
151156

152157
self._phase_transition_timestamps = phase_transition_timestamps
153158

159+
@property
160+
def synchronization_address(self):
161+
"""
162+
Gets the synchronization_address of this V1VirtualMachineInstanceMigrationStatus.
163+
The synchronization address one can use to connect to the synchronization controller, includes the port
164+
165+
:return: The synchronization_address of this V1VirtualMachineInstanceMigrationStatus.
166+
:rtype: str
167+
"""
168+
return self._synchronization_address
169+
170+
@synchronization_address.setter
171+
def synchronization_address(self, synchronization_address):
172+
"""
173+
Sets the synchronization_address of this V1VirtualMachineInstanceMigrationStatus.
174+
The synchronization address one can use to connect to the synchronization controller, includes the port
175+
176+
:param synchronization_address: The synchronization_address of this V1VirtualMachineInstanceMigrationStatus.
177+
:type: str
178+
"""
179+
180+
self._synchronization_address = synchronization_address
181+
154182
def to_dict(self):
155183
"""
156184
Returns the model properties as a dict

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from setuptools import setup, find_packages
1616

1717
NAME = "kubevirt-py"
18-
VERSION = "v1.6.0-beta.0-414-ge93e609e3d"
18+
VERSION = "v1.6.0-beta.0-421-g988e79c774"
1919
# To install the library, run the following
2020
#
2121
# python setup.py install

swagger-codegen-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packageName": "kubevirt",
33
"projectName": "kubevirt-py",
44
"packageUrl": "https://github.com/kubevirt/client-python",
5-
"packageVersion": "v1.6.0-beta.0-414-ge93e609e3d"
5+
"packageVersion": "v1.6.0-beta.0-421-g988e79c774"
66
}

0 commit comments

Comments
 (0)