assisted-service-client 2.31.0.post16__py3-none-any.whl → 2.37.0.post26__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- assisted_service_client/__init__.py +4 -0
- assisted_service_client/api/events_api.py +1 -1
- assisted_service_client/api/installer_api.py +3 -3
- assisted_service_client/configuration.py +7 -0
- assisted_service_client/models/__init__.py +4 -0
- assisted_service_client/models/boot.py +29 -3
- assisted_service_client/models/cluster.py +57 -3
- assisted_service_client/models/cluster_create_params.py +59 -5
- assisted_service_client/models/cluster_validation_id.py +9 -0
- assisted_service_client/models/connectivity_remote_host.py +29 -3
- assisted_service_client/models/disk.py +55 -3
- assisted_service_client/models/domain_resolution_response_resolutions.py +31 -3
- assisted_service_client/models/feature_support_level_id.py +11 -0
- assisted_service_client/models/finalizing_stage.py +1 -0
- assisted_service_client/models/host_validation_id.py +11 -0
- assisted_service_client/models/infra_env_update_params.py +31 -3
- assisted_service_client/models/install_cmd_request.py +31 -3
- assisted_service_client/models/iscsi.py +117 -0
- assisted_service_client/models/load_balancer.py +123 -0
- assisted_service_client/models/manifest.py +37 -3
- assisted_service_client/models/mtu_report.py +167 -0
- assisted_service_client/models/secure_boot_state.py +95 -0
- assisted_service_client/models/v2_cluster_update_params.py +57 -3
- {assisted_service_client-2.31.0.post16.dist-info → assisted_service_client-2.37.0.post26.dist-info}/METADATA +15 -4
- {assisted_service_client-2.31.0.post16.dist-info → assisted_service_client-2.37.0.post26.dist-info}/RECORD +31 -23
- test/test_iscsi.py +40 -0
- test/test_load_balancer.py +40 -0
- test/test_mtu_report.py +40 -0
- test/test_secure_boot_state.py +40 -0
- {assisted_service_client-2.31.0.post16.dist-info → assisted_service_client-2.37.0.post26.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.31.0.post16.dist-info → assisted_service_client-2.37.0.post26.dist-info}/top_level.txt +0 -0
@@ -124,6 +124,7 @@ from assisted_service_client.models.interface import Interface
|
|
124
124
|
from assisted_service_client.models.inventory import Inventory
|
125
125
|
from assisted_service_client.models.io_perf import IoPerf
|
126
126
|
from assisted_service_client.models.ip import Ip
|
127
|
+
from assisted_service_client.models.iscsi import Iscsi
|
127
128
|
from assisted_service_client.models.kernel_argument import KernelArgument
|
128
129
|
from assisted_service_client.models.kernel_arguments import KernelArguments
|
129
130
|
from assisted_service_client.models.l2_connectivity import L2Connectivity
|
@@ -132,6 +133,7 @@ from assisted_service_client.models.last_installation_preparation import LastIns
|
|
132
133
|
from assisted_service_client.models.list_managed_domains import ListManagedDomains
|
133
134
|
from assisted_service_client.models.list_manifests import ListManifests
|
134
135
|
from assisted_service_client.models.list_versions import ListVersions
|
136
|
+
from assisted_service_client.models.load_balancer import LoadBalancer
|
135
137
|
from assisted_service_client.models.logs_gather_cmd_request import LogsGatherCmdRequest
|
136
138
|
from assisted_service_client.models.logs_progress_params import LogsProgressParams
|
137
139
|
from assisted_service_client.models.logs_state import LogsState
|
@@ -145,6 +147,7 @@ from assisted_service_client.models.memory import Memory
|
|
145
147
|
from assisted_service_client.models.memory_method import MemoryMethod
|
146
148
|
from assisted_service_client.models.monitored_operator import MonitoredOperator
|
147
149
|
from assisted_service_client.models.monitored_operators_list import MonitoredOperatorsList
|
150
|
+
from assisted_service_client.models.mtu_report import MtuReport
|
148
151
|
from assisted_service_client.models.next_step_cmd_request import NextStepCmdRequest
|
149
152
|
from assisted_service_client.models.node_label_params import NodeLabelParams
|
150
153
|
from assisted_service_client.models.ntp_source import NtpSource
|
@@ -175,6 +178,7 @@ from assisted_service_client.models.release_images import ReleaseImages
|
|
175
178
|
from assisted_service_client.models.release_source import ReleaseSource
|
176
179
|
from assisted_service_client.models.release_sources import ReleaseSources
|
177
180
|
from assisted_service_client.models.route import Route
|
181
|
+
from assisted_service_client.models.secure_boot_state import SecureBootState
|
178
182
|
from assisted_service_client.models.service_network import ServiceNetwork
|
179
183
|
from assisted_service_client.models.source_state import SourceState
|
180
184
|
from assisted_service_client.models.step import Step
|
@@ -157,7 +157,7 @@ class EventsApi(object):
|
|
157
157
|
['application/json']) # noqa: E501
|
158
158
|
|
159
159
|
# Authentication setting
|
160
|
-
auth_settings = ['urlAuth', 'userAuth'] # noqa: E501
|
160
|
+
auth_settings = ['urlAuth', 'userAuth', 'watcherAuth'] # noqa: E501
|
161
161
|
|
162
162
|
return self.api_client.call_api(
|
163
163
|
'/v2/events', 'GET',
|
@@ -1160,7 +1160,7 @@ class InstallerApi(object):
|
|
1160
1160
|
['application/json']) # noqa: E501
|
1161
1161
|
|
1162
1162
|
# Authentication setting
|
1163
|
-
auth_settings = ['userAuth'] # noqa: E501
|
1163
|
+
auth_settings = ['userAuth', 'watcherAuth'] # noqa: E501
|
1164
1164
|
|
1165
1165
|
return self.api_client.call_api(
|
1166
1166
|
'/v2/infra-envs', 'GET',
|
@@ -2848,7 +2848,7 @@ class InstallerApi(object):
|
|
2848
2848
|
['application/json']) # noqa: E501
|
2849
2849
|
|
2850
2850
|
# Authentication setting
|
2851
|
-
auth_settings = ['agentAuth', 'userAuth'] # noqa: E501
|
2851
|
+
auth_settings = ['agentAuth', 'userAuth', 'watcherAuth'] # noqa: E501
|
2852
2852
|
|
2853
2853
|
return self.api_client.call_api(
|
2854
2854
|
'/v2/clusters/{cluster_id}', 'GET',
|
@@ -4406,7 +4406,7 @@ class InstallerApi(object):
|
|
4406
4406
|
['application/json']) # noqa: E501
|
4407
4407
|
|
4408
4408
|
# Authentication setting
|
4409
|
-
auth_settings = ['userAuth'] # noqa: E501
|
4409
|
+
auth_settings = ['userAuth', 'watcherAuth'] # noqa: E501
|
4410
4410
|
|
4411
4411
|
return self.api_client.call_api(
|
4412
4412
|
'/v2/clusters', 'GET',
|
@@ -264,6 +264,13 @@ class Configuration(object):
|
|
264
264
|
'key': 'Authorization',
|
265
265
|
'value': self.get_api_key_with_prefix('Authorization')
|
266
266
|
},
|
267
|
+
'watcherAuth':
|
268
|
+
{
|
269
|
+
'type': 'api_key',
|
270
|
+
'in': 'header',
|
271
|
+
'key': 'Watcher-Authorization',
|
272
|
+
'value': self.get_api_key_with_prefix('Watcher-Authorization')
|
273
|
+
},
|
267
274
|
|
268
275
|
}
|
269
276
|
|
@@ -112,6 +112,7 @@ from assisted_service_client.models.interface import Interface
|
|
112
112
|
from assisted_service_client.models.inventory import Inventory
|
113
113
|
from assisted_service_client.models.io_perf import IoPerf
|
114
114
|
from assisted_service_client.models.ip import Ip
|
115
|
+
from assisted_service_client.models.iscsi import Iscsi
|
115
116
|
from assisted_service_client.models.kernel_argument import KernelArgument
|
116
117
|
from assisted_service_client.models.kernel_arguments import KernelArguments
|
117
118
|
from assisted_service_client.models.l2_connectivity import L2Connectivity
|
@@ -120,6 +121,7 @@ from assisted_service_client.models.last_installation_preparation import LastIns
|
|
120
121
|
from assisted_service_client.models.list_managed_domains import ListManagedDomains
|
121
122
|
from assisted_service_client.models.list_manifests import ListManifests
|
122
123
|
from assisted_service_client.models.list_versions import ListVersions
|
124
|
+
from assisted_service_client.models.load_balancer import LoadBalancer
|
123
125
|
from assisted_service_client.models.logs_gather_cmd_request import LogsGatherCmdRequest
|
124
126
|
from assisted_service_client.models.logs_progress_params import LogsProgressParams
|
125
127
|
from assisted_service_client.models.logs_state import LogsState
|
@@ -133,6 +135,7 @@ from assisted_service_client.models.memory import Memory
|
|
133
135
|
from assisted_service_client.models.memory_method import MemoryMethod
|
134
136
|
from assisted_service_client.models.monitored_operator import MonitoredOperator
|
135
137
|
from assisted_service_client.models.monitored_operators_list import MonitoredOperatorsList
|
138
|
+
from assisted_service_client.models.mtu_report import MtuReport
|
136
139
|
from assisted_service_client.models.next_step_cmd_request import NextStepCmdRequest
|
137
140
|
from assisted_service_client.models.node_label_params import NodeLabelParams
|
138
141
|
from assisted_service_client.models.ntp_source import NtpSource
|
@@ -163,6 +166,7 @@ from assisted_service_client.models.release_images import ReleaseImages
|
|
163
166
|
from assisted_service_client.models.release_source import ReleaseSource
|
164
167
|
from assisted_service_client.models.release_sources import ReleaseSources
|
165
168
|
from assisted_service_client.models.route import Route
|
169
|
+
from assisted_service_client.models.secure_boot_state import SecureBootState
|
166
170
|
from assisted_service_client.models.service_network import ServiceNetwork
|
167
171
|
from assisted_service_client.models.source_state import SourceState
|
168
172
|
from assisted_service_client.models.step import Step
|
@@ -33,21 +33,24 @@ class Boot(object):
|
|
33
33
|
swagger_types = {
|
34
34
|
'current_boot_mode': 'str',
|
35
35
|
'pxe_interface': 'str',
|
36
|
-
'command_line': 'str'
|
36
|
+
'command_line': 'str',
|
37
|
+
'secure_boot_state': 'SecureBootState'
|
37
38
|
}
|
38
39
|
|
39
40
|
attribute_map = {
|
40
41
|
'current_boot_mode': 'current_boot_mode',
|
41
42
|
'pxe_interface': 'pxe_interface',
|
42
|
-
'command_line': 'command_line'
|
43
|
+
'command_line': 'command_line',
|
44
|
+
'secure_boot_state': 'secure_boot_state'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, current_boot_mode=None, pxe_interface=None, command_line=None): # noqa: E501
|
47
|
+
def __init__(self, current_boot_mode=None, pxe_interface=None, command_line=None, secure_boot_state=None): # noqa: E501
|
46
48
|
"""Boot - a model defined in Swagger""" # noqa: E501
|
47
49
|
|
48
50
|
self._current_boot_mode = None
|
49
51
|
self._pxe_interface = None
|
50
52
|
self._command_line = None
|
53
|
+
self._secure_boot_state = None
|
51
54
|
self.discriminator = None
|
52
55
|
|
53
56
|
if current_boot_mode is not None:
|
@@ -56,6 +59,8 @@ class Boot(object):
|
|
56
59
|
self.pxe_interface = pxe_interface
|
57
60
|
if command_line is not None:
|
58
61
|
self.command_line = command_line
|
62
|
+
if secure_boot_state is not None:
|
63
|
+
self.secure_boot_state = secure_boot_state
|
59
64
|
|
60
65
|
@property
|
61
66
|
def current_boot_mode(self):
|
@@ -120,6 +125,27 @@ class Boot(object):
|
|
120
125
|
|
121
126
|
self._command_line = command_line
|
122
127
|
|
128
|
+
@property
|
129
|
+
def secure_boot_state(self):
|
130
|
+
"""Gets the secure_boot_state of this Boot. # noqa: E501
|
131
|
+
|
132
|
+
|
133
|
+
:return: The secure_boot_state of this Boot. # noqa: E501
|
134
|
+
:rtype: SecureBootState
|
135
|
+
"""
|
136
|
+
return self._secure_boot_state
|
137
|
+
|
138
|
+
@secure_boot_state.setter
|
139
|
+
def secure_boot_state(self, secure_boot_state):
|
140
|
+
"""Sets the secure_boot_state of this Boot.
|
141
|
+
|
142
|
+
|
143
|
+
:param secure_boot_state: The secure_boot_state of this Boot. # noqa: E501
|
144
|
+
:type: SecureBootState
|
145
|
+
"""
|
146
|
+
|
147
|
+
self._secure_boot_state = secure_boot_state
|
148
|
+
|
123
149
|
def to_dict(self):
|
124
150
|
"""Returns the model properties as a dict"""
|
125
151
|
result = {}
|
@@ -99,7 +99,9 @@ class Cluster(object):
|
|
99
99
|
'imported': 'bool',
|
100
100
|
'tags': 'str',
|
101
101
|
'last_installation_preparation': 'LastInstallationPreparation',
|
102
|
-
'org_soft_timeouts_enabled': 'bool'
|
102
|
+
'org_soft_timeouts_enabled': 'bool',
|
103
|
+
'control_plane_count': 'int',
|
104
|
+
'load_balancer': 'LoadBalancer'
|
103
105
|
}
|
104
106
|
|
105
107
|
attribute_map = {
|
@@ -171,10 +173,12 @@ class Cluster(object):
|
|
171
173
|
'imported': 'imported',
|
172
174
|
'tags': 'tags',
|
173
175
|
'last_installation_preparation': 'last-installation-preparation',
|
174
|
-
'org_soft_timeouts_enabled': 'org_soft_timeouts_enabled'
|
176
|
+
'org_soft_timeouts_enabled': 'org_soft_timeouts_enabled',
|
177
|
+
'control_plane_count': 'control_plane_count',
|
178
|
+
'load_balancer': 'load_balancer'
|
175
179
|
}
|
176
180
|
|
177
|
-
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): # 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
|
178
182
|
"""Cluster - a model defined in Swagger""" # noqa: E501
|
179
183
|
|
180
184
|
self._kind = None
|
@@ -246,6 +250,8 @@ class Cluster(object):
|
|
246
250
|
self._tags = None
|
247
251
|
self._last_installation_preparation = None
|
248
252
|
self._org_soft_timeouts_enabled = None
|
253
|
+
self._control_plane_count = None
|
254
|
+
self._load_balancer = None
|
249
255
|
self.discriminator = None
|
250
256
|
|
251
257
|
self.kind = kind
|
@@ -380,6 +386,10 @@ class Cluster(object):
|
|
380
386
|
self.last_installation_preparation = last_installation_preparation
|
381
387
|
if org_soft_timeouts_enabled is not None:
|
382
388
|
self.org_soft_timeouts_enabled = org_soft_timeouts_enabled
|
389
|
+
if control_plane_count is not None:
|
390
|
+
self.control_plane_count = control_plane_count
|
391
|
+
if load_balancer is not None:
|
392
|
+
self.load_balancer = load_balancer
|
383
393
|
|
384
394
|
@property
|
385
395
|
def kind(self):
|
@@ -2004,6 +2014,50 @@ class Cluster(object):
|
|
2004
2014
|
|
2005
2015
|
self._org_soft_timeouts_enabled = org_soft_timeouts_enabled
|
2006
2016
|
|
2017
|
+
@property
|
2018
|
+
def control_plane_count(self):
|
2019
|
+
"""Gets the control_plane_count of this Cluster. # noqa: E501
|
2020
|
+
|
2021
|
+
Specifies the required number of control plane nodes that should be part of the cluster. # noqa: E501
|
2022
|
+
|
2023
|
+
:return: The control_plane_count of this Cluster. # noqa: E501
|
2024
|
+
:rtype: int
|
2025
|
+
"""
|
2026
|
+
return self._control_plane_count
|
2027
|
+
|
2028
|
+
@control_plane_count.setter
|
2029
|
+
def control_plane_count(self, control_plane_count):
|
2030
|
+
"""Sets the control_plane_count of this Cluster.
|
2031
|
+
|
2032
|
+
Specifies the required number of control plane nodes that should be part of the cluster. # noqa: E501
|
2033
|
+
|
2034
|
+
:param control_plane_count: The control_plane_count of this Cluster. # noqa: E501
|
2035
|
+
:type: int
|
2036
|
+
"""
|
2037
|
+
|
2038
|
+
self._control_plane_count = control_plane_count
|
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
|
+
|
2007
2061
|
def to_dict(self):
|
2008
2062
|
"""Returns the model properties as a dict"""
|
2009
2063
|
result = {}
|
@@ -60,7 +60,9 @@ class ClusterCreateParams(object):
|
|
60
60
|
'cpu_architecture': 'str',
|
61
61
|
'disk_encryption': 'DiskEncryption',
|
62
62
|
'ignition_endpoint': 'IgnitionEndpoint',
|
63
|
-
'tags': 'str'
|
63
|
+
'tags': 'str',
|
64
|
+
'control_plane_count': 'int',
|
65
|
+
'load_balancer': 'LoadBalancer'
|
64
66
|
}
|
65
67
|
|
66
68
|
attribute_map = {
|
@@ -93,10 +95,12 @@ class ClusterCreateParams(object):
|
|
93
95
|
'cpu_architecture': 'cpu_architecture',
|
94
96
|
'disk_encryption': 'disk_encryption',
|
95
97
|
'ignition_endpoint': 'ignition_endpoint',
|
96
|
-
'tags': 'tags'
|
98
|
+
'tags': 'tags',
|
99
|
+
'control_plane_count': 'control_plane_count',
|
100
|
+
'load_balancer': 'load_balancer'
|
97
101
|
}
|
98
102
|
|
99
|
-
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): # 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
|
100
104
|
"""ClusterCreateParams - a model defined in Swagger""" # noqa: E501
|
101
105
|
|
102
106
|
self._name = None
|
@@ -129,6 +133,8 @@ class ClusterCreateParams(object):
|
|
129
133
|
self._disk_encryption = None
|
130
134
|
self._ignition_endpoint = None
|
131
135
|
self._tags = None
|
136
|
+
self._control_plane_count = None
|
137
|
+
self._load_balancer = None
|
132
138
|
self.discriminator = None
|
133
139
|
|
134
140
|
self.name = name
|
@@ -188,6 +194,10 @@ class ClusterCreateParams(object):
|
|
188
194
|
self.ignition_endpoint = ignition_endpoint
|
189
195
|
if tags is not None:
|
190
196
|
self.tags = tags
|
197
|
+
if control_plane_count is not None:
|
198
|
+
self.control_plane_count = control_plane_count
|
199
|
+
if load_balancer is not None:
|
200
|
+
self.load_balancer = load_balancer
|
191
201
|
|
192
202
|
@property
|
193
203
|
def name(self):
|
@@ -222,7 +232,7 @@ class ClusterCreateParams(object):
|
|
222
232
|
def high_availability_mode(self):
|
223
233
|
"""Gets the high_availability_mode of this ClusterCreateParams. # noqa: E501
|
224
234
|
|
225
|
-
Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster over multiple master nodes whereas 'None' installs a full cluster over one node. # noqa: E501
|
235
|
+
(DEPRECATED) Please use 'control_plane_count' instead. Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster over multiple master nodes whereas 'None' installs a full cluster over one node. # noqa: E501
|
226
236
|
|
227
237
|
:return: The high_availability_mode of this ClusterCreateParams. # noqa: E501
|
228
238
|
:rtype: str
|
@@ -233,7 +243,7 @@ class ClusterCreateParams(object):
|
|
233
243
|
def high_availability_mode(self, high_availability_mode):
|
234
244
|
"""Sets the high_availability_mode of this ClusterCreateParams.
|
235
245
|
|
236
|
-
Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster over multiple master nodes whereas 'None' installs a full cluster over one node. # noqa: E501
|
246
|
+
(DEPRECATED) Please use 'control_plane_count' instead. Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster over multiple master nodes whereas 'None' installs a full cluster over one node. # noqa: E501
|
237
247
|
|
238
248
|
:param high_availability_mode: The high_availability_mode of this ClusterCreateParams. # noqa: E501
|
239
249
|
:type: str
|
@@ -915,6 +925,50 @@ class ClusterCreateParams(object):
|
|
915
925
|
|
916
926
|
self._tags = tags
|
917
927
|
|
928
|
+
@property
|
929
|
+
def control_plane_count(self):
|
930
|
+
"""Gets the control_plane_count of this ClusterCreateParams. # noqa: E501
|
931
|
+
|
932
|
+
Specifies the required number of control plane nodes that should be part of the cluster. # noqa: E501
|
933
|
+
|
934
|
+
:return: The control_plane_count of this ClusterCreateParams. # noqa: E501
|
935
|
+
:rtype: int
|
936
|
+
"""
|
937
|
+
return self._control_plane_count
|
938
|
+
|
939
|
+
@control_plane_count.setter
|
940
|
+
def control_plane_count(self, control_plane_count):
|
941
|
+
"""Sets the control_plane_count of this ClusterCreateParams.
|
942
|
+
|
943
|
+
Specifies the required number of control plane nodes that should be part of the cluster. # noqa: E501
|
944
|
+
|
945
|
+
:param control_plane_count: The control_plane_count of this ClusterCreateParams. # noqa: E501
|
946
|
+
:type: int
|
947
|
+
"""
|
948
|
+
|
949
|
+
self._control_plane_count = control_plane_count
|
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
|
+
|
918
972
|
def to_dict(self):
|
919
973
|
"""Returns the model properties as a dict"""
|
920
974
|
result = {}
|
@@ -48,8 +48,17 @@ class ClusterValidationId(object):
|
|
48
48
|
CNV_REQUIREMENTS_SATISFIED = "cnv-requirements-satisfied"
|
49
49
|
LVM_REQUIREMENTS_SATISFIED = "lvm-requirements-satisfied"
|
50
50
|
MCE_REQUIREMENTS_SATISFIED = "mce-requirements-satisfied"
|
51
|
+
MTV_REQUIREMENTS_SATISFIED = "mtv-requirements-satisfied"
|
52
|
+
OSC_REQUIREMENTS_SATISFIED = "osc-requirements-satisfied"
|
51
53
|
NETWORK_TYPE_VALID = "network-type-valid"
|
52
54
|
PLATFORM_REQUIREMENTS_SATISFIED = "platform-requirements-satisfied"
|
55
|
+
NODE_FEATURE_DISCOVERY_REQUIREMENTS_SATISFIED = "node-feature-discovery-requirements-satisfied"
|
56
|
+
NVIDIA_GPU_REQUIREMENTS_SATISFIED = "nvidia-gpu-requirements-satisfied"
|
57
|
+
PIPELINES_REQUIREMENTS_SATISFIED = "pipelines-requirements-satisfied"
|
58
|
+
SERVICEMESH_REQUIREMENTS_SATISFIED = "servicemesh-requirements-satisfied"
|
59
|
+
SERVERLESS_REQUIREMENTS_SATISFIED = "serverless-requirements-satisfied"
|
60
|
+
OPENSHIFT_AI_REQUIREMENTS_SATISFIED = "openshift-ai-requirements-satisfied"
|
61
|
+
AUTHORINO_REQUIREMENTS_SATISFIED = "authorino-requirements-satisfied"
|
53
62
|
|
54
63
|
"""
|
55
64
|
Attributes:
|
@@ -33,21 +33,24 @@ class ConnectivityRemoteHost(object):
|
|
33
33
|
swagger_types = {
|
34
34
|
'host_id': 'str',
|
35
35
|
'l2_connectivity': 'list[L2Connectivity]',
|
36
|
-
'l3_connectivity': 'list[L3Connectivity]'
|
36
|
+
'l3_connectivity': 'list[L3Connectivity]',
|
37
|
+
'mtu_report': 'list[MtuReport]'
|
37
38
|
}
|
38
39
|
|
39
40
|
attribute_map = {
|
40
41
|
'host_id': 'host_id',
|
41
42
|
'l2_connectivity': 'l2_connectivity',
|
42
|
-
'l3_connectivity': 'l3_connectivity'
|
43
|
+
'l3_connectivity': 'l3_connectivity',
|
44
|
+
'mtu_report': 'mtu_report'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, host_id=None, l2_connectivity=None, l3_connectivity=None): # noqa: E501
|
47
|
+
def __init__(self, host_id=None, l2_connectivity=None, l3_connectivity=None, mtu_report=None): # noqa: E501
|
46
48
|
"""ConnectivityRemoteHost - a model defined in Swagger""" # noqa: E501
|
47
49
|
|
48
50
|
self._host_id = None
|
49
51
|
self._l2_connectivity = None
|
50
52
|
self._l3_connectivity = None
|
53
|
+
self._mtu_report = None
|
51
54
|
self.discriminator = None
|
52
55
|
|
53
56
|
if host_id is not None:
|
@@ -56,6 +59,8 @@ class ConnectivityRemoteHost(object):
|
|
56
59
|
self.l2_connectivity = l2_connectivity
|
57
60
|
if l3_connectivity is not None:
|
58
61
|
self.l3_connectivity = l3_connectivity
|
62
|
+
if mtu_report is not None:
|
63
|
+
self.mtu_report = mtu_report
|
59
64
|
|
60
65
|
@property
|
61
66
|
def host_id(self):
|
@@ -120,6 +125,27 @@ class ConnectivityRemoteHost(object):
|
|
120
125
|
|
121
126
|
self._l3_connectivity = l3_connectivity
|
122
127
|
|
128
|
+
@property
|
129
|
+
def mtu_report(self):
|
130
|
+
"""Gets the mtu_report of this ConnectivityRemoteHost. # noqa: E501
|
131
|
+
|
132
|
+
|
133
|
+
:return: The mtu_report of this ConnectivityRemoteHost. # noqa: E501
|
134
|
+
:rtype: list[MtuReport]
|
135
|
+
"""
|
136
|
+
return self._mtu_report
|
137
|
+
|
138
|
+
@mtu_report.setter
|
139
|
+
def mtu_report(self, mtu_report):
|
140
|
+
"""Sets the mtu_report of this ConnectivityRemoteHost.
|
141
|
+
|
142
|
+
|
143
|
+
:param mtu_report: The mtu_report of this ConnectivityRemoteHost. # noqa: E501
|
144
|
+
:type: list[MtuReport]
|
145
|
+
"""
|
146
|
+
|
147
|
+
self._mtu_report = mtu_report
|
148
|
+
|
123
149
|
def to_dict(self):
|
124
150
|
"""Returns the model properties as a dict"""
|
125
151
|
result = {}
|
@@ -46,11 +46,13 @@ class Disk(object):
|
|
46
46
|
'size_bytes': 'int',
|
47
47
|
'bootable': 'bool',
|
48
48
|
'removable': 'bool',
|
49
|
+
'partition_types': 'str',
|
49
50
|
'is_installation_media': 'bool',
|
50
51
|
'installation_eligibility': 'DiskInstallationEligibility',
|
51
52
|
'smart': 'str',
|
52
53
|
'io_perf': 'IoPerf',
|
53
|
-
'holders': 'str'
|
54
|
+
'holders': 'str',
|
55
|
+
'iscsi': 'Iscsi'
|
54
56
|
}
|
55
57
|
|
56
58
|
attribute_map = {
|
@@ -69,14 +71,16 @@ class Disk(object):
|
|
69
71
|
'size_bytes': 'size_bytes',
|
70
72
|
'bootable': 'bootable',
|
71
73
|
'removable': 'removable',
|
74
|
+
'partition_types': 'partitionTypes',
|
72
75
|
'is_installation_media': 'is_installation_media',
|
73
76
|
'installation_eligibility': 'installation_eligibility',
|
74
77
|
'smart': 'smart',
|
75
78
|
'io_perf': 'io_perf',
|
76
|
-
'holders': 'holders'
|
79
|
+
'holders': 'holders',
|
80
|
+
'iscsi': 'iscsi'
|
77
81
|
}
|
78
82
|
|
79
|
-
def __init__(self, id=None, drive_type=None, has_uuid=None, vendor=None, name=None, path=None, hctl=None, by_path=None, by_id=None, model=None, wwn=None, serial=None, size_bytes=None, bootable=None, removable=None, is_installation_media=None, installation_eligibility=None, smart=None, io_perf=None, holders=None): # noqa: E501
|
83
|
+
def __init__(self, id=None, drive_type=None, has_uuid=None, vendor=None, name=None, path=None, hctl=None, by_path=None, by_id=None, model=None, wwn=None, serial=None, size_bytes=None, bootable=None, removable=None, partition_types=None, is_installation_media=None, installation_eligibility=None, smart=None, io_perf=None, holders=None, iscsi=None): # noqa: E501
|
80
84
|
"""Disk - a model defined in Swagger""" # noqa: E501
|
81
85
|
|
82
86
|
self._id = None
|
@@ -94,11 +98,13 @@ class Disk(object):
|
|
94
98
|
self._size_bytes = None
|
95
99
|
self._bootable = None
|
96
100
|
self._removable = None
|
101
|
+
self._partition_types = None
|
97
102
|
self._is_installation_media = None
|
98
103
|
self._installation_eligibility = None
|
99
104
|
self._smart = None
|
100
105
|
self._io_perf = None
|
101
106
|
self._holders = None
|
107
|
+
self._iscsi = None
|
102
108
|
self.discriminator = None
|
103
109
|
|
104
110
|
if id is not None:
|
@@ -131,6 +137,8 @@ class Disk(object):
|
|
131
137
|
self.bootable = bootable
|
132
138
|
if removable is not None:
|
133
139
|
self.removable = removable
|
140
|
+
if partition_types is not None:
|
141
|
+
self.partition_types = partition_types
|
134
142
|
if is_installation_media is not None:
|
135
143
|
self.is_installation_media = is_installation_media
|
136
144
|
if installation_eligibility is not None:
|
@@ -141,6 +149,8 @@ class Disk(object):
|
|
141
149
|
self.io_perf = io_perf
|
142
150
|
if holders is not None:
|
143
151
|
self.holders = holders
|
152
|
+
if iscsi is not None:
|
153
|
+
self.iscsi = iscsi
|
144
154
|
|
145
155
|
@property
|
146
156
|
def id(self):
|
@@ -463,6 +473,27 @@ class Disk(object):
|
|
463
473
|
|
464
474
|
self._removable = removable
|
465
475
|
|
476
|
+
@property
|
477
|
+
def partition_types(self):
|
478
|
+
"""Gets the partition_types of this Disk. # noqa: E501
|
479
|
+
|
480
|
+
|
481
|
+
:return: The partition_types of this Disk. # noqa: E501
|
482
|
+
:rtype: str
|
483
|
+
"""
|
484
|
+
return self._partition_types
|
485
|
+
|
486
|
+
@partition_types.setter
|
487
|
+
def partition_types(self, partition_types):
|
488
|
+
"""Sets the partition_types of this Disk.
|
489
|
+
|
490
|
+
|
491
|
+
:param partition_types: The partition_types of this Disk. # noqa: E501
|
492
|
+
:type: str
|
493
|
+
"""
|
494
|
+
|
495
|
+
self._partition_types = partition_types
|
496
|
+
|
466
497
|
@property
|
467
498
|
def is_installation_media(self):
|
468
499
|
"""Gets the is_installation_media of this Disk. # noqa: E501
|
@@ -572,6 +603,27 @@ class Disk(object):
|
|
572
603
|
|
573
604
|
self._holders = holders
|
574
605
|
|
606
|
+
@property
|
607
|
+
def iscsi(self):
|
608
|
+
"""Gets the iscsi of this Disk. # noqa: E501
|
609
|
+
|
610
|
+
|
611
|
+
:return: The iscsi of this Disk. # noqa: E501
|
612
|
+
:rtype: Iscsi
|
613
|
+
"""
|
614
|
+
return self._iscsi
|
615
|
+
|
616
|
+
@iscsi.setter
|
617
|
+
def iscsi(self, iscsi):
|
618
|
+
"""Sets the iscsi of this Disk.
|
619
|
+
|
620
|
+
|
621
|
+
:param iscsi: The iscsi of this Disk. # noqa: E501
|
622
|
+
:type: Iscsi
|
623
|
+
"""
|
624
|
+
|
625
|
+
self._iscsi = iscsi
|
626
|
+
|
575
627
|
def to_dict(self):
|
576
628
|
"""Returns the model properties as a dict"""
|
577
629
|
result = {}
|
@@ -33,21 +33,24 @@ class DomainResolutionResponseResolutions(object):
|
|
33
33
|
swagger_types = {
|
34
34
|
'domain_name': 'str',
|
35
35
|
'ipv4_addresses': 'list[str]',
|
36
|
-
'ipv6_addresses': 'list[str]'
|
36
|
+
'ipv6_addresses': 'list[str]',
|
37
|
+
'cnames': 'list[str]'
|
37
38
|
}
|
38
39
|
|
39
40
|
attribute_map = {
|
40
41
|
'domain_name': 'domain_name',
|
41
42
|
'ipv4_addresses': 'ipv4_addresses',
|
42
|
-
'ipv6_addresses': 'ipv6_addresses'
|
43
|
+
'ipv6_addresses': 'ipv6_addresses',
|
44
|
+
'cnames': 'cnames'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, domain_name=None, ipv4_addresses=None, ipv6_addresses=None): # noqa: E501
|
47
|
+
def __init__(self, domain_name=None, ipv4_addresses=None, ipv6_addresses=None, cnames=None): # noqa: E501
|
46
48
|
"""DomainResolutionResponseResolutions - a model defined in Swagger""" # noqa: E501
|
47
49
|
|
48
50
|
self._domain_name = None
|
49
51
|
self._ipv4_addresses = None
|
50
52
|
self._ipv6_addresses = None
|
53
|
+
self._cnames = None
|
51
54
|
self.discriminator = None
|
52
55
|
|
53
56
|
self.domain_name = domain_name
|
@@ -55,6 +58,8 @@ class DomainResolutionResponseResolutions(object):
|
|
55
58
|
self.ipv4_addresses = ipv4_addresses
|
56
59
|
if ipv6_addresses is not None:
|
57
60
|
self.ipv6_addresses = ipv6_addresses
|
61
|
+
if cnames is not None:
|
62
|
+
self.cnames = cnames
|
58
63
|
|
59
64
|
@property
|
60
65
|
def domain_name(self):
|
@@ -127,6 +132,29 @@ class DomainResolutionResponseResolutions(object):
|
|
127
132
|
|
128
133
|
self._ipv6_addresses = ipv6_addresses
|
129
134
|
|
135
|
+
@property
|
136
|
+
def cnames(self):
|
137
|
+
"""Gets the cnames of this DomainResolutionResponseResolutions. # noqa: E501
|
138
|
+
|
139
|
+
The cnames that were resolved for the domain, empty if none # noqa: E501
|
140
|
+
|
141
|
+
:return: The cnames of this DomainResolutionResponseResolutions. # noqa: E501
|
142
|
+
:rtype: list[str]
|
143
|
+
"""
|
144
|
+
return self._cnames
|
145
|
+
|
146
|
+
@cnames.setter
|
147
|
+
def cnames(self, cnames):
|
148
|
+
"""Sets the cnames of this DomainResolutionResponseResolutions.
|
149
|
+
|
150
|
+
The cnames that were resolved for the domain, empty if none # noqa: E501
|
151
|
+
|
152
|
+
:param cnames: The cnames of this DomainResolutionResponseResolutions. # noqa: E501
|
153
|
+
:type: list[str]
|
154
|
+
"""
|
155
|
+
|
156
|
+
self._cnames = cnames
|
157
|
+
|
130
158
|
def to_dict(self):
|
131
159
|
"""Returns the model properties as a dict"""
|
132
160
|
result = {}
|