assisted-service-client 2.37.0.post10__py3-none-any.whl → 2.37.0.post14__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of assisted-service-client might be problematic. Click here for more details.
- assisted_service_client/__init__.py +1 -0
- assisted_service_client/models/__init__.py +1 -0
- assisted_service_client/models/cluster.py +29 -3
- assisted_service_client/models/cluster_create_params.py +29 -3
- assisted_service_client/models/feature_support_level_id.py +1 -0
- assisted_service_client/models/load_balancer.py +123 -0
- assisted_service_client/models/v2_cluster_update_params.py +29 -3
- {assisted_service_client-2.37.0.post10.dist-info → assisted_service_client-2.37.0.post14.dist-info}/METADATA +2 -1
- {assisted_service_client-2.37.0.post10.dist-info → assisted_service_client-2.37.0.post14.dist-info}/RECORD +12 -10
- test/test_load_balancer.py +40 -0
- {assisted_service_client-2.37.0.post10.dist-info → assisted_service_client-2.37.0.post14.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.37.0.post10.dist-info → assisted_service_client-2.37.0.post14.dist-info}/top_level.txt +0 -0
|
@@ -133,6 +133,7 @@ from assisted_service_client.models.last_installation_preparation import LastIns
|
|
|
133
133
|
from assisted_service_client.models.list_managed_domains import ListManagedDomains
|
|
134
134
|
from assisted_service_client.models.list_manifests import ListManifests
|
|
135
135
|
from assisted_service_client.models.list_versions import ListVersions
|
|
136
|
+
from assisted_service_client.models.load_balancer import LoadBalancer
|
|
136
137
|
from assisted_service_client.models.logs_gather_cmd_request import LogsGatherCmdRequest
|
|
137
138
|
from assisted_service_client.models.logs_progress_params import LogsProgressParams
|
|
138
139
|
from assisted_service_client.models.logs_state import LogsState
|
|
@@ -121,6 +121,7 @@ from assisted_service_client.models.last_installation_preparation import LastIns
|
|
|
121
121
|
from assisted_service_client.models.list_managed_domains import ListManagedDomains
|
|
122
122
|
from assisted_service_client.models.list_manifests import ListManifests
|
|
123
123
|
from assisted_service_client.models.list_versions import ListVersions
|
|
124
|
+
from assisted_service_client.models.load_balancer import LoadBalancer
|
|
124
125
|
from assisted_service_client.models.logs_gather_cmd_request import LogsGatherCmdRequest
|
|
125
126
|
from assisted_service_client.models.logs_progress_params import LogsProgressParams
|
|
126
127
|
from assisted_service_client.models.logs_state import LogsState
|
|
@@ -100,7 +100,8 @@ class Cluster(object):
|
|
|
100
100
|
'tags': 'str',
|
|
101
101
|
'last_installation_preparation': 'LastInstallationPreparation',
|
|
102
102
|
'org_soft_timeouts_enabled': 'bool',
|
|
103
|
-
'control_plane_count': 'int'
|
|
103
|
+
'control_plane_count': 'int',
|
|
104
|
+
'load_balancer': 'LoadBalancer'
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
attribute_map = {
|
|
@@ -173,10 +174,11 @@ class Cluster(object):
|
|
|
173
174
|
'tags': 'tags',
|
|
174
175
|
'last_installation_preparation': 'last-installation-preparation',
|
|
175
176
|
'org_soft_timeouts_enabled': 'org_soft_timeouts_enabled',
|
|
176
|
-
'control_plane_count': 'control_plane_count'
|
|
177
|
+
'control_plane_count': 'control_plane_count',
|
|
178
|
+
'load_balancer': 'load_balancer'
|
|
177
179
|
}
|
|
178
180
|
|
|
179
|
-
def __init__(self, kind=None, high_availability_mode='Full', id=None, href=None, name=None, user_name=None, org_id=None, email_domain=None, openshift_version=None, ocp_release_image=None, openshift_cluster_id=None, image_info=None, platform=None, base_dns_domain=None, cluster_network_cidr=None, cluster_network_host_prefix=None, service_network_cidr=None, api_vips=None, api_vip_dns_name=None, machine_network_cidr=None, ingress_vips=None, ssh_public_key=None, http_proxy=None, https_proxy=None, no_proxy=None, status=None, status_info=None, status_updated_at=None, progress=None, disk_encryption=None, hosts=None, ready_host_count=None, enabled_host_count=None, total_host_count=None, schedulable_masters=False, schedulable_masters_forced_true=True, updated_at=None, created_at=None, install_started_at=None, install_completed_at=None, host_networks=None, pull_secret_set=None, vip_dhcp_allocation=None, validations_info=None, logs_info=None, install_config_overrides=None, controller_logs_collected_at=None, controller_logs_started_at=None, connectivity_majority_groups=None, ip_collisions=None, ignored_host_validations=None, ignored_cluster_validations=None, deleted_at=None, user_managed_networking=None, additional_ntp_source=None, monitored_operators=None, ams_subscription_id=None, hyperthreading=None, feature_usage=None, network_type=None, cluster_networks=None, service_networks=None, machine_networks=None, cpu_architecture='x86_64', ignition_endpoint=None, imported=False, tags=None, last_installation_preparation=None, org_soft_timeouts_enabled=None, control_plane_count=None): # noqa: E501
|
|
181
|
+
def __init__(self, kind=None, high_availability_mode='Full', id=None, href=None, name=None, user_name=None, org_id=None, email_domain=None, openshift_version=None, ocp_release_image=None, openshift_cluster_id=None, image_info=None, platform=None, base_dns_domain=None, cluster_network_cidr=None, cluster_network_host_prefix=None, service_network_cidr=None, api_vips=None, api_vip_dns_name=None, machine_network_cidr=None, ingress_vips=None, ssh_public_key=None, http_proxy=None, https_proxy=None, no_proxy=None, status=None, status_info=None, status_updated_at=None, progress=None, disk_encryption=None, hosts=None, ready_host_count=None, enabled_host_count=None, total_host_count=None, schedulable_masters=False, schedulable_masters_forced_true=True, updated_at=None, created_at=None, install_started_at=None, install_completed_at=None, host_networks=None, pull_secret_set=None, vip_dhcp_allocation=None, validations_info=None, logs_info=None, install_config_overrides=None, controller_logs_collected_at=None, controller_logs_started_at=None, connectivity_majority_groups=None, ip_collisions=None, ignored_host_validations=None, ignored_cluster_validations=None, deleted_at=None, user_managed_networking=None, additional_ntp_source=None, monitored_operators=None, ams_subscription_id=None, hyperthreading=None, feature_usage=None, network_type=None, cluster_networks=None, service_networks=None, machine_networks=None, cpu_architecture='x86_64', ignition_endpoint=None, imported=False, tags=None, last_installation_preparation=None, org_soft_timeouts_enabled=None, control_plane_count=None, load_balancer=None): # noqa: E501
|
|
180
182
|
"""Cluster - a model defined in Swagger""" # noqa: E501
|
|
181
183
|
|
|
182
184
|
self._kind = None
|
|
@@ -249,6 +251,7 @@ class Cluster(object):
|
|
|
249
251
|
self._last_installation_preparation = None
|
|
250
252
|
self._org_soft_timeouts_enabled = None
|
|
251
253
|
self._control_plane_count = None
|
|
254
|
+
self._load_balancer = None
|
|
252
255
|
self.discriminator = None
|
|
253
256
|
|
|
254
257
|
self.kind = kind
|
|
@@ -385,6 +388,8 @@ class Cluster(object):
|
|
|
385
388
|
self.org_soft_timeouts_enabled = org_soft_timeouts_enabled
|
|
386
389
|
if control_plane_count is not None:
|
|
387
390
|
self.control_plane_count = control_plane_count
|
|
391
|
+
if load_balancer is not None:
|
|
392
|
+
self.load_balancer = load_balancer
|
|
388
393
|
|
|
389
394
|
@property
|
|
390
395
|
def kind(self):
|
|
@@ -2032,6 +2037,27 @@ class Cluster(object):
|
|
|
2032
2037
|
|
|
2033
2038
|
self._control_plane_count = control_plane_count
|
|
2034
2039
|
|
|
2040
|
+
@property
|
|
2041
|
+
def load_balancer(self):
|
|
2042
|
+
"""Gets the load_balancer of this Cluster. # noqa: E501
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
:return: The load_balancer of this Cluster. # noqa: E501
|
|
2046
|
+
:rtype: LoadBalancer
|
|
2047
|
+
"""
|
|
2048
|
+
return self._load_balancer
|
|
2049
|
+
|
|
2050
|
+
@load_balancer.setter
|
|
2051
|
+
def load_balancer(self, load_balancer):
|
|
2052
|
+
"""Sets the load_balancer of this Cluster.
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
:param load_balancer: The load_balancer of this Cluster. # noqa: E501
|
|
2056
|
+
:type: LoadBalancer
|
|
2057
|
+
"""
|
|
2058
|
+
|
|
2059
|
+
self._load_balancer = load_balancer
|
|
2060
|
+
|
|
2035
2061
|
def to_dict(self):
|
|
2036
2062
|
"""Returns the model properties as a dict"""
|
|
2037
2063
|
result = {}
|
|
@@ -61,7 +61,8 @@ class ClusterCreateParams(object):
|
|
|
61
61
|
'disk_encryption': 'DiskEncryption',
|
|
62
62
|
'ignition_endpoint': 'IgnitionEndpoint',
|
|
63
63
|
'tags': 'str',
|
|
64
|
-
'control_plane_count': 'int'
|
|
64
|
+
'control_plane_count': 'int',
|
|
65
|
+
'load_balancer': 'LoadBalancer'
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
attribute_map = {
|
|
@@ -95,10 +96,11 @@ class ClusterCreateParams(object):
|
|
|
95
96
|
'disk_encryption': 'disk_encryption',
|
|
96
97
|
'ignition_endpoint': 'ignition_endpoint',
|
|
97
98
|
'tags': 'tags',
|
|
98
|
-
'control_plane_count': 'control_plane_count'
|
|
99
|
+
'control_plane_count': 'control_plane_count',
|
|
100
|
+
'load_balancer': 'load_balancer'
|
|
99
101
|
}
|
|
100
102
|
|
|
101
|
-
def __init__(self, name=None, high_availability_mode='Full', openshift_version=None, ocp_release_image=None, base_dns_domain=None, cluster_network_cidr='10.128.0.0/14', cluster_network_host_prefix=None, service_network_cidr='172.30.0.0/16', api_vips=None, ingress_vips=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=False, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=False, additional_ntp_source=None, olm_operators=None, hyperthreading='all', network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, platform=None, cpu_architecture='x86_64', disk_encryption=None, ignition_endpoint=None, tags=None, control_plane_count=None): # noqa: E501
|
|
103
|
+
def __init__(self, name=None, high_availability_mode='Full', openshift_version=None, ocp_release_image=None, base_dns_domain=None, cluster_network_cidr='10.128.0.0/14', cluster_network_host_prefix=None, service_network_cidr='172.30.0.0/16', api_vips=None, ingress_vips=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=False, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=False, additional_ntp_source=None, olm_operators=None, hyperthreading='all', network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, platform=None, cpu_architecture='x86_64', disk_encryption=None, ignition_endpoint=None, tags=None, control_plane_count=None, load_balancer=None): # noqa: E501
|
|
102
104
|
"""ClusterCreateParams - a model defined in Swagger""" # noqa: E501
|
|
103
105
|
|
|
104
106
|
self._name = None
|
|
@@ -132,6 +134,7 @@ class ClusterCreateParams(object):
|
|
|
132
134
|
self._ignition_endpoint = None
|
|
133
135
|
self._tags = None
|
|
134
136
|
self._control_plane_count = None
|
|
137
|
+
self._load_balancer = None
|
|
135
138
|
self.discriminator = None
|
|
136
139
|
|
|
137
140
|
self.name = name
|
|
@@ -193,6 +196,8 @@ class ClusterCreateParams(object):
|
|
|
193
196
|
self.tags = tags
|
|
194
197
|
if control_plane_count is not None:
|
|
195
198
|
self.control_plane_count = control_plane_count
|
|
199
|
+
if load_balancer is not None:
|
|
200
|
+
self.load_balancer = load_balancer
|
|
196
201
|
|
|
197
202
|
@property
|
|
198
203
|
def name(self):
|
|
@@ -943,6 +948,27 @@ class ClusterCreateParams(object):
|
|
|
943
948
|
|
|
944
949
|
self._control_plane_count = control_plane_count
|
|
945
950
|
|
|
951
|
+
@property
|
|
952
|
+
def load_balancer(self):
|
|
953
|
+
"""Gets the load_balancer of this ClusterCreateParams. # noqa: E501
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
:return: The load_balancer of this ClusterCreateParams. # noqa: E501
|
|
957
|
+
:rtype: LoadBalancer
|
|
958
|
+
"""
|
|
959
|
+
return self._load_balancer
|
|
960
|
+
|
|
961
|
+
@load_balancer.setter
|
|
962
|
+
def load_balancer(self, load_balancer):
|
|
963
|
+
"""Sets the load_balancer of this ClusterCreateParams.
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
:param load_balancer: The load_balancer of this ClusterCreateParams. # noqa: E501
|
|
967
|
+
:type: LoadBalancer
|
|
968
|
+
"""
|
|
969
|
+
|
|
970
|
+
self._load_balancer = load_balancer
|
|
971
|
+
|
|
946
972
|
def to_dict(self):
|
|
947
973
|
"""Returns the model properties as a dict"""
|
|
948
974
|
result = {}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
AssistedInstall
|
|
5
|
+
|
|
6
|
+
Assisted installation # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class LoadBalancer(object):
|
|
21
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
22
|
+
|
|
23
|
+
Do not edit the class manually.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
Attributes:
|
|
28
|
+
swagger_types (dict): The key is attribute name
|
|
29
|
+
and the value is attribute type.
|
|
30
|
+
attribute_map (dict): The key is attribute name
|
|
31
|
+
and the value is json key in definition.
|
|
32
|
+
"""
|
|
33
|
+
swagger_types = {
|
|
34
|
+
'type': 'str'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
attribute_map = {
|
|
38
|
+
'type': 'type'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, type=None): # noqa: E501
|
|
42
|
+
"""LoadBalancer - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
|
|
44
|
+
self._type = None
|
|
45
|
+
self.discriminator = None
|
|
46
|
+
|
|
47
|
+
if type is not None:
|
|
48
|
+
self.type = type
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def type(self):
|
|
52
|
+
"""Gets the type of this LoadBalancer. # noqa: E501
|
|
53
|
+
|
|
54
|
+
Indicates if the load balancer will be managed by the cluster or by the user. This is optional and The default is `cluster-managed`. `cluster-managed` means that the cluster will start the components that assign the API and ingress VIPs to the nodes of the cluster automatically. `user-managed` means that the user is responsible for configuring an external load balancer and assign the API and ingress VIPs to it. Note that this configuration needs to be completed before starting the installation of the cluster, as it is needed during the installation process. # noqa: E501
|
|
55
|
+
|
|
56
|
+
:return: The type of this LoadBalancer. # noqa: E501
|
|
57
|
+
:rtype: str
|
|
58
|
+
"""
|
|
59
|
+
return self._type
|
|
60
|
+
|
|
61
|
+
@type.setter
|
|
62
|
+
def type(self, type):
|
|
63
|
+
"""Sets the type of this LoadBalancer.
|
|
64
|
+
|
|
65
|
+
Indicates if the load balancer will be managed by the cluster or by the user. This is optional and The default is `cluster-managed`. `cluster-managed` means that the cluster will start the components that assign the API and ingress VIPs to the nodes of the cluster automatically. `user-managed` means that the user is responsible for configuring an external load balancer and assign the API and ingress VIPs to it. Note that this configuration needs to be completed before starting the installation of the cluster, as it is needed during the installation process. # noqa: E501
|
|
66
|
+
|
|
67
|
+
:param type: The type of this LoadBalancer. # noqa: E501
|
|
68
|
+
:type: str
|
|
69
|
+
"""
|
|
70
|
+
allowed_values = ["cluster-managed", "user-managed"] # noqa: E501
|
|
71
|
+
if type not in allowed_values:
|
|
72
|
+
raise ValueError(
|
|
73
|
+
"Invalid value for `type` ({0}), must be one of {1}" # noqa: E501
|
|
74
|
+
.format(type, allowed_values)
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
self._type = type
|
|
78
|
+
|
|
79
|
+
def to_dict(self):
|
|
80
|
+
"""Returns the model properties as a dict"""
|
|
81
|
+
result = {}
|
|
82
|
+
|
|
83
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
84
|
+
value = getattr(self, attr)
|
|
85
|
+
if isinstance(value, list):
|
|
86
|
+
result[attr] = list(map(
|
|
87
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
88
|
+
value
|
|
89
|
+
))
|
|
90
|
+
elif hasattr(value, "to_dict"):
|
|
91
|
+
result[attr] = value.to_dict()
|
|
92
|
+
elif isinstance(value, dict):
|
|
93
|
+
result[attr] = dict(map(
|
|
94
|
+
lambda item: (item[0], item[1].to_dict())
|
|
95
|
+
if hasattr(item[1], "to_dict") else item,
|
|
96
|
+
value.items()
|
|
97
|
+
))
|
|
98
|
+
else:
|
|
99
|
+
result[attr] = value
|
|
100
|
+
if issubclass(LoadBalancer, dict):
|
|
101
|
+
for key, value in self.items():
|
|
102
|
+
result[key] = value
|
|
103
|
+
|
|
104
|
+
return result
|
|
105
|
+
|
|
106
|
+
def to_str(self):
|
|
107
|
+
"""Returns the string representation of the model"""
|
|
108
|
+
return pprint.pformat(self.to_dict())
|
|
109
|
+
|
|
110
|
+
def __repr__(self):
|
|
111
|
+
"""For `print` and `pprint`"""
|
|
112
|
+
return self.to_str()
|
|
113
|
+
|
|
114
|
+
def __eq__(self, other):
|
|
115
|
+
"""Returns true if both objects are equal"""
|
|
116
|
+
if not isinstance(other, LoadBalancer):
|
|
117
|
+
return False
|
|
118
|
+
|
|
119
|
+
return self.__dict__ == other.__dict__
|
|
120
|
+
|
|
121
|
+
def __ne__(self, other):
|
|
122
|
+
"""Returns true if both objects are not equal"""
|
|
123
|
+
return not self == other
|
|
@@ -59,7 +59,8 @@ class V2ClusterUpdateParams(object):
|
|
|
59
59
|
'disk_encryption': 'DiskEncryption',
|
|
60
60
|
'ignition_endpoint': 'IgnitionEndpoint',
|
|
61
61
|
'tags': 'str',
|
|
62
|
-
'control_plane_count': 'int'
|
|
62
|
+
'control_plane_count': 'int',
|
|
63
|
+
'load_balancer': 'LoadBalancer'
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
attribute_map = {
|
|
@@ -91,10 +92,11 @@ class V2ClusterUpdateParams(object):
|
|
|
91
92
|
'disk_encryption': 'disk_encryption',
|
|
92
93
|
'ignition_endpoint': 'ignition_endpoint',
|
|
93
94
|
'tags': 'tags',
|
|
94
|
-
'control_plane_count': 'control_plane_count'
|
|
95
|
+
'control_plane_count': 'control_plane_count',
|
|
96
|
+
'load_balancer': 'load_balancer'
|
|
95
97
|
}
|
|
96
98
|
|
|
97
|
-
def __init__(self, name=None, base_dns_domain=None, cluster_network_cidr=None, platform=None, cluster_network_host_prefix=None, service_network_cidr=None, api_vips=None, ingress_vips=None, api_vip_dns_name=None, machine_network_cidr=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=None, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=None, additional_ntp_source=None, olm_operators=None, hyperthreading=None, network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, disk_encryption=None, ignition_endpoint=None, tags=None, control_plane_count=None): # noqa: E501
|
|
99
|
+
def __init__(self, name=None, base_dns_domain=None, cluster_network_cidr=None, platform=None, cluster_network_host_prefix=None, service_network_cidr=None, api_vips=None, ingress_vips=None, api_vip_dns_name=None, machine_network_cidr=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=None, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=None, additional_ntp_source=None, olm_operators=None, hyperthreading=None, network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, disk_encryption=None, ignition_endpoint=None, tags=None, control_plane_count=None, load_balancer=None): # noqa: E501
|
|
98
100
|
"""V2ClusterUpdateParams - a model defined in Swagger""" # noqa: E501
|
|
99
101
|
|
|
100
102
|
self._name = None
|
|
@@ -126,6 +128,7 @@ class V2ClusterUpdateParams(object):
|
|
|
126
128
|
self._ignition_endpoint = None
|
|
127
129
|
self._tags = None
|
|
128
130
|
self._control_plane_count = None
|
|
131
|
+
self._load_balancer = None
|
|
129
132
|
self.discriminator = None
|
|
130
133
|
|
|
131
134
|
if name is not None:
|
|
@@ -186,6 +189,8 @@ class V2ClusterUpdateParams(object):
|
|
|
186
189
|
self.tags = tags
|
|
187
190
|
if control_plane_count is not None:
|
|
188
191
|
self.control_plane_count = control_plane_count
|
|
192
|
+
if load_balancer is not None:
|
|
193
|
+
self.load_balancer = load_balancer
|
|
189
194
|
|
|
190
195
|
@property
|
|
191
196
|
def name(self):
|
|
@@ -872,6 +877,27 @@ class V2ClusterUpdateParams(object):
|
|
|
872
877
|
|
|
873
878
|
self._control_plane_count = control_plane_count
|
|
874
879
|
|
|
880
|
+
@property
|
|
881
|
+
def load_balancer(self):
|
|
882
|
+
"""Gets the load_balancer of this V2ClusterUpdateParams. # noqa: E501
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
:return: The load_balancer of this V2ClusterUpdateParams. # noqa: E501
|
|
886
|
+
:rtype: LoadBalancer
|
|
887
|
+
"""
|
|
888
|
+
return self._load_balancer
|
|
889
|
+
|
|
890
|
+
@load_balancer.setter
|
|
891
|
+
def load_balancer(self, load_balancer):
|
|
892
|
+
"""Sets the load_balancer of this V2ClusterUpdateParams.
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
:param load_balancer: The load_balancer of this V2ClusterUpdateParams. # noqa: E501
|
|
896
|
+
:type: LoadBalancer
|
|
897
|
+
"""
|
|
898
|
+
|
|
899
|
+
self._load_balancer = load_balancer
|
|
900
|
+
|
|
875
901
|
def to_dict(self):
|
|
876
902
|
"""Returns the model properties as a dict"""
|
|
877
903
|
result = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: assisted-service-client
|
|
3
|
-
Version: 2.37.0.
|
|
3
|
+
Version: 2.37.0.post14
|
|
4
4
|
Summary: AssistedInstall
|
|
5
5
|
Home-page: https://github.com/openshift/assisted-service
|
|
6
6
|
Author: RedHat
|
|
@@ -311,6 +311,7 @@ Class | Method | HTTP request | Description
|
|
|
311
311
|
- [ListManagedDomains](docs/ListManagedDomains.md)
|
|
312
312
|
- [ListManifests](docs/ListManifests.md)
|
|
313
313
|
- [ListVersions](docs/ListVersions.md)
|
|
314
|
+
- [LoadBalancer](docs/LoadBalancer.md)
|
|
314
315
|
- [LogsGatherCmdRequest](docs/LogsGatherCmdRequest.md)
|
|
315
316
|
- [LogsProgressParams](docs/LogsProgressParams.md)
|
|
316
317
|
- [LogsState](docs/LogsState.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assisted_service_client/__init__.py,sha256=
|
|
1
|
+
assisted_service_client/__init__.py,sha256=d71dPod2weeu01qTNpOiqKjAustg6HxKvicrQ8F8wY0,15305
|
|
2
2
|
assisted_service_client/api_client.py,sha256=ypPMDOaIc8GI-xm-g5PrNLYlakkK5K3qcJBjJP5GlbM,24986
|
|
3
3
|
assisted_service_client/configuration.py,sha256=wLYxtRlTlR9o-y24tqlDSgfjrh9YdiyWaM8-QxFOyOY,9352
|
|
4
4
|
assisted_service_client/rest.py,sha256=fLcY2m9yxpqJW4agxf3yCJyiz486qPLgqw8CbCuftZw,13123
|
|
@@ -9,7 +9,7 @@ assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u
|
|
|
9
9
|
assisted_service_client/api/manifests_api.py,sha256=aLktOGwkOa3siGnJOYuGO0mH3TlES-fBZvilNvseGO0,25146
|
|
10
10
|
assisted_service_client/api/operators_api.py,sha256=d-QpJNPGcrAKlE2zG7K160zWrQ7_Wig4osid_92zSTQ,17473
|
|
11
11
|
assisted_service_client/api/versions_api.py,sha256=0eomTHtqgrHnxBxNhL_rZ43K3O3fjvpy0nMRxt2idEg,11674
|
|
12
|
-
assisted_service_client/models/__init__.py,sha256=
|
|
12
|
+
assisted_service_client/models/__init__.py,sha256=y33H8gb1ln4ZH1va6S3GdTQq6H3wbucHiVJEVqS9Wr4,14729
|
|
13
13
|
assisted_service_client/models/api_vip.py,sha256=gn7i8OtCG3uzm-Ymku55LMWWOn9sujJ-tJ-eZ2VSLkk,4590
|
|
14
14
|
assisted_service_client/models/api_vip_connectivity_additional_request_header.py,sha256=pxx8s7nM0qoKarVqYMF0qyY4R4Tz3O6eOfPnji55lRY,4138
|
|
15
15
|
assisted_service_client/models/api_vip_connectivity_request.py,sha256=juCr4-I9tFkoU3f3t_YrXPJfiAgWAZ03zStfW-BZ6OU,7760
|
|
@@ -17,8 +17,8 @@ assisted_service_client/models/api_vip_connectivity_response.py,sha256=g_lug17OF
|
|
|
17
17
|
assisted_service_client/models/architecture_support_level_id.py,sha256=hlG08k4mpxplccAeBy2aiF41lp7zcTUyxPP98x2mXUg,2711
|
|
18
18
|
assisted_service_client/models/bind_host_params.py,sha256=R6AntLnkrOE_uVaRECc_gx1QPfUmPsVNI06LoDQJONI,3170
|
|
19
19
|
assisted_service_client/models/boot.py,sha256=HaFURZ2Zcn14eHfojQVuCT7W6jmVly_hgCpgoeY-Pu8,5412
|
|
20
|
-
assisted_service_client/models/cluster.py,sha256=
|
|
21
|
-
assisted_service_client/models/cluster_create_params.py,sha256=
|
|
20
|
+
assisted_service_client/models/cluster.py,sha256=3qQ8JGiYPVU_tlaQHsU4vokckaNzyoQfjIkZch1qrcM,76616
|
|
21
|
+
assisted_service_client/models/cluster_create_params.py,sha256=WRmRjCe4Uz-RlAiiTvueCLx_I3pajDXVpwRcHNu8zhQ,39605
|
|
22
22
|
assisted_service_client/models/cluster_default_config.py,sha256=MXhboRxA2o4-lHR9baQCiehfksCV4XfsabSMqFfSv3U,12993
|
|
23
23
|
assisted_service_client/models/cluster_finalizing_progress.py,sha256=lTBxx_NSDubtAg8aSXbxwWhW2XxPYJZ0ztUmozfEJhA,3325
|
|
24
24
|
assisted_service_client/models/cluster_host_requirements.py,sha256=WA_ZAdFbM4jnENgyc1Hbwc41g651D8kVOpHFRZkCtoo,5883
|
|
@@ -61,7 +61,7 @@ assisted_service_client/models/drive_type.py,sha256=OAGyxvI5ZWax3pS8bvcXxddNjyEX
|
|
|
61
61
|
assisted_service_client/models/error.py,sha256=walFlNpGmfMxSd9Cmv4eZkNHQx-0tOXpr14JAil1D0E,7152
|
|
62
62
|
assisted_service_client/models/event.py,sha256=PRfTmDyGf-75xERGe_xuutt-2H0ZpVFSH2f2RK-qHUc,10372
|
|
63
63
|
assisted_service_client/models/event_list.py,sha256=QTzSwTlY-Kx3OA1kgBnYDEvULyrdLv-7DAByMgqH7-c,2356
|
|
64
|
-
assisted_service_client/models/feature_support_level_id.py,sha256=
|
|
64
|
+
assisted_service_client/models/feature_support_level_id.py,sha256=Cj3efw0yV8TgOl7BTAypUkfcaOJYQrVO1i6ouQuNvP8,3777
|
|
65
65
|
assisted_service_client/models/finalizing_stage.py,sha256=JmPnqcnxm1VB3enMG1iMZR9NFjFEj6TZF6wVwgVgNlA,2849
|
|
66
66
|
assisted_service_client/models/free_addresses_list.py,sha256=P2q1fq3cR6BJq4i4V-gXpfG32TWIhFX4zScGzdRQmpw,2388
|
|
67
67
|
assisted_service_client/models/free_addresses_request.py,sha256=6EjcZ6eCz2tGdz6axoRHwILSNz0-7_A6-dIjmxeFe1k,2400
|
|
@@ -116,6 +116,7 @@ assisted_service_client/models/last_installation_preparation.py,sha256=wnuW9ccUG
|
|
|
116
116
|
assisted_service_client/models/list_managed_domains.py,sha256=9-c0ckZxfu42jXSRsxeXzVu9bhTTD8t4sHOYcwRus0o,2392
|
|
117
117
|
assisted_service_client/models/list_manifests.py,sha256=5SQc2bWn7-pMNvvDUZNMzjRSztsY6QothVrTNxR46lU,2372
|
|
118
118
|
assisted_service_client/models/list_versions.py,sha256=gSD7krxLrIHNHb6TZtuxOcBWITIl6QfxArGy21kcAG4,3757
|
|
119
|
+
assisted_service_client/models/load_balancer.py,sha256=fpafkbNO-iy2HezYL5QFsensyDwDCTUdTxMcIrMmr3s,4410
|
|
119
120
|
assisted_service_client/models/logs_gather_cmd_request.py,sha256=gMVZKAc_hHJ_1eo0ccZsVlL_Lc7ffTPXNWdsK72tLJk,7795
|
|
120
121
|
assisted_service_client/models/logs_progress_params.py,sha256=2TVQ986lCNj7mhd7_oxq5xtUEAj88r_1vVNdUmlPysU,3324
|
|
121
122
|
assisted_service_client/models/logs_state.py,sha256=HdBKVvSNwO3qde7U2zj37EKtIAe_UZQVYkHIL0HS0SU,2522
|
|
@@ -182,7 +183,7 @@ assisted_service_client/models/upgrade_agent_response.py,sha256=OhvFdKCUZvb1awBX
|
|
|
182
183
|
assisted_service_client/models/upgrade_agent_result.py,sha256=n0QImJ9nWvRC88hrBb5GLpGwq4h_YaGA-Rh6J7uxEeI,2481
|
|
183
184
|
assisted_service_client/models/upgrade_channel.py,sha256=1zGictvdXO0SRJZfRamBovlh6MneEnQz0eIDI6BPK7E,4560
|
|
184
185
|
assisted_service_client/models/usage.py,sha256=wP7af-XSqp3kWq8eiMumEz4vZnoy9FKko_IoITk8oac,4321
|
|
185
|
-
assisted_service_client/models/v2_cluster_update_params.py,sha256=
|
|
186
|
+
assisted_service_client/models/v2_cluster_update_params.py,sha256=DMx-49MWkt2r-ugemmgyA3KzlLrqQtUorwuuQb0DxTU,36732
|
|
186
187
|
assisted_service_client/models/verified_vip.py,sha256=XbwwmYkF4nFHeyWU0dhDzLUizU65OBkG_h-J1LUXw_Q,4348
|
|
187
188
|
assisted_service_client/models/verify_vip.py,sha256=ocOvQ8-jVV1xTH57rO4BXVDFVqRkTQnIrz5D-TGAXmg,3555
|
|
188
189
|
assisted_service_client/models/verify_vips_request.py,sha256=cK1qzbhYcmD9BTZuQgv84wsbCZKozTySr6Acf8hI9LY,2388
|
|
@@ -300,6 +301,7 @@ test/test_last_installation_preparation.py,sha256=YofK9R1-kSTguyGuIrCromQJvN9Y8Y
|
|
|
300
301
|
test/test_list_managed_domains.py,sha256=fgumdJD3yTQuqAo-IoaTF9SNpJxT7ZfVpPJuThFw-zQ,927
|
|
301
302
|
test/test_list_manifests.py,sha256=TkppoPZRMaB4Dd3wdnl4b_EcL6XQTqbB2j3GlNSF9aM,885
|
|
302
303
|
test/test_list_versions.py,sha256=TT0n7YJIBIrPCrJrbkhVwWinbQ3IblXl-j1TVv2VGr8,877
|
|
304
|
+
test/test_load_balancer.py,sha256=XwrdERjMHgIgk_X06cz9AY4OT3ErjEBHPeWM-HCSSzg,877
|
|
303
305
|
test/test_logs_gather_cmd_request.py,sha256=a186BoLEcXLYDedu8OGgrN4EP8Nwq7Ubo27mZyqTL5U,945
|
|
304
306
|
test/test_logs_progress_params.py,sha256=kZz4cLbfHzkryJYvWfggSIrgck8mxEfD8vEtokpUPjE,927
|
|
305
307
|
test/test_logs_state.py,sha256=qjqzI3wttfNL40Zjk5K31qqrBfpzuUdWwaj9Cop50yc,853
|
|
@@ -379,7 +381,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
|
379
381
|
test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
|
|
380
382
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
|
381
383
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
|
382
|
-
assisted_service_client-2.37.0.
|
|
383
|
-
assisted_service_client-2.37.0.
|
|
384
|
-
assisted_service_client-2.37.0.
|
|
385
|
-
assisted_service_client-2.37.0.
|
|
384
|
+
assisted_service_client-2.37.0.post14.dist-info/METADATA,sha256=szYB4K68bmBt52As9fC6hQT3JpwLTnRgD82dCCyYHyw,26209
|
|
385
|
+
assisted_service_client-2.37.0.post14.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
386
|
+
assisted_service_client-2.37.0.post14.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
|
387
|
+
assisted_service_client-2.37.0.post14.dist-info/RECORD,,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
AssistedInstall
|
|
5
|
+
|
|
6
|
+
Assisted installation # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import absolute_import
|
|
15
|
+
|
|
16
|
+
import unittest
|
|
17
|
+
|
|
18
|
+
import assisted_service_client
|
|
19
|
+
from assisted_service_client.models.load_balancer import LoadBalancer # noqa: E501
|
|
20
|
+
from assisted_service_client.rest import ApiException
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class TestLoadBalancer(unittest.TestCase):
|
|
24
|
+
"""LoadBalancer unit test stubs"""
|
|
25
|
+
|
|
26
|
+
def setUp(self):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
def tearDown(self):
|
|
30
|
+
pass
|
|
31
|
+
|
|
32
|
+
def testLoadBalancer(self):
|
|
33
|
+
"""Test LoadBalancer"""
|
|
34
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
35
|
+
# model = assisted_service_client.models.load_balancer.LoadBalancer() # noqa: E501
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
if __name__ == '__main__':
|
|
40
|
+
unittest.main()
|
|
File without changes
|
|
File without changes
|