assisted-service-client 2.40.0.post3__py3-none-any.whl → 2.47.0.post54__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.
Files changed (34) hide show
  1. assisted_service_client/__init__.py +6 -0
  2. assisted_service_client/api/installer_api.py +213 -3
  3. assisted_service_client/api/operators_api.py +36 -10
  4. assisted_service_client/models/__init__.py +6 -0
  5. assisted_service_client/models/cluster.py +7 -7
  6. assisted_service_client/models/cluster_create_params.py +3 -3
  7. assisted_service_client/models/cluster_validation_id.py +5 -0
  8. assisted_service_client/models/disconnected_cluster_create_params.py +151 -0
  9. assisted_service_client/models/disk_encryption.py +3 -3
  10. assisted_service_client/models/feature.py +196 -0
  11. assisted_service_client/models/feature_support_level_id.py +5 -1
  12. assisted_service_client/models/fencing_credentials_params.py +210 -0
  13. assisted_service_client/models/host.py +31 -3
  14. assisted_service_client/models/host_update_params.py +31 -3
  15. assisted_service_client/models/host_validation_id.py +4 -0
  16. assisted_service_client/models/image_type.py +1 -0
  17. assisted_service_client/models/incompatibility_reason.py +95 -0
  18. assisted_service_client/models/inline_response2001.py +43 -19
  19. assisted_service_client/models/inline_response2002.py +117 -0
  20. assisted_service_client/models/operator.py +252 -0
  21. assisted_service_client/models/v2_cluster_update_params.py +3 -3
  22. assisted_service_client/models/versioned_host_requirements.py +29 -1
  23. {assisted_service_client-2.40.0.post3.dist-info → assisted_service_client-2.47.0.post54.dist-info}/METADATA +10 -2
  24. {assisted_service_client-2.40.0.post3.dist-info → assisted_service_client-2.47.0.post54.dist-info}/RECORD +34 -22
  25. test/test_disconnected_cluster_create_params.py +40 -0
  26. test/test_feature.py +40 -0
  27. test/test_fencing_credentials_params.py +40 -0
  28. test/test_incompatibility_reason.py +40 -0
  29. test/test_inline_response2002.py +40 -0
  30. test/test_installer_api.py +12 -0
  31. test/test_operator.py +40 -0
  32. test/test_operators_api.py +1 -1
  33. {assisted_service_client-2.40.0.post3.dist-info → assisted_service_client-2.47.0.post54.dist-info}/WHEEL +0 -0
  34. {assisted_service_client-2.40.0.post3.dist-info → assisted_service_client-2.47.0.post54.dist-info}/top_level.txt +0 -0
@@ -61,6 +61,7 @@ from assisted_service_client.models.create_manifest_params import CreateManifest
61
61
  from assisted_service_client.models.credentials import Credentials
62
62
  from assisted_service_client.models.dhcp_allocation_request import DhcpAllocationRequest
63
63
  from assisted_service_client.models.dhcp_allocation_response import DhcpAllocationResponse
64
+ from assisted_service_client.models.disconnected_cluster_create_params import DisconnectedClusterCreateParams
64
65
  from assisted_service_client.models.disk import Disk
65
66
  from assisted_service_client.models.disk_config_params import DiskConfigParams
66
67
  from assisted_service_client.models.disk_encryption import DiskEncryption
@@ -79,7 +80,9 @@ from assisted_service_client.models.drive_type import DriveType
79
80
  from assisted_service_client.models.error import Error
80
81
  from assisted_service_client.models.event import Event
81
82
  from assisted_service_client.models.event_list import EventList
83
+ from assisted_service_client.models.feature import Feature
82
84
  from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
85
+ from assisted_service_client.models.fencing_credentials_params import FencingCredentialsParams
83
86
  from assisted_service_client.models.finalizing_stage import FinalizingStage
84
87
  from assisted_service_client.models.free_addresses_list import FreeAddressesList
85
88
  from assisted_service_client.models.free_addresses_request import FreeAddressesRequest
@@ -110,6 +113,7 @@ from assisted_service_client.models.image_create_params import ImageCreateParams
110
113
  from assisted_service_client.models.image_info import ImageInfo
111
114
  from assisted_service_client.models.image_type import ImageType
112
115
  from assisted_service_client.models.import_cluster_params import ImportClusterParams
116
+ from assisted_service_client.models.incompatibility_reason import IncompatibilityReason
113
117
  from assisted_service_client.models.infra_env import InfraEnv
114
118
  from assisted_service_client.models.infra_env_create_params import InfraEnvCreateParams
115
119
  from assisted_service_client.models.infra_env_list import InfraEnvList
@@ -119,6 +123,7 @@ from assisted_service_client.models.ingress_cert_params import IngressCertParams
119
123
  from assisted_service_client.models.ingress_vip import IngressVip
120
124
  from assisted_service_client.models.inline_response200 import InlineResponse200
121
125
  from assisted_service_client.models.inline_response2001 import InlineResponse2001
126
+ from assisted_service_client.models.inline_response2002 import InlineResponse2002
122
127
  from assisted_service_client.models.install_cmd_request import InstallCmdRequest
123
128
  from assisted_service_client.models.installer_args_params import InstallerArgsParams
124
129
  from assisted_service_client.models.interface import Interface
@@ -156,6 +161,7 @@ from assisted_service_client.models.ntp_synchronization_request import NtpSynchr
156
161
  from assisted_service_client.models.ntp_synchronization_response import NtpSynchronizationResponse
157
162
  from assisted_service_client.models.openshift_version import OpenshiftVersion
158
163
  from assisted_service_client.models.openshift_versions import OpenshiftVersions
164
+ from assisted_service_client.models.operator import Operator
159
165
  from assisted_service_client.models.operator_create_params import OperatorCreateParams
160
166
  from assisted_service_client.models.operator_hardware_requirements import OperatorHardwareRequirements
161
167
  from assisted_service_client.models.operator_host_requirements import OperatorHostRequirements
@@ -445,6 +445,117 @@ class InstallerApi(object):
445
445
  _request_timeout=params.get('_request_timeout'),
446
446
  collection_formats=collection_formats)
447
447
 
448
+ def get_detailed_supported_features(self, openshift_version, **kwargs): # noqa: E501
449
+ """get_detailed_supported_features # noqa: E501
450
+
451
+ Retrieves detailed features information including support level, incompatibilities, and operator dependencies. # noqa: E501
452
+ This method makes a synchronous HTTP request by default. To make an
453
+ asynchronous HTTP request, please pass async_req=True
454
+ >>> thread = api.get_detailed_supported_features(openshift_version, async_req=True)
455
+ >>> result = thread.get()
456
+
457
+ :param async_req bool
458
+ :param str openshift_version: Version of the OpenShift cluster. (required)
459
+ :param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc).
460
+ :param str platform_type: The provider platform type.
461
+ :param str external_platform_name: External platform name when platform type is set to external. The value of this parameter will be ignored if platform_type is not external.
462
+ :return: InlineResponse2001
463
+ If the method is called asynchronously,
464
+ returns the request thread.
465
+ """
466
+ kwargs['_return_http_data_only'] = True
467
+ if kwargs.get('async_req'):
468
+ return self.get_detailed_supported_features_with_http_info(openshift_version, **kwargs) # noqa: E501
469
+ else:
470
+ (data) = self.get_detailed_supported_features_with_http_info(openshift_version, **kwargs) # noqa: E501
471
+ return data
472
+
473
+ def get_detailed_supported_features_with_http_info(self, openshift_version, **kwargs): # noqa: E501
474
+ """get_detailed_supported_features # noqa: E501
475
+
476
+ Retrieves detailed features information including support level, incompatibilities, and operator dependencies. # noqa: E501
477
+ This method makes a synchronous HTTP request by default. To make an
478
+ asynchronous HTTP request, please pass async_req=True
479
+ >>> thread = api.get_detailed_supported_features_with_http_info(openshift_version, async_req=True)
480
+ >>> result = thread.get()
481
+
482
+ :param async_req bool
483
+ :param str openshift_version: Version of the OpenShift cluster. (required)
484
+ :param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc).
485
+ :param str platform_type: The provider platform type.
486
+ :param str external_platform_name: External platform name when platform type is set to external. The value of this parameter will be ignored if platform_type is not external.
487
+ :return: InlineResponse2001
488
+ If the method is called asynchronously,
489
+ returns the request thread.
490
+ """
491
+
492
+ all_params = ['openshift_version', 'cpu_architecture', 'platform_type', 'external_platform_name'] # noqa: E501
493
+ all_params.append('async_req')
494
+ all_params.append('_return_http_data_only')
495
+ all_params.append('_preload_content')
496
+ all_params.append('_request_timeout')
497
+
498
+ params = locals()
499
+ for key, val in six.iteritems(params['kwargs']):
500
+ if key not in all_params:
501
+ raise TypeError(
502
+ "Got an unexpected keyword argument '%s'"
503
+ " to method get_detailed_supported_features" % key
504
+ )
505
+ params[key] = val
506
+ del params['kwargs']
507
+ # verify the required parameter 'openshift_version' is set
508
+ if ('openshift_version' not in params or
509
+ params['openshift_version'] is None):
510
+ raise ValueError("Missing the required parameter `openshift_version` when calling `get_detailed_supported_features`") # noqa: E501
511
+
512
+ collection_formats = {}
513
+
514
+ path_params = {}
515
+
516
+ query_params = []
517
+ if 'openshift_version' in params:
518
+ query_params.append(('openshift_version', params['openshift_version'])) # noqa: E501
519
+ if 'cpu_architecture' in params:
520
+ query_params.append(('cpu_architecture', params['cpu_architecture'])) # noqa: E501
521
+ if 'platform_type' in params:
522
+ query_params.append(('platform_type', params['platform_type'])) # noqa: E501
523
+ if 'external_platform_name' in params:
524
+ query_params.append(('external_platform_name', params['external_platform_name'])) # noqa: E501
525
+
526
+ header_params = {}
527
+
528
+ form_params = []
529
+ local_var_files = {}
530
+
531
+ body_params = None
532
+ # HTTP header `Accept`
533
+ header_params['Accept'] = self.api_client.select_header_accept(
534
+ ['application/json']) # noqa: E501
535
+
536
+ # HTTP header `Content-Type`
537
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
538
+ ['application/json']) # noqa: E501
539
+
540
+ # Authentication setting
541
+ auth_settings = ['userAuth'] # noqa: E501
542
+
543
+ return self.api_client.call_api(
544
+ '/v2/support-levels/features/detailed', 'GET',
545
+ path_params,
546
+ query_params,
547
+ header_params,
548
+ body=body_params,
549
+ post_params=form_params,
550
+ files=local_var_files,
551
+ response_type='InlineResponse2001', # noqa: E501
552
+ auth_settings=auth_settings,
553
+ async_req=params.get('async_req'),
554
+ _return_http_data_only=params.get('_return_http_data_only'),
555
+ _preload_content=params.get('_preload_content', True),
556
+ _request_timeout=params.get('_request_timeout'),
557
+ collection_formats=collection_formats)
558
+
448
559
  def get_infra_env(self, infra_env_id, **kwargs): # noqa: E501
449
560
  """get_infra_env # noqa: E501
450
561
 
@@ -765,7 +876,7 @@ class InstallerApi(object):
765
876
 
766
877
  :param async_req bool
767
878
  :param str openshift_version: Version of the OpenShift cluster. (required)
768
- :return: InlineResponse2001
879
+ :return: InlineResponse2002
769
880
  If the method is called asynchronously,
770
881
  returns the request thread.
771
882
  """
@@ -787,7 +898,7 @@ class InstallerApi(object):
787
898
 
788
899
  :param async_req bool
789
900
  :param str openshift_version: Version of the OpenShift cluster. (required)
790
- :return: InlineResponse2001
901
+ :return: InlineResponse2002
791
902
  If the method is called asynchronously,
792
903
  returns the request thread.
793
904
  """
@@ -845,7 +956,7 @@ class InstallerApi(object):
845
956
  body=body_params,
846
957
  post_params=form_params,
847
958
  files=local_var_files,
848
- response_type='InlineResponse2001', # noqa: E501
959
+ response_type='InlineResponse2002', # noqa: E501
849
960
  auth_settings=auth_settings,
850
961
  async_req=params.get('async_req'),
851
962
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -4840,6 +4951,105 @@ class InstallerApi(object):
4840
4951
  _request_timeout=params.get('_request_timeout'),
4841
4952
  collection_formats=collection_formats)
4842
4953
 
4954
+ def v2_register_disconnected_cluster(self, new_cluster_params, **kwargs): # noqa: E501
4955
+ """v2_register_disconnected_cluster # noqa: E501
4956
+
4957
+ Create a disconnected OpenShift cluster for offline installation with embedded ignition # noqa: E501
4958
+ This method makes a synchronous HTTP request by default. To make an
4959
+ asynchronous HTTP request, please pass async_req=True
4960
+ >>> thread = api.v2_register_disconnected_cluster(new_cluster_params, async_req=True)
4961
+ >>> result = thread.get()
4962
+
4963
+ :param async_req bool
4964
+ :param DisconnectedClusterCreateParams new_cluster_params: Parameters for creating a disconnected cluster. (required)
4965
+ :return: Cluster
4966
+ If the method is called asynchronously,
4967
+ returns the request thread.
4968
+ """
4969
+ kwargs['_return_http_data_only'] = True
4970
+ if kwargs.get('async_req'):
4971
+ return self.v2_register_disconnected_cluster_with_http_info(new_cluster_params, **kwargs) # noqa: E501
4972
+ else:
4973
+ (data) = self.v2_register_disconnected_cluster_with_http_info(new_cluster_params, **kwargs) # noqa: E501
4974
+ return data
4975
+
4976
+ def v2_register_disconnected_cluster_with_http_info(self, new_cluster_params, **kwargs): # noqa: E501
4977
+ """v2_register_disconnected_cluster # noqa: E501
4978
+
4979
+ Create a disconnected OpenShift cluster for offline installation with embedded ignition # noqa: E501
4980
+ This method makes a synchronous HTTP request by default. To make an
4981
+ asynchronous HTTP request, please pass async_req=True
4982
+ >>> thread = api.v2_register_disconnected_cluster_with_http_info(new_cluster_params, async_req=True)
4983
+ >>> result = thread.get()
4984
+
4985
+ :param async_req bool
4986
+ :param DisconnectedClusterCreateParams new_cluster_params: Parameters for creating a disconnected cluster. (required)
4987
+ :return: Cluster
4988
+ If the method is called asynchronously,
4989
+ returns the request thread.
4990
+ """
4991
+
4992
+ all_params = ['new_cluster_params'] # noqa: E501
4993
+ all_params.append('async_req')
4994
+ all_params.append('_return_http_data_only')
4995
+ all_params.append('_preload_content')
4996
+ all_params.append('_request_timeout')
4997
+
4998
+ params = locals()
4999
+ for key, val in six.iteritems(params['kwargs']):
5000
+ if key not in all_params:
5001
+ raise TypeError(
5002
+ "Got an unexpected keyword argument '%s'"
5003
+ " to method v2_register_disconnected_cluster" % key
5004
+ )
5005
+ params[key] = val
5006
+ del params['kwargs']
5007
+ # verify the required parameter 'new_cluster_params' is set
5008
+ if ('new_cluster_params' not in params or
5009
+ params['new_cluster_params'] is None):
5010
+ raise ValueError("Missing the required parameter `new_cluster_params` when calling `v2_register_disconnected_cluster`") # noqa: E501
5011
+
5012
+ collection_formats = {}
5013
+
5014
+ path_params = {}
5015
+
5016
+ query_params = []
5017
+
5018
+ header_params = {}
5019
+
5020
+ form_params = []
5021
+ local_var_files = {}
5022
+
5023
+ body_params = None
5024
+ if 'new_cluster_params' in params:
5025
+ body_params = params['new_cluster_params']
5026
+ # HTTP header `Accept`
5027
+ header_params['Accept'] = self.api_client.select_header_accept(
5028
+ ['application/json']) # noqa: E501
5029
+
5030
+ # HTTP header `Content-Type`
5031
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
5032
+ ['application/json']) # noqa: E501
5033
+
5034
+ # Authentication setting
5035
+ auth_settings = ['userAuth'] # noqa: E501
5036
+
5037
+ return self.api_client.call_api(
5038
+ '/v2/clusters/disconnected', 'POST',
5039
+ path_params,
5040
+ query_params,
5041
+ header_params,
5042
+ body=body_params,
5043
+ post_params=form_params,
5044
+ files=local_var_files,
5045
+ response_type='Cluster', # noqa: E501
5046
+ auth_settings=auth_settings,
5047
+ async_req=params.get('async_req'),
5048
+ _return_http_data_only=params.get('_return_http_data_only'),
5049
+ _preload_content=params.get('_preload_content', True),
5050
+ _request_timeout=params.get('_request_timeout'),
5051
+ collection_formats=collection_formats)
5052
+
4843
5053
  def v2_register_host(self, infra_env_id, new_host_params, **kwargs): # noqa: E501
4844
5054
  """v2_register_host # noqa: E501
4845
5055
 
@@ -36,14 +36,15 @@ class OperatorsApi(object):
36
36
  def v2_get_bundle(self, id, **kwargs): # noqa: E501
37
37
  """Get operator properties for a bundle # noqa: E501
38
38
 
39
- Retrieves an array of operator properties for the specified bundle. # noqa: E501
39
+ Retrieves an array of operator properties for the specified bundle when some features are activated. # noqa: E501
40
40
  This method makes a synchronous HTTP request by default. To make an
41
41
  asynchronous HTTP request, please pass async_req=True
42
42
  >>> thread = api.v2_get_bundle(id, async_req=True)
43
43
  >>> result = thread.get()
44
44
 
45
45
  :param async_req bool
46
- :param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai-nvidia`. (required)
46
+ :param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai`. (required)
47
+ :param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
47
48
  :return: Bundle
48
49
  If the method is called asynchronously,
49
50
  returns the request thread.
@@ -58,20 +59,21 @@ class OperatorsApi(object):
58
59
  def v2_get_bundle_with_http_info(self, id, **kwargs): # noqa: E501
59
60
  """Get operator properties for a bundle # noqa: E501
60
61
 
61
- Retrieves an array of operator properties for the specified bundle. # noqa: E501
62
+ Retrieves an array of operator properties for the specified bundle when some features are activated. # noqa: E501
62
63
  This method makes a synchronous HTTP request by default. To make an
63
64
  asynchronous HTTP request, please pass async_req=True
64
65
  >>> thread = api.v2_get_bundle_with_http_info(id, async_req=True)
65
66
  >>> result = thread.get()
66
67
 
67
68
  :param async_req bool
68
- :param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai-nvidia`. (required)
69
+ :param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai`. (required)
70
+ :param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
69
71
  :return: Bundle
70
72
  If the method is called asynchronously,
71
73
  returns the request thread.
72
74
  """
73
75
 
74
- all_params = ['id'] # noqa: E501
76
+ all_params = ['id', 'feature_ids'] # noqa: E501
75
77
  all_params.append('async_req')
76
78
  all_params.append('_return_http_data_only')
77
79
  all_params.append('_preload_content')
@@ -98,6 +100,9 @@ class OperatorsApi(object):
98
100
  path_params['id'] = params['id'] # noqa: E501
99
101
 
100
102
  query_params = []
103
+ if 'feature_ids' in params:
104
+ query_params.append(('feature_ids', params['feature_ids'])) # noqa: E501
105
+ collection_formats['feature_ids'] = 'multi' # noqa: E501
101
106
 
102
107
  header_params = {}
103
108
 
@@ -133,15 +138,20 @@ class OperatorsApi(object):
133
138
  collection_formats=collection_formats)
134
139
 
135
140
  def v2_list_bundles(self, **kwargs): # noqa: E501
136
- """Get list of avaliable bundles # noqa: E501
141
+ """Get list of available bundles # noqa: E501
137
142
 
138
- Retrieves a list of avaliable bundles. # noqa: E501
143
+ Retrieves a list of available bundles filtered by support level. # noqa: E501
139
144
  This method makes a synchronous HTTP request by default. To make an
140
145
  asynchronous HTTP request, please pass async_req=True
141
146
  >>> thread = api.v2_list_bundles(async_req=True)
142
147
  >>> result = thread.get()
143
148
 
144
149
  :param async_req bool
150
+ :param str openshift_version: Version of the OpenShift cluster. If the parameter is not specified, only feature_ids parameter is taken into account.
151
+ :param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc). openshift_version must be set.
152
+ :param str platform_type: The provider platform type. openshift_version must be set.
153
+ :param str external_platform_name: External platform name when platform type is set to external. The value of this parameter will be ignored if platform_type is not external or if openshift_version is not set.
154
+ :param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
145
155
  :return: list[Bundle]
146
156
  If the method is called asynchronously,
147
157
  returns the request thread.
@@ -154,21 +164,26 @@ class OperatorsApi(object):
154
164
  return data
155
165
 
156
166
  def v2_list_bundles_with_http_info(self, **kwargs): # noqa: E501
157
- """Get list of avaliable bundles # noqa: E501
167
+ """Get list of available bundles # noqa: E501
158
168
 
159
- Retrieves a list of avaliable bundles. # noqa: E501
169
+ Retrieves a list of available bundles filtered by support level. # noqa: E501
160
170
  This method makes a synchronous HTTP request by default. To make an
161
171
  asynchronous HTTP request, please pass async_req=True
162
172
  >>> thread = api.v2_list_bundles_with_http_info(async_req=True)
163
173
  >>> result = thread.get()
164
174
 
165
175
  :param async_req bool
176
+ :param str openshift_version: Version of the OpenShift cluster. If the parameter is not specified, only feature_ids parameter is taken into account.
177
+ :param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc). openshift_version must be set.
178
+ :param str platform_type: The provider platform type. openshift_version must be set.
179
+ :param str external_platform_name: External platform name when platform type is set to external. The value of this parameter will be ignored if platform_type is not external or if openshift_version is not set.
180
+ :param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
166
181
  :return: list[Bundle]
167
182
  If the method is called asynchronously,
168
183
  returns the request thread.
169
184
  """
170
185
 
171
- all_params = [] # noqa: E501
186
+ all_params = ['openshift_version', 'cpu_architecture', 'platform_type', 'external_platform_name', 'feature_ids'] # noqa: E501
172
187
  all_params.append('async_req')
173
188
  all_params.append('_return_http_data_only')
174
189
  all_params.append('_preload_content')
@@ -189,6 +204,17 @@ class OperatorsApi(object):
189
204
  path_params = {}
190
205
 
191
206
  query_params = []
207
+ if 'openshift_version' in params:
208
+ query_params.append(('openshift_version', params['openshift_version'])) # noqa: E501
209
+ if 'cpu_architecture' in params:
210
+ query_params.append(('cpu_architecture', params['cpu_architecture'])) # noqa: E501
211
+ if 'platform_type' in params:
212
+ query_params.append(('platform_type', params['platform_type'])) # noqa: E501
213
+ if 'external_platform_name' in params:
214
+ query_params.append(('external_platform_name', params['external_platform_name'])) # noqa: E501
215
+ if 'feature_ids' in params:
216
+ query_params.append(('feature_ids', params['feature_ids'])) # noqa: E501
217
+ collection_formats['feature_ids'] = 'multi' # noqa: E501
192
218
 
193
219
  header_params = {}
194
220
 
@@ -49,6 +49,7 @@ from assisted_service_client.models.create_manifest_params import CreateManifest
49
49
  from assisted_service_client.models.credentials import Credentials
50
50
  from assisted_service_client.models.dhcp_allocation_request import DhcpAllocationRequest
51
51
  from assisted_service_client.models.dhcp_allocation_response import DhcpAllocationResponse
52
+ from assisted_service_client.models.disconnected_cluster_create_params import DisconnectedClusterCreateParams
52
53
  from assisted_service_client.models.disk import Disk
53
54
  from assisted_service_client.models.disk_config_params import DiskConfigParams
54
55
  from assisted_service_client.models.disk_encryption import DiskEncryption
@@ -67,7 +68,9 @@ from assisted_service_client.models.drive_type import DriveType
67
68
  from assisted_service_client.models.error import Error
68
69
  from assisted_service_client.models.event import Event
69
70
  from assisted_service_client.models.event_list import EventList
71
+ from assisted_service_client.models.feature import Feature
70
72
  from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
73
+ from assisted_service_client.models.fencing_credentials_params import FencingCredentialsParams
71
74
  from assisted_service_client.models.finalizing_stage import FinalizingStage
72
75
  from assisted_service_client.models.free_addresses_list import FreeAddressesList
73
76
  from assisted_service_client.models.free_addresses_request import FreeAddressesRequest
@@ -98,6 +101,7 @@ from assisted_service_client.models.image_create_params import ImageCreateParams
98
101
  from assisted_service_client.models.image_info import ImageInfo
99
102
  from assisted_service_client.models.image_type import ImageType
100
103
  from assisted_service_client.models.import_cluster_params import ImportClusterParams
104
+ from assisted_service_client.models.incompatibility_reason import IncompatibilityReason
101
105
  from assisted_service_client.models.infra_env import InfraEnv
102
106
  from assisted_service_client.models.infra_env_create_params import InfraEnvCreateParams
103
107
  from assisted_service_client.models.infra_env_list import InfraEnvList
@@ -107,6 +111,7 @@ from assisted_service_client.models.ingress_cert_params import IngressCertParams
107
111
  from assisted_service_client.models.ingress_vip import IngressVip
108
112
  from assisted_service_client.models.inline_response200 import InlineResponse200
109
113
  from assisted_service_client.models.inline_response2001 import InlineResponse2001
114
+ from assisted_service_client.models.inline_response2002 import InlineResponse2002
110
115
  from assisted_service_client.models.install_cmd_request import InstallCmdRequest
111
116
  from assisted_service_client.models.installer_args_params import InstallerArgsParams
112
117
  from assisted_service_client.models.interface import Interface
@@ -144,6 +149,7 @@ from assisted_service_client.models.ntp_synchronization_request import NtpSynchr
144
149
  from assisted_service_client.models.ntp_synchronization_response import NtpSynchronizationResponse
145
150
  from assisted_service_client.models.openshift_version import OpenshiftVersion
146
151
  from assisted_service_client.models.openshift_versions import OpenshiftVersions
152
+ from assisted_service_client.models.operator import Operator
147
153
  from assisted_service_client.models.operator_create_params import OperatorCreateParams
148
154
  from assisted_service_client.models.operator_hardware_requirements import OperatorHardwareRequirements
149
155
  from assisted_service_client.models.operator_host_requirements import OperatorHostRequirements
@@ -395,7 +395,7 @@ class Cluster(object):
395
395
  def kind(self):
396
396
  """Gets the kind of this Cluster. # noqa: E501
397
397
 
398
- Indicates the type of this object. Will be 'Cluster' if this is a complete object, 'AddHostsCluster' for cluster that add hosts to existing OCP cluster, # noqa: E501
398
+ Indicates the type of this object. Will be 'Cluster' if this is a complete object, 'AddHostsCluster' for cluster that add hosts to existing OCP cluster, 'DisconnectedCluster' for clusters with embedded ignition for offline installation, # noqa: E501
399
399
 
400
400
  :return: The kind of this Cluster. # noqa: E501
401
401
  :rtype: str
@@ -406,14 +406,14 @@ class Cluster(object):
406
406
  def kind(self, kind):
407
407
  """Sets the kind of this Cluster.
408
408
 
409
- Indicates the type of this object. Will be 'Cluster' if this is a complete object, 'AddHostsCluster' for cluster that add hosts to existing OCP cluster, # noqa: E501
409
+ Indicates the type of this object. Will be 'Cluster' if this is a complete object, 'AddHostsCluster' for cluster that add hosts to existing OCP cluster, 'DisconnectedCluster' for clusters with embedded ignition for offline installation, # noqa: E501
410
410
 
411
411
  :param kind: The kind of this Cluster. # noqa: E501
412
412
  :type: str
413
413
  """
414
414
  if kind is None:
415
415
  raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501
416
- allowed_values = ["Cluster", "AddHostsCluster"] # noqa: E501
416
+ allowed_values = ["Cluster", "AddHostsCluster", "DisconnectedCluster"] # noqa: E501
417
417
  if kind not in allowed_values:
418
418
  raise ValueError(
419
419
  "Invalid value for `kind` ({0}), must be one of {1}" # noqa: E501
@@ -1002,7 +1002,7 @@ class Cluster(object):
1002
1002
  """
1003
1003
  if status is None:
1004
1004
  raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
1005
- allowed_values = ["insufficient", "ready", "error", "preparing-for-installation", "pending-for-input", "installing", "finalizing", "installed", "adding-hosts", "cancelled", "installing-pending-user-action"] # noqa: E501
1005
+ allowed_values = ["insufficient", "ready", "error", "preparing-for-installation", "pending-for-input", "installing", "finalizing", "installed", "adding-hosts", "cancelled", "installing-pending-user-action", "unmonitored"] # noqa: E501
1006
1006
  if status not in allowed_values:
1007
1007
  raise ValueError(
1008
1008
  "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
@@ -1726,7 +1726,7 @@ class Cluster(object):
1726
1726
  def hyperthreading(self):
1727
1727
  """Gets the hyperthreading of this Cluster. # noqa: E501
1728
1728
 
1729
- Enable/disable hyperthreading on master nodes, worker nodes, or all nodes # noqa: E501
1729
+ Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them. # noqa: E501
1730
1730
 
1731
1731
  :return: The hyperthreading of this Cluster. # noqa: E501
1732
1732
  :rtype: str
@@ -1737,12 +1737,12 @@ class Cluster(object):
1737
1737
  def hyperthreading(self, hyperthreading):
1738
1738
  """Sets the hyperthreading of this Cluster.
1739
1739
 
1740
- Enable/disable hyperthreading on master nodes, worker nodes, or all nodes # noqa: E501
1740
+ Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them. # noqa: E501
1741
1741
 
1742
1742
  :param hyperthreading: The hyperthreading of this Cluster. # noqa: E501
1743
1743
  :type: str
1744
1744
  """
1745
- allowed_values = ["masters", "workers", "all", "none"] # noqa: E501
1745
+ allowed_values = ["none", "masters", "arbiters", "workers", "masters,arbiters", "masters,workers", "arbiters,workers", "masters,arbiters,workers", "all"] # noqa: E501
1746
1746
  if hyperthreading not in allowed_values:
1747
1747
  raise ValueError(
1748
1748
  "Invalid value for `hyperthreading` ({0}), must be one of {1}" # noqa: E501
@@ -660,7 +660,7 @@ class ClusterCreateParams(object):
660
660
  def hyperthreading(self):
661
661
  """Gets the hyperthreading of this ClusterCreateParams. # noqa: E501
662
662
 
663
- Enable/disable hyperthreading on master nodes, worker nodes, or all nodes. # noqa: E501
663
+ Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them. # noqa: E501
664
664
 
665
665
  :return: The hyperthreading of this ClusterCreateParams. # noqa: E501
666
666
  :rtype: str
@@ -671,12 +671,12 @@ class ClusterCreateParams(object):
671
671
  def hyperthreading(self, hyperthreading):
672
672
  """Sets the hyperthreading of this ClusterCreateParams.
673
673
 
674
- Enable/disable hyperthreading on master nodes, worker nodes, or all nodes. # noqa: E501
674
+ Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them. # noqa: E501
675
675
 
676
676
  :param hyperthreading: The hyperthreading of this ClusterCreateParams. # noqa: E501
677
677
  :type: str
678
678
  """
679
- allowed_values = ["masters", "workers", "none", "all"] # noqa: E501
679
+ allowed_values = ["none", "masters", "arbiters", "workers", "masters,arbiters", "masters,workers", "arbiters,workers", "masters,arbiters,workers", "all"] # noqa: E501
680
680
  if hyperthreading not in allowed_values:
681
681
  raise ValueError(
682
682
  "Invalid value for `hyperthreading` ({0}), must be one of {1}" # noqa: E501
@@ -58,6 +58,7 @@ class ClusterValidationId(object):
58
58
  SERVICEMESH_REQUIREMENTS_SATISFIED = "servicemesh-requirements-satisfied"
59
59
  SERVERLESS_REQUIREMENTS_SATISFIED = "serverless-requirements-satisfied"
60
60
  OPENSHIFT_AI_REQUIREMENTS_SATISFIED = "openshift-ai-requirements-satisfied"
61
+ OPENSHIFT_AI_GPU_REQUIREMENTS_SATISFIED = "openshift-ai-gpu-requirements-satisfied"
61
62
  AUTHORINO_REQUIREMENTS_SATISFIED = "authorino-requirements-satisfied"
62
63
  NMSTATE_REQUIREMENTS_SATISFIED = "nmstate-requirements-satisfied"
63
64
  AMD_GPU_REQUIREMENTS_SATISFIED = "amd-gpu-requirements-satisfied"
@@ -67,6 +68,10 @@ class ClusterValidationId(object):
67
68
  FENCE_AGENTS_REMEDIATION_REQUIREMENTS_SATISFIED = "fence-agents-remediation-requirements-satisfied"
68
69
  NODE_MAINTENANCE_REQUIREMENTS_SATISFIED = "node-maintenance-requirements-satisfied"
69
70
  KUBE_DESCHEDULER_REQUIREMENTS_SATISFIED = "kube-descheduler-requirements-satisfied"
71
+ CLUSTER_OBSERVABILITY_REQUIREMENTS_SATISFIED = "cluster-observability-requirements-satisfied"
72
+ NUMA_RESOURCES_REQUIREMENTS_SATISFIED = "numa-resources-requirements-satisfied"
73
+ OADP_REQUIREMENTS_SATISFIED = "oadp-requirements-satisfied"
74
+ METALLB_REQUIREMENTS_SATISFIED = "metallb-requirements-satisfied"
70
75
 
71
76
  """
72
77
  Attributes: