assisted-service-client 2.43.0.post19__py3-none-any.whl → 2.43.0.post21__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.
- assisted_service_client/__init__.py +4 -0
- assisted_service_client/api/installer_api.py +114 -3
- assisted_service_client/models/__init__.py +4 -0
- assisted_service_client/models/feature.py +196 -0
- assisted_service_client/models/incompatibility_reason.py +95 -0
- assisted_service_client/models/inline_response2001.py +43 -19
- assisted_service_client/models/inline_response2002.py +117 -0
- assisted_service_client/models/operator.py +252 -0
- {assisted_service_client-2.43.0.post19.dist-info → assisted_service_client-2.43.0.post21.dist-info}/METADATA +6 -1
- {assisted_service_client-2.43.0.post19.dist-info → assisted_service_client-2.43.0.post21.dist-info}/RECORD +17 -9
- test/test_feature.py +40 -0
- test/test_incompatibility_reason.py +40 -0
- test/test_inline_response2002.py +40 -0
- test/test_installer_api.py +6 -0
- test/test_operator.py +40 -0
- {assisted_service_client-2.43.0.post19.dist-info → assisted_service_client-2.43.0.post21.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.43.0.post19.dist-info → assisted_service_client-2.43.0.post21.dist-info}/top_level.txt +0 -0
@@ -79,6 +79,7 @@ from assisted_service_client.models.drive_type import DriveType
|
|
79
79
|
from assisted_service_client.models.error import Error
|
80
80
|
from assisted_service_client.models.event import Event
|
81
81
|
from assisted_service_client.models.event_list import EventList
|
82
|
+
from assisted_service_client.models.feature import Feature
|
82
83
|
from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
|
83
84
|
from assisted_service_client.models.finalizing_stage import FinalizingStage
|
84
85
|
from assisted_service_client.models.free_addresses_list import FreeAddressesList
|
@@ -110,6 +111,7 @@ from assisted_service_client.models.image_create_params import ImageCreateParams
|
|
110
111
|
from assisted_service_client.models.image_info import ImageInfo
|
111
112
|
from assisted_service_client.models.image_type import ImageType
|
112
113
|
from assisted_service_client.models.import_cluster_params import ImportClusterParams
|
114
|
+
from assisted_service_client.models.incompatibility_reason import IncompatibilityReason
|
113
115
|
from assisted_service_client.models.infra_env import InfraEnv
|
114
116
|
from assisted_service_client.models.infra_env_create_params import InfraEnvCreateParams
|
115
117
|
from assisted_service_client.models.infra_env_list import InfraEnvList
|
@@ -119,6 +121,7 @@ from assisted_service_client.models.ingress_cert_params import IngressCertParams
|
|
119
121
|
from assisted_service_client.models.ingress_vip import IngressVip
|
120
122
|
from assisted_service_client.models.inline_response200 import InlineResponse200
|
121
123
|
from assisted_service_client.models.inline_response2001 import InlineResponse2001
|
124
|
+
from assisted_service_client.models.inline_response2002 import InlineResponse2002
|
122
125
|
from assisted_service_client.models.install_cmd_request import InstallCmdRequest
|
123
126
|
from assisted_service_client.models.installer_args_params import InstallerArgsParams
|
124
127
|
from assisted_service_client.models.interface import Interface
|
@@ -156,6 +159,7 @@ from assisted_service_client.models.ntp_synchronization_request import NtpSynchr
|
|
156
159
|
from assisted_service_client.models.ntp_synchronization_response import NtpSynchronizationResponse
|
157
160
|
from assisted_service_client.models.openshift_version import OpenshiftVersion
|
158
161
|
from assisted_service_client.models.openshift_versions import OpenshiftVersions
|
162
|
+
from assisted_service_client.models.operator import Operator
|
159
163
|
from assisted_service_client.models.operator_create_params import OperatorCreateParams
|
160
164
|
from assisted_service_client.models.operator_hardware_requirements import OperatorHardwareRequirements
|
161
165
|
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:
|
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:
|
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='
|
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'),
|
@@ -67,6 +67,7 @@ from assisted_service_client.models.drive_type import DriveType
|
|
67
67
|
from assisted_service_client.models.error import Error
|
68
68
|
from assisted_service_client.models.event import Event
|
69
69
|
from assisted_service_client.models.event_list import EventList
|
70
|
+
from assisted_service_client.models.feature import Feature
|
70
71
|
from assisted_service_client.models.feature_support_level_id import FeatureSupportLevelId
|
71
72
|
from assisted_service_client.models.finalizing_stage import FinalizingStage
|
72
73
|
from assisted_service_client.models.free_addresses_list import FreeAddressesList
|
@@ -98,6 +99,7 @@ from assisted_service_client.models.image_create_params import ImageCreateParams
|
|
98
99
|
from assisted_service_client.models.image_info import ImageInfo
|
99
100
|
from assisted_service_client.models.image_type import ImageType
|
100
101
|
from assisted_service_client.models.import_cluster_params import ImportClusterParams
|
102
|
+
from assisted_service_client.models.incompatibility_reason import IncompatibilityReason
|
101
103
|
from assisted_service_client.models.infra_env import InfraEnv
|
102
104
|
from assisted_service_client.models.infra_env_create_params import InfraEnvCreateParams
|
103
105
|
from assisted_service_client.models.infra_env_list import InfraEnvList
|
@@ -107,6 +109,7 @@ from assisted_service_client.models.ingress_cert_params import IngressCertParams
|
|
107
109
|
from assisted_service_client.models.ingress_vip import IngressVip
|
108
110
|
from assisted_service_client.models.inline_response200 import InlineResponse200
|
109
111
|
from assisted_service_client.models.inline_response2001 import InlineResponse2001
|
112
|
+
from assisted_service_client.models.inline_response2002 import InlineResponse2002
|
110
113
|
from assisted_service_client.models.install_cmd_request import InstallCmdRequest
|
111
114
|
from assisted_service_client.models.installer_args_params import InstallerArgsParams
|
112
115
|
from assisted_service_client.models.interface import Interface
|
@@ -144,6 +147,7 @@ from assisted_service_client.models.ntp_synchronization_request import NtpSynchr
|
|
144
147
|
from assisted_service_client.models.ntp_synchronization_response import NtpSynchronizationResponse
|
145
148
|
from assisted_service_client.models.openshift_version import OpenshiftVersion
|
146
149
|
from assisted_service_client.models.openshift_versions import OpenshiftVersions
|
150
|
+
from assisted_service_client.models.operator import Operator
|
147
151
|
from assisted_service_client.models.operator_create_params import OperatorCreateParams
|
148
152
|
from assisted_service_client.models.operator_hardware_requirements import OperatorHardwareRequirements
|
149
153
|
from assisted_service_client.models.operator_host_requirements import OperatorHostRequirements
|
@@ -0,0 +1,196 @@
|
|
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 Feature(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
|
+
'feature_support_level_id': 'FeatureSupportLevelId',
|
35
|
+
'support_level': 'SupportLevel',
|
36
|
+
'reason': 'IncompatibilityReason',
|
37
|
+
'incompatibilities': 'list[FeatureSupportLevelId]'
|
38
|
+
}
|
39
|
+
|
40
|
+
attribute_map = {
|
41
|
+
'feature_support_level_id': 'feature-support-level-id',
|
42
|
+
'support_level': 'support_level',
|
43
|
+
'reason': 'reason',
|
44
|
+
'incompatibilities': 'incompatibilities'
|
45
|
+
}
|
46
|
+
|
47
|
+
def __init__(self, feature_support_level_id=None, support_level=None, reason=None, incompatibilities=None): # noqa: E501
|
48
|
+
"""Feature - a model defined in Swagger""" # noqa: E501
|
49
|
+
|
50
|
+
self._feature_support_level_id = None
|
51
|
+
self._support_level = None
|
52
|
+
self._reason = None
|
53
|
+
self._incompatibilities = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
self.feature_support_level_id = feature_support_level_id
|
57
|
+
self.support_level = support_level
|
58
|
+
if reason is not None:
|
59
|
+
self.reason = reason
|
60
|
+
self.incompatibilities = incompatibilities
|
61
|
+
|
62
|
+
@property
|
63
|
+
def feature_support_level_id(self):
|
64
|
+
"""Gets the feature_support_level_id of this Feature. # noqa: E501
|
65
|
+
|
66
|
+
|
67
|
+
:return: The feature_support_level_id of this Feature. # noqa: E501
|
68
|
+
:rtype: FeatureSupportLevelId
|
69
|
+
"""
|
70
|
+
return self._feature_support_level_id
|
71
|
+
|
72
|
+
@feature_support_level_id.setter
|
73
|
+
def feature_support_level_id(self, feature_support_level_id):
|
74
|
+
"""Sets the feature_support_level_id of this Feature.
|
75
|
+
|
76
|
+
|
77
|
+
:param feature_support_level_id: The feature_support_level_id of this Feature. # noqa: E501
|
78
|
+
:type: FeatureSupportLevelId
|
79
|
+
"""
|
80
|
+
if feature_support_level_id is None:
|
81
|
+
raise ValueError("Invalid value for `feature_support_level_id`, must not be `None`") # noqa: E501
|
82
|
+
|
83
|
+
self._feature_support_level_id = feature_support_level_id
|
84
|
+
|
85
|
+
@property
|
86
|
+
def support_level(self):
|
87
|
+
"""Gets the support_level of this Feature. # noqa: E501
|
88
|
+
|
89
|
+
|
90
|
+
:return: The support_level of this Feature. # noqa: E501
|
91
|
+
:rtype: SupportLevel
|
92
|
+
"""
|
93
|
+
return self._support_level
|
94
|
+
|
95
|
+
@support_level.setter
|
96
|
+
def support_level(self, support_level):
|
97
|
+
"""Sets the support_level of this Feature.
|
98
|
+
|
99
|
+
|
100
|
+
:param support_level: The support_level of this Feature. # noqa: E501
|
101
|
+
:type: SupportLevel
|
102
|
+
"""
|
103
|
+
if support_level is None:
|
104
|
+
raise ValueError("Invalid value for `support_level`, must not be `None`") # noqa: E501
|
105
|
+
|
106
|
+
self._support_level = support_level
|
107
|
+
|
108
|
+
@property
|
109
|
+
def reason(self):
|
110
|
+
"""Gets the reason of this Feature. # noqa: E501
|
111
|
+
|
112
|
+
|
113
|
+
:return: The reason of this Feature. # noqa: E501
|
114
|
+
:rtype: IncompatibilityReason
|
115
|
+
"""
|
116
|
+
return self._reason
|
117
|
+
|
118
|
+
@reason.setter
|
119
|
+
def reason(self, reason):
|
120
|
+
"""Sets the reason of this Feature.
|
121
|
+
|
122
|
+
|
123
|
+
:param reason: The reason of this Feature. # noqa: E501
|
124
|
+
:type: IncompatibilityReason
|
125
|
+
"""
|
126
|
+
|
127
|
+
self._reason = reason
|
128
|
+
|
129
|
+
@property
|
130
|
+
def incompatibilities(self):
|
131
|
+
"""Gets the incompatibilities of this Feature. # noqa: E501
|
132
|
+
|
133
|
+
|
134
|
+
:return: The incompatibilities of this Feature. # noqa: E501
|
135
|
+
:rtype: list[FeatureSupportLevelId]
|
136
|
+
"""
|
137
|
+
return self._incompatibilities
|
138
|
+
|
139
|
+
@incompatibilities.setter
|
140
|
+
def incompatibilities(self, incompatibilities):
|
141
|
+
"""Sets the incompatibilities of this Feature.
|
142
|
+
|
143
|
+
|
144
|
+
:param incompatibilities: The incompatibilities of this Feature. # noqa: E501
|
145
|
+
:type: list[FeatureSupportLevelId]
|
146
|
+
"""
|
147
|
+
if incompatibilities is None:
|
148
|
+
raise ValueError("Invalid value for `incompatibilities`, must not be `None`") # noqa: E501
|
149
|
+
|
150
|
+
self._incompatibilities = incompatibilities
|
151
|
+
|
152
|
+
def to_dict(self):
|
153
|
+
"""Returns the model properties as a dict"""
|
154
|
+
result = {}
|
155
|
+
|
156
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
157
|
+
value = getattr(self, attr)
|
158
|
+
if isinstance(value, list):
|
159
|
+
result[attr] = list(map(
|
160
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
161
|
+
value
|
162
|
+
))
|
163
|
+
elif hasattr(value, "to_dict"):
|
164
|
+
result[attr] = value.to_dict()
|
165
|
+
elif isinstance(value, dict):
|
166
|
+
result[attr] = dict(map(
|
167
|
+
lambda item: (item[0], item[1].to_dict())
|
168
|
+
if hasattr(item[1], "to_dict") else item,
|
169
|
+
value.items()
|
170
|
+
))
|
171
|
+
else:
|
172
|
+
result[attr] = value
|
173
|
+
if issubclass(Feature, dict):
|
174
|
+
for key, value in self.items():
|
175
|
+
result[key] = value
|
176
|
+
|
177
|
+
return result
|
178
|
+
|
179
|
+
def to_str(self):
|
180
|
+
"""Returns the string representation of the model"""
|
181
|
+
return pprint.pformat(self.to_dict())
|
182
|
+
|
183
|
+
def __repr__(self):
|
184
|
+
"""For `print` and `pprint`"""
|
185
|
+
return self.to_str()
|
186
|
+
|
187
|
+
def __eq__(self, other):
|
188
|
+
"""Returns true if both objects are equal"""
|
189
|
+
if not isinstance(other, Feature):
|
190
|
+
return False
|
191
|
+
|
192
|
+
return self.__dict__ == other.__dict__
|
193
|
+
|
194
|
+
def __ne__(self, other):
|
195
|
+
"""Returns true if both objects are not equal"""
|
196
|
+
return not self == other
|
@@ -0,0 +1,95 @@
|
|
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 IncompatibilityReason(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
|
+
allowed enum values
|
28
|
+
"""
|
29
|
+
CPUARCHITECTURE = "cpuArchitecture"
|
30
|
+
PLATFORM = "platform"
|
31
|
+
OPENSHIFTVERSION = "openshiftVersion"
|
32
|
+
OCIEXTERNALINTEGRATIONDISABLED = "ociExternalIntegrationDisabled"
|
33
|
+
|
34
|
+
"""
|
35
|
+
Attributes:
|
36
|
+
swagger_types (dict): The key is attribute name
|
37
|
+
and the value is attribute type.
|
38
|
+
attribute_map (dict): The key is attribute name
|
39
|
+
and the value is json key in definition.
|
40
|
+
"""
|
41
|
+
swagger_types = {
|
42
|
+
}
|
43
|
+
|
44
|
+
attribute_map = {
|
45
|
+
}
|
46
|
+
|
47
|
+
def __init__(self): # noqa: E501
|
48
|
+
"""IncompatibilityReason - a model defined in Swagger""" # noqa: E501
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
def to_dict(self):
|
52
|
+
"""Returns the model properties as a dict"""
|
53
|
+
result = {}
|
54
|
+
|
55
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
56
|
+
value = getattr(self, attr)
|
57
|
+
if isinstance(value, list):
|
58
|
+
result[attr] = list(map(
|
59
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
60
|
+
value
|
61
|
+
))
|
62
|
+
elif hasattr(value, "to_dict"):
|
63
|
+
result[attr] = value.to_dict()
|
64
|
+
elif isinstance(value, dict):
|
65
|
+
result[attr] = dict(map(
|
66
|
+
lambda item: (item[0], item[1].to_dict())
|
67
|
+
if hasattr(item[1], "to_dict") else item,
|
68
|
+
value.items()
|
69
|
+
))
|
70
|
+
else:
|
71
|
+
result[attr] = value
|
72
|
+
if issubclass(IncompatibilityReason, dict):
|
73
|
+
for key, value in self.items():
|
74
|
+
result[key] = value
|
75
|
+
|
76
|
+
return result
|
77
|
+
|
78
|
+
def to_str(self):
|
79
|
+
"""Returns the string representation of the model"""
|
80
|
+
return pprint.pformat(self.to_dict())
|
81
|
+
|
82
|
+
def __repr__(self):
|
83
|
+
"""For `print` and `pprint`"""
|
84
|
+
return self.to_str()
|
85
|
+
|
86
|
+
def __eq__(self, other):
|
87
|
+
"""Returns true if both objects are equal"""
|
88
|
+
if not isinstance(other, IncompatibilityReason):
|
89
|
+
return False
|
90
|
+
|
91
|
+
return self.__dict__ == other.__dict__
|
92
|
+
|
93
|
+
def __ne__(self, other):
|
94
|
+
"""Returns true if both objects are not equal"""
|
95
|
+
return not self == other
|
@@ -31,44 +31,68 @@ class InlineResponse2001(object):
|
|
31
31
|
and the value is json key in definition.
|
32
32
|
"""
|
33
33
|
swagger_types = {
|
34
|
-
'
|
34
|
+
'features': 'list[Feature]',
|
35
|
+
'operators': 'list[Operator]'
|
35
36
|
}
|
36
37
|
|
37
38
|
attribute_map = {
|
38
|
-
'
|
39
|
+
'features': 'features',
|
40
|
+
'operators': 'operators'
|
39
41
|
}
|
40
42
|
|
41
|
-
def __init__(self,
|
43
|
+
def __init__(self, features=None, operators=None): # noqa: E501
|
42
44
|
"""InlineResponse2001 - a model defined in Swagger""" # noqa: E501
|
43
45
|
|
44
|
-
self.
|
46
|
+
self._features = None
|
47
|
+
self._operators = None
|
45
48
|
self.discriminator = None
|
46
49
|
|
47
|
-
if
|
48
|
-
self.
|
50
|
+
if features is not None:
|
51
|
+
self.features = features
|
52
|
+
if operators is not None:
|
53
|
+
self.operators = operators
|
49
54
|
|
50
55
|
@property
|
51
|
-
def
|
52
|
-
"""Gets the
|
56
|
+
def features(self):
|
57
|
+
"""Gets the features of this InlineResponse2001. # noqa: E501
|
53
58
|
|
54
|
-
Keys will be one of architecture-support-level-id enum. # noqa: E501
|
55
59
|
|
56
|
-
:return: The
|
57
|
-
:rtype:
|
60
|
+
:return: The features of this InlineResponse2001. # noqa: E501
|
61
|
+
:rtype: list[Feature]
|
58
62
|
"""
|
59
|
-
return self.
|
63
|
+
return self._features
|
60
64
|
|
61
|
-
@
|
62
|
-
def
|
63
|
-
"""Sets the
|
65
|
+
@features.setter
|
66
|
+
def features(self, features):
|
67
|
+
"""Sets the features of this InlineResponse2001.
|
64
68
|
|
65
|
-
Keys will be one of architecture-support-level-id enum. # noqa: E501
|
66
69
|
|
67
|
-
:param
|
68
|
-
:type:
|
70
|
+
:param features: The features of this InlineResponse2001. # noqa: E501
|
71
|
+
:type: list[Feature]
|
69
72
|
"""
|
70
73
|
|
71
|
-
self.
|
74
|
+
self._features = features
|
75
|
+
|
76
|
+
@property
|
77
|
+
def operators(self):
|
78
|
+
"""Gets the operators of this InlineResponse2001. # noqa: E501
|
79
|
+
|
80
|
+
|
81
|
+
:return: The operators of this InlineResponse2001. # noqa: E501
|
82
|
+
:rtype: list[Operator]
|
83
|
+
"""
|
84
|
+
return self._operators
|
85
|
+
|
86
|
+
@operators.setter
|
87
|
+
def operators(self, operators):
|
88
|
+
"""Sets the operators of this InlineResponse2001.
|
89
|
+
|
90
|
+
|
91
|
+
:param operators: The operators of this InlineResponse2001. # noqa: E501
|
92
|
+
:type: list[Operator]
|
93
|
+
"""
|
94
|
+
|
95
|
+
self._operators = operators
|
72
96
|
|
73
97
|
def to_dict(self):
|
74
98
|
"""Returns the model properties as a dict"""
|
@@ -0,0 +1,117 @@
|
|
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 InlineResponse2002(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
|
+
'architectures': 'SupportLevels'
|
35
|
+
}
|
36
|
+
|
37
|
+
attribute_map = {
|
38
|
+
'architectures': 'architectures'
|
39
|
+
}
|
40
|
+
|
41
|
+
def __init__(self, architectures=None): # noqa: E501
|
42
|
+
"""InlineResponse2002 - a model defined in Swagger""" # noqa: E501
|
43
|
+
|
44
|
+
self._architectures = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if architectures is not None:
|
48
|
+
self.architectures = architectures
|
49
|
+
|
50
|
+
@property
|
51
|
+
def architectures(self):
|
52
|
+
"""Gets the architectures of this InlineResponse2002. # noqa: E501
|
53
|
+
|
54
|
+
Keys will be one of architecture-support-level-id enum. # noqa: E501
|
55
|
+
|
56
|
+
:return: The architectures of this InlineResponse2002. # noqa: E501
|
57
|
+
:rtype: SupportLevels
|
58
|
+
"""
|
59
|
+
return self._architectures
|
60
|
+
|
61
|
+
@architectures.setter
|
62
|
+
def architectures(self, architectures):
|
63
|
+
"""Sets the architectures of this InlineResponse2002.
|
64
|
+
|
65
|
+
Keys will be one of architecture-support-level-id enum. # noqa: E501
|
66
|
+
|
67
|
+
:param architectures: The architectures of this InlineResponse2002. # noqa: E501
|
68
|
+
:type: SupportLevels
|
69
|
+
"""
|
70
|
+
|
71
|
+
self._architectures = architectures
|
72
|
+
|
73
|
+
def to_dict(self):
|
74
|
+
"""Returns the model properties as a dict"""
|
75
|
+
result = {}
|
76
|
+
|
77
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
78
|
+
value = getattr(self, attr)
|
79
|
+
if isinstance(value, list):
|
80
|
+
result[attr] = list(map(
|
81
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
82
|
+
value
|
83
|
+
))
|
84
|
+
elif hasattr(value, "to_dict"):
|
85
|
+
result[attr] = value.to_dict()
|
86
|
+
elif isinstance(value, dict):
|
87
|
+
result[attr] = dict(map(
|
88
|
+
lambda item: (item[0], item[1].to_dict())
|
89
|
+
if hasattr(item[1], "to_dict") else item,
|
90
|
+
value.items()
|
91
|
+
))
|
92
|
+
else:
|
93
|
+
result[attr] = value
|
94
|
+
if issubclass(InlineResponse2002, dict):
|
95
|
+
for key, value in self.items():
|
96
|
+
result[key] = value
|
97
|
+
|
98
|
+
return result
|
99
|
+
|
100
|
+
def to_str(self):
|
101
|
+
"""Returns the string representation of the model"""
|
102
|
+
return pprint.pformat(self.to_dict())
|
103
|
+
|
104
|
+
def __repr__(self):
|
105
|
+
"""For `print` and `pprint`"""
|
106
|
+
return self.to_str()
|
107
|
+
|
108
|
+
def __eq__(self, other):
|
109
|
+
"""Returns true if both objects are equal"""
|
110
|
+
if not isinstance(other, InlineResponse2002):
|
111
|
+
return False
|
112
|
+
|
113
|
+
return self.__dict__ == other.__dict__
|
114
|
+
|
115
|
+
def __ne__(self, other):
|
116
|
+
"""Returns true if both objects are not equal"""
|
117
|
+
return not self == other
|
@@ -0,0 +1,252 @@
|
|
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 Operator(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
|
+
'feature_support_level_id': 'FeatureSupportLevelId',
|
35
|
+
'support_level': 'SupportLevel',
|
36
|
+
'reason': 'IncompatibilityReason',
|
37
|
+
'incompatibilities': 'list[FeatureSupportLevelId]',
|
38
|
+
'name': 'str',
|
39
|
+
'dependencies': 'list[FeatureSupportLevelId]'
|
40
|
+
}
|
41
|
+
|
42
|
+
attribute_map = {
|
43
|
+
'feature_support_level_id': 'feature-support-level-id',
|
44
|
+
'support_level': 'support_level',
|
45
|
+
'reason': 'reason',
|
46
|
+
'incompatibilities': 'incompatibilities',
|
47
|
+
'name': 'name',
|
48
|
+
'dependencies': 'dependencies'
|
49
|
+
}
|
50
|
+
|
51
|
+
def __init__(self, feature_support_level_id=None, support_level=None, reason=None, incompatibilities=None, name=None, dependencies=None): # noqa: E501
|
52
|
+
"""Operator - a model defined in Swagger""" # noqa: E501
|
53
|
+
|
54
|
+
self._feature_support_level_id = None
|
55
|
+
self._support_level = None
|
56
|
+
self._reason = None
|
57
|
+
self._incompatibilities = None
|
58
|
+
self._name = None
|
59
|
+
self._dependencies = None
|
60
|
+
self.discriminator = None
|
61
|
+
|
62
|
+
self.feature_support_level_id = feature_support_level_id
|
63
|
+
self.support_level = support_level
|
64
|
+
if reason is not None:
|
65
|
+
self.reason = reason
|
66
|
+
self.incompatibilities = incompatibilities
|
67
|
+
self.name = name
|
68
|
+
self.dependencies = dependencies
|
69
|
+
|
70
|
+
@property
|
71
|
+
def feature_support_level_id(self):
|
72
|
+
"""Gets the feature_support_level_id of this Operator. # noqa: E501
|
73
|
+
|
74
|
+
|
75
|
+
:return: The feature_support_level_id of this Operator. # noqa: E501
|
76
|
+
:rtype: FeatureSupportLevelId
|
77
|
+
"""
|
78
|
+
return self._feature_support_level_id
|
79
|
+
|
80
|
+
@feature_support_level_id.setter
|
81
|
+
def feature_support_level_id(self, feature_support_level_id):
|
82
|
+
"""Sets the feature_support_level_id of this Operator.
|
83
|
+
|
84
|
+
|
85
|
+
:param feature_support_level_id: The feature_support_level_id of this Operator. # noqa: E501
|
86
|
+
:type: FeatureSupportLevelId
|
87
|
+
"""
|
88
|
+
if feature_support_level_id is None:
|
89
|
+
raise ValueError("Invalid value for `feature_support_level_id`, must not be `None`") # noqa: E501
|
90
|
+
|
91
|
+
self._feature_support_level_id = feature_support_level_id
|
92
|
+
|
93
|
+
@property
|
94
|
+
def support_level(self):
|
95
|
+
"""Gets the support_level of this Operator. # noqa: E501
|
96
|
+
|
97
|
+
|
98
|
+
:return: The support_level of this Operator. # noqa: E501
|
99
|
+
:rtype: SupportLevel
|
100
|
+
"""
|
101
|
+
return self._support_level
|
102
|
+
|
103
|
+
@support_level.setter
|
104
|
+
def support_level(self, support_level):
|
105
|
+
"""Sets the support_level of this Operator.
|
106
|
+
|
107
|
+
|
108
|
+
:param support_level: The support_level of this Operator. # noqa: E501
|
109
|
+
:type: SupportLevel
|
110
|
+
"""
|
111
|
+
if support_level is None:
|
112
|
+
raise ValueError("Invalid value for `support_level`, must not be `None`") # noqa: E501
|
113
|
+
|
114
|
+
self._support_level = support_level
|
115
|
+
|
116
|
+
@property
|
117
|
+
def reason(self):
|
118
|
+
"""Gets the reason of this Operator. # noqa: E501
|
119
|
+
|
120
|
+
|
121
|
+
:return: The reason of this Operator. # noqa: E501
|
122
|
+
:rtype: IncompatibilityReason
|
123
|
+
"""
|
124
|
+
return self._reason
|
125
|
+
|
126
|
+
@reason.setter
|
127
|
+
def reason(self, reason):
|
128
|
+
"""Sets the reason of this Operator.
|
129
|
+
|
130
|
+
|
131
|
+
:param reason: The reason of this Operator. # noqa: E501
|
132
|
+
:type: IncompatibilityReason
|
133
|
+
"""
|
134
|
+
|
135
|
+
self._reason = reason
|
136
|
+
|
137
|
+
@property
|
138
|
+
def incompatibilities(self):
|
139
|
+
"""Gets the incompatibilities of this Operator. # noqa: E501
|
140
|
+
|
141
|
+
|
142
|
+
:return: The incompatibilities of this Operator. # noqa: E501
|
143
|
+
:rtype: list[FeatureSupportLevelId]
|
144
|
+
"""
|
145
|
+
return self._incompatibilities
|
146
|
+
|
147
|
+
@incompatibilities.setter
|
148
|
+
def incompatibilities(self, incompatibilities):
|
149
|
+
"""Sets the incompatibilities of this Operator.
|
150
|
+
|
151
|
+
|
152
|
+
:param incompatibilities: The incompatibilities of this Operator. # noqa: E501
|
153
|
+
:type: list[FeatureSupportLevelId]
|
154
|
+
"""
|
155
|
+
if incompatibilities is None:
|
156
|
+
raise ValueError("Invalid value for `incompatibilities`, must not be `None`") # noqa: E501
|
157
|
+
|
158
|
+
self._incompatibilities = incompatibilities
|
159
|
+
|
160
|
+
@property
|
161
|
+
def name(self):
|
162
|
+
"""Gets the name of this Operator. # noqa: E501
|
163
|
+
|
164
|
+
Name of the operator # noqa: E501
|
165
|
+
|
166
|
+
:return: The name of this Operator. # noqa: E501
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._name
|
170
|
+
|
171
|
+
@name.setter
|
172
|
+
def name(self, name):
|
173
|
+
"""Sets the name of this Operator.
|
174
|
+
|
175
|
+
Name of the operator # noqa: E501
|
176
|
+
|
177
|
+
:param name: The name of this Operator. # noqa: E501
|
178
|
+
:type: str
|
179
|
+
"""
|
180
|
+
if name is None:
|
181
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
182
|
+
|
183
|
+
self._name = name
|
184
|
+
|
185
|
+
@property
|
186
|
+
def dependencies(self):
|
187
|
+
"""Gets the dependencies of this Operator. # noqa: E501
|
188
|
+
|
189
|
+
|
190
|
+
:return: The dependencies of this Operator. # noqa: E501
|
191
|
+
:rtype: list[FeatureSupportLevelId]
|
192
|
+
"""
|
193
|
+
return self._dependencies
|
194
|
+
|
195
|
+
@dependencies.setter
|
196
|
+
def dependencies(self, dependencies):
|
197
|
+
"""Sets the dependencies of this Operator.
|
198
|
+
|
199
|
+
|
200
|
+
:param dependencies: The dependencies of this Operator. # noqa: E501
|
201
|
+
:type: list[FeatureSupportLevelId]
|
202
|
+
"""
|
203
|
+
if dependencies is None:
|
204
|
+
raise ValueError("Invalid value for `dependencies`, must not be `None`") # noqa: E501
|
205
|
+
|
206
|
+
self._dependencies = dependencies
|
207
|
+
|
208
|
+
def to_dict(self):
|
209
|
+
"""Returns the model properties as a dict"""
|
210
|
+
result = {}
|
211
|
+
|
212
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
213
|
+
value = getattr(self, attr)
|
214
|
+
if isinstance(value, list):
|
215
|
+
result[attr] = list(map(
|
216
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
217
|
+
value
|
218
|
+
))
|
219
|
+
elif hasattr(value, "to_dict"):
|
220
|
+
result[attr] = value.to_dict()
|
221
|
+
elif isinstance(value, dict):
|
222
|
+
result[attr] = dict(map(
|
223
|
+
lambda item: (item[0], item[1].to_dict())
|
224
|
+
if hasattr(item[1], "to_dict") else item,
|
225
|
+
value.items()
|
226
|
+
))
|
227
|
+
else:
|
228
|
+
result[attr] = value
|
229
|
+
if issubclass(Operator, dict):
|
230
|
+
for key, value in self.items():
|
231
|
+
result[key] = value
|
232
|
+
|
233
|
+
return result
|
234
|
+
|
235
|
+
def to_str(self):
|
236
|
+
"""Returns the string representation of the model"""
|
237
|
+
return pprint.pformat(self.to_dict())
|
238
|
+
|
239
|
+
def __repr__(self):
|
240
|
+
"""For `print` and `pprint`"""
|
241
|
+
return self.to_str()
|
242
|
+
|
243
|
+
def __eq__(self, other):
|
244
|
+
"""Returns true if both objects are equal"""
|
245
|
+
if not isinstance(other, Operator):
|
246
|
+
return False
|
247
|
+
|
248
|
+
return self.__dict__ == other.__dict__
|
249
|
+
|
250
|
+
def __ne__(self, other):
|
251
|
+
"""Returns true if both objects are not equal"""
|
252
|
+
return not self == other
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: assisted-service-client
|
3
|
-
Version: 2.43.0.
|
3
|
+
Version: 2.43.0.post21
|
4
4
|
Summary: AssistedInstall
|
5
5
|
Home-page: https://github.com/openshift/assisted-service
|
6
6
|
Author: RedHat
|
@@ -128,6 +128,7 @@ Class | Method | HTTP request | Description
|
|
128
128
|
*InstallerApi* | [**deregister_infra_env**](docs/InstallerApi.md#deregister_infra_env) | **DELETE** /v2/infra-envs/{infra_env_id} |
|
129
129
|
*InstallerApi* | [**download_minimal_initrd**](docs/InstallerApi.md#download_minimal_initrd) | **GET** /v2/infra-envs/{infra_env_id}/downloads/minimal-initrd |
|
130
130
|
*InstallerApi* | [**get_cluster_supported_platforms**](docs/InstallerApi.md#get_cluster_supported_platforms) | **GET** /v2/clusters/{cluster_id}/supported-platforms |
|
131
|
+
*InstallerApi* | [**get_detailed_supported_features**](docs/InstallerApi.md#get_detailed_supported_features) | **GET** /v2/support-levels/features/detailed |
|
131
132
|
*InstallerApi* | [**get_infra_env**](docs/InstallerApi.md#get_infra_env) | **GET** /v2/infra-envs/{infra_env_id} |
|
132
133
|
*InstallerApi* | [**get_infra_env_download_url**](docs/InstallerApi.md#get_infra_env_download_url) | **GET** /v2/infra-envs/{infra_env_id}/downloads/image-url |
|
133
134
|
*InstallerApi* | [**get_infra_env_presigned_file_url**](docs/InstallerApi.md#get_infra_env_presigned_file_url) | **GET** /v2/infra-envs/{infra_env_id}/downloads/files-presigned |
|
@@ -259,6 +260,7 @@ Class | Method | HTTP request | Description
|
|
259
260
|
- [Error](docs/Error.md)
|
260
261
|
- [Event](docs/Event.md)
|
261
262
|
- [EventList](docs/EventList.md)
|
263
|
+
- [Feature](docs/Feature.md)
|
262
264
|
- [FeatureSupportLevelId](docs/FeatureSupportLevelId.md)
|
263
265
|
- [FinalizingStage](docs/FinalizingStage.md)
|
264
266
|
- [FreeAddressesList](docs/FreeAddressesList.md)
|
@@ -290,6 +292,7 @@ Class | Method | HTTP request | Description
|
|
290
292
|
- [ImageInfo](docs/ImageInfo.md)
|
291
293
|
- [ImageType](docs/ImageType.md)
|
292
294
|
- [ImportClusterParams](docs/ImportClusterParams.md)
|
295
|
+
- [IncompatibilityReason](docs/IncompatibilityReason.md)
|
293
296
|
- [InfraEnv](docs/InfraEnv.md)
|
294
297
|
- [InfraEnvCreateParams](docs/InfraEnvCreateParams.md)
|
295
298
|
- [InfraEnvList](docs/InfraEnvList.md)
|
@@ -299,6 +302,7 @@ Class | Method | HTTP request | Description
|
|
299
302
|
- [IngressVip](docs/IngressVip.md)
|
300
303
|
- [InlineResponse200](docs/InlineResponse200.md)
|
301
304
|
- [InlineResponse2001](docs/InlineResponse2001.md)
|
305
|
+
- [InlineResponse2002](docs/InlineResponse2002.md)
|
302
306
|
- [InstallCmdRequest](docs/InstallCmdRequest.md)
|
303
307
|
- [InstallerArgsParams](docs/InstallerArgsParams.md)
|
304
308
|
- [Interface](docs/Interface.md)
|
@@ -336,6 +340,7 @@ Class | Method | HTTP request | Description
|
|
336
340
|
- [NtpSynchronizationResponse](docs/NtpSynchronizationResponse.md)
|
337
341
|
- [OpenshiftVersion](docs/OpenshiftVersion.md)
|
338
342
|
- [OpenshiftVersions](docs/OpenshiftVersions.md)
|
343
|
+
- [Operator](docs/Operator.md)
|
339
344
|
- [OperatorCreateParams](docs/OperatorCreateParams.md)
|
340
345
|
- [OperatorHardwareRequirements](docs/OperatorHardwareRequirements.md)
|
341
346
|
- [OperatorHostRequirements](docs/OperatorHostRequirements.md)
|
@@ -1,15 +1,15 @@
|
|
1
|
-
assisted_service_client/__init__.py,sha256=
|
1
|
+
assisted_service_client/__init__.py,sha256=_IhEoMeyryOiATVxvZ7ZEvdeDypg-avPESdZXH98ce0,15652
|
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
|
5
5
|
assisted_service_client/api/__init__.py,sha256=PblMXYK6UKW4rSdDx3F7SA-M1xpjo4rzTBZOx0_cotA,492
|
6
6
|
assisted_service_client/api/events_api.py,sha256=ViI7Amn3-o8PcVbAg2iGan0nFrk6oJ0uuXGXA6nMATY,11498
|
7
|
-
assisted_service_client/api/installer_api.py,sha256=
|
7
|
+
assisted_service_client/api/installer_api.py,sha256=L9gvKTIFQOYLEdPA06AByGbWAJJEdC7j2sbb_ruI4FY,305425
|
8
8
|
assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u6WydVqHVw6VaM7I8Zvu3g,4087
|
9
9
|
assisted_service_client/api/manifests_api.py,sha256=aLktOGwkOa3siGnJOYuGO0mH3TlES-fBZvilNvseGO0,25146
|
10
10
|
assisted_service_client/api/operators_api.py,sha256=yBJagXBqr77hvQJM3Qruo3Pegw2j6UQLXolMgip71gM,24732
|
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=h6itjqh1A7XBK9-Lzgesm8nMeLua8SkzHG47Cdb7Vdw,15076
|
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
|
@@ -62,6 +62,7 @@ assisted_service_client/models/drive_type.py,sha256=OAGyxvI5ZWax3pS8bvcXxddNjyEX
|
|
62
62
|
assisted_service_client/models/error.py,sha256=walFlNpGmfMxSd9Cmv4eZkNHQx-0tOXpr14JAil1D0E,7152
|
63
63
|
assisted_service_client/models/event.py,sha256=PRfTmDyGf-75xERGe_xuutt-2H0ZpVFSH2f2RK-qHUc,10372
|
64
64
|
assisted_service_client/models/event_list.py,sha256=QTzSwTlY-Kx3OA1kgBnYDEvULyrdLv-7DAByMgqH7-c,2356
|
65
|
+
assisted_service_client/models/feature.py,sha256=jNjOBzP1Qz_dzvSbfQ2LeIME4B5F-XYhSTwPP9cA9vg,5954
|
65
66
|
assisted_service_client/models/feature_support_level_id.py,sha256=bZ0oC6sWCOAq0TF6VOdJvRZK9i26ILnQ2E1Q4XA_GLE,4161
|
66
67
|
assisted_service_client/models/finalizing_stage.py,sha256=JmPnqcnxm1VB3enMG1iMZR9NFjFEj6TZF6wVwgVgNlA,2849
|
67
68
|
assisted_service_client/models/free_addresses_list.py,sha256=P2q1fq3cR6BJq4i4V-gXpfG32TWIhFX4zScGzdRQmpw,2388
|
@@ -93,6 +94,7 @@ assisted_service_client/models/image_create_params.py,sha256=ls6dj4lLhWhdWVGi54Y
|
|
93
94
|
assisted_service_client/models/image_info.py,sha256=qLE6WdrbAF3NcgwCBXbTDxrWMlEyyAeYDTlHuFeU_WU,8895
|
94
95
|
assisted_service_client/models/image_type.py,sha256=xswQhbh-FSRQdOmiYYvpAxEJPsVQ7v9JfsMrmLwUIqY,2455
|
95
96
|
assisted_service_client/models/import_cluster_params.py,sha256=1fRPcjsG18l7HbxdUubpFyt5oh3s0kR-VyntcVOuF9c,6408
|
97
|
+
assisted_service_client/models/incompatibility_reason.py,sha256=e2nX-56qPV2bjBLcBumR3d4cmf_KIQBnnY6pcnsq-Ss,2623
|
96
98
|
assisted_service_client/models/infra_env.py,sha256=pS9Q4A1TDwQXqKp9Ph29_87L_yAQtmJY_i4Ck87Uy60,24743
|
97
99
|
assisted_service_client/models/infra_env_create_params.py,sha256=vEzMXPORxoepCHwNdZKlcQaTUOsNZhYWolX0FxPK2Pg,16151
|
98
100
|
assisted_service_client/models/infra_env_list.py,sha256=QAy34UbUHugMwQZYOI9Y3SQKY1MNXOIKf3Yanry9GdE,2368
|
@@ -101,7 +103,8 @@ assisted_service_client/models/infra_error.py,sha256=Y5c3rRcqf_HKAPKzX5xUVvXpFVc
|
|
101
103
|
assisted_service_client/models/ingress_cert_params.py,sha256=-XP1NimCqaTWoxjUIJ_ELs5y37ShwaeKXadoOvUTiPA,2388
|
102
104
|
assisted_service_client/models/ingress_vip.py,sha256=lyf0K-0cVmdhuflocLIEtJ1r-zZjiYUb6BJmY8h-Vlk,4662
|
103
105
|
assisted_service_client/models/inline_response200.py,sha256=HB1HAsvw3l7H114kwQFzu9JKiMO8ug-I9iAezdSC5LI,3243
|
104
|
-
assisted_service_client/models/inline_response2001.py,sha256=
|
106
|
+
assisted_service_client/models/inline_response2001.py,sha256=yChqBBcZRG9s4piVZfAyhs64PpPTX-byP1KNRDUWbhY,3837
|
107
|
+
assisted_service_client/models/inline_response2002.py,sha256=6uUIhLTHtmA7Ztjg9pzK66he4MhTFBs0A0x3Qj_b4ig,3359
|
105
108
|
assisted_service_client/models/install_cmd_request.py,sha256=5rYh5AbwW540ALsKXAX7mWkxRmH0Dolo4-Z89_9eH-g,20915
|
106
109
|
assisted_service_client/models/installer_args_params.py,sha256=FDBsAPct6q5rMbPlFSP4CUHoWfhJnPiT4idOGoi0Wb0,3175
|
107
110
|
assisted_service_client/models/interface.py,sha256=oens5JgzzW7b7y2_m3da_xnlB39d2ZTFNWJy6j7Qfws,10898
|
@@ -139,6 +142,7 @@ assisted_service_client/models/ntp_synchronization_request.py,sha256=cD0chL84AV2
|
|
139
142
|
assisted_service_client/models/ntp_synchronization_response.py,sha256=e5A2KMX_V3IdA841ooC9HMQWiyaiQEESiih_na-mtYE,3233
|
140
143
|
assisted_service_client/models/openshift_version.py,sha256=Anh7LQuwIf8oulSJ1y1h0bP2nU1EVBOL3xVnJHvCAAs,6549
|
141
144
|
assisted_service_client/models/openshift_versions.py,sha256=WaB3qWt5Xw35BHf4DYePN_vOHuyG79u4OxEYM-eOrPc,2388
|
145
|
+
assisted_service_client/models/operator.py,sha256=TA-IHBSYz9gc0l5beqAOPnuea58PRYWitIzlf-ltDz8,7588
|
142
146
|
assisted_service_client/models/operator_create_params.py,sha256=D_ZmGTCu_C7wBnaH3fpHC7KfbFr40zjsdmRBu24oMHU,3930
|
143
147
|
assisted_service_client/models/operator_hardware_requirements.py,sha256=i5zaHVy0H_fvj75q1WzO8i8HDIqeeeiLMu8a7rINxu8,5593
|
144
148
|
assisted_service_client/models/operator_host_requirements.py,sha256=KPISPcjXjAu3snLUsZPVj5sYM3g77CbJhZRAKo-Hja8,4287
|
@@ -247,6 +251,7 @@ test/test_error.py,sha256=AFhjaXGJdjKBtOzNFWtRmT3SPlFnJ96OrFIRia3jpxg,819
|
|
247
251
|
test/test_event.py,sha256=vBQFkmVuIWalKyKH8QDRsQSW1h_1xpvAV6PhWVW2Utw,819
|
248
252
|
test/test_event_list.py,sha256=Qnb7sJkuZEKQGGbWzEl5BaEnQ9r046HMzHTG4w87NsI,853
|
249
253
|
test/test_events_api.py,sha256=CtvboUkHh_9dNVQvvvtyKddt12oI_oNsWPwXv-GoXnA,891
|
254
|
+
test/test_feature.py,sha256=rsg56PLbboZGP3_7SMTHxgoPW0HK2iu-C7J9NTTpUao,835
|
250
255
|
test/test_feature_support_level_id.py,sha256=e-DLylPtj5fYHud30PlkPWNkd39NsicxTuTaZ-WNjfo,953
|
251
256
|
test/test_finalizing_stage.py,sha256=GKZH_maI4yLePFBVGIeuqXDiyYf6b2I8-o6xkFWp_-8,901
|
252
257
|
test/test_free_addresses_list.py,sha256=EhL9yl-YcsLpv0TGlvYmLr8qJgbX9MOrwCccuVIQXh0,919
|
@@ -278,6 +283,7 @@ test/test_image_create_params.py,sha256=s8zTLJwyela-ocmNXBSP_NTuuk7onOktGsN7zbCs
|
|
278
283
|
test/test_image_info.py,sha256=V_3KX6PNE_xWDcsYS4b41OuOQhoGAwRHi3hB3DBHvhc,853
|
279
284
|
test/test_image_type.py,sha256=lSyTTrxhQMUoszsRTCfUu8sH9R-JoedAy8cCfvS5nTA,853
|
280
285
|
test/test_import_cluster_params.py,sha256=xca3TLwuKX3bBt4EeV1-NOcFbW4tcpWqkci9T1-kYAI,935
|
286
|
+
test/test_incompatibility_reason.py,sha256=ufo3esRBjLo-pCsxGpBURICI_JYeOBVUqxIMeBsBG0Q,949
|
281
287
|
test/test_infra_env.py,sha256=GAMY9CsOyes61JfOd2YDlUKTktBaBfIhxzS1DO9oO5M,845
|
282
288
|
test/test_infra_env_create_params.py,sha256=gDpWTR0_cPl6Zsm48MHoJoyI1s4uN-Z2GHd0CKIr1rU,945
|
283
289
|
test/test_infra_env_list.py,sha256=6l_Vo3Pw4DKaZidKl1P-X5osKYZjss4c0eHVUqyXPlc,879
|
@@ -287,8 +293,9 @@ test/test_ingress_cert_params.py,sha256=GZ39-TZHdnF60CFvMNjVTXrquey_oy82y_f4pgnp
|
|
287
293
|
test/test_ingress_vip.py,sha256=FIInh8SktPadK_JmC5twjDAIaMnHxyxFMtsaDU30eJk,861
|
288
294
|
test/test_inline_response200.py,sha256=ma3jwgrH-LwlcXU_njUUGcNRaP73VFf-RCq5BGLDv9k,917
|
289
295
|
test/test_inline_response2001.py,sha256=kIUutSpuCGh0GHQOuACqeoZecLqBNZxFLPpjH9XPE4g,925
|
296
|
+
test/test_inline_response2002.py,sha256=6HxP7ODVXxipsKuvSuxZS5p7XrE9vc3SERpZfpC4ZiE,925
|
290
297
|
test/test_install_cmd_request.py,sha256=2SMQgHeJknXJwXq8LDD6D5My3QF7Z_ox29rRtQ6TnmY,919
|
291
|
-
test/test_installer_api.py,sha256=
|
298
|
+
test/test_installer_api.py,sha256=Nv9WU5z4ZGo8gFT3dAB2tF8E9VvWv1sekQpUYhF68lo,8565
|
292
299
|
test/test_installer_args_params.py,sha256=5DLOVk1UexAfQBSOHbBILrYGrXXN0GeV2lsTuSddMHw,935
|
293
300
|
test/test_interface.py,sha256=aKMlQAzR68c2sit6Lqcc6py07tqoRyX0j8z-j91HK7A,851
|
294
301
|
test/test_inventory.py,sha256=9aK7xDNHZbTLYWDdRmEKTCtiOLlgyRgS7Qw4OAO5NMw,851
|
@@ -327,6 +334,7 @@ test/test_ntp_synchronization_request.py,sha256=aiQcIFZ8LJFWDRdvK7ctJcYT9UM9mtZm
|
|
327
334
|
test/test_ntp_synchronization_response.py,sha256=w_plzBgATqz3E0JLG3iy_pVK94UQAbX8OWEPe9Fqtug,991
|
328
335
|
test/test_openshift_version.py,sha256=wT6jcOUJAdqJH1gR1pf87heMQNWxnKn9YDMS2EUeN_4,909
|
329
336
|
test/test_openshift_versions.py,sha256=GQh5i3Y-rS429ywpJko7B7JBbJw0NrDLhlvKqH-VQZc,917
|
337
|
+
test/test_operator.py,sha256=e8x-MiwAg0a9BS7GZWPrvx2xe-LmjKXSa-CJb3o3U1s,843
|
330
338
|
test/test_operator_create_params.py,sha256=wQP2jJ7yB5xSgcZkD3LrDcOZhasEcyvFPvrrfp0gtR8,943
|
331
339
|
test/test_operator_hardware_requirements.py,sha256=yt3EauTdPZMmF-k42ar0HysB2RGwucAOLbLWsGF0jGs,1007
|
332
340
|
test/test_operator_host_requirements.py,sha256=MXdqHeVpmOqzp0bztj9OHs6LqzrdtQE8ZSyTrmg4DQw,975
|
@@ -383,7 +391,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
383
391
|
test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
|
384
392
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
385
393
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
386
|
-
assisted_service_client-2.43.0.
|
387
|
-
assisted_service_client-2.43.0.
|
388
|
-
assisted_service_client-2.43.0.
|
389
|
-
assisted_service_client-2.43.0.
|
394
|
+
assisted_service_client-2.43.0.post21.dist-info/METADATA,sha256=Lq6XqZhKLEucWfwMfjEj2y-K62F6yKQE29rl2UWxoaQ,26858
|
395
|
+
assisted_service_client-2.43.0.post21.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
396
|
+
assisted_service_client-2.43.0.post21.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
397
|
+
assisted_service_client-2.43.0.post21.dist-info/RECORD,,
|
test/test_feature.py
ADDED
@@ -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.feature import Feature # noqa: E501
|
20
|
+
from assisted_service_client.rest import ApiException
|
21
|
+
|
22
|
+
|
23
|
+
class TestFeature(unittest.TestCase):
|
24
|
+
"""Feature unit test stubs"""
|
25
|
+
|
26
|
+
def setUp(self):
|
27
|
+
pass
|
28
|
+
|
29
|
+
def tearDown(self):
|
30
|
+
pass
|
31
|
+
|
32
|
+
def testFeature(self):
|
33
|
+
"""Test Feature"""
|
34
|
+
# FIXME: construct object with mandatory attributes with example values
|
35
|
+
# model = assisted_service_client.models.feature.Feature() # noqa: E501
|
36
|
+
pass
|
37
|
+
|
38
|
+
|
39
|
+
if __name__ == '__main__':
|
40
|
+
unittest.main()
|
@@ -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.incompatibility_reason import IncompatibilityReason # noqa: E501
|
20
|
+
from assisted_service_client.rest import ApiException
|
21
|
+
|
22
|
+
|
23
|
+
class TestIncompatibilityReason(unittest.TestCase):
|
24
|
+
"""IncompatibilityReason unit test stubs"""
|
25
|
+
|
26
|
+
def setUp(self):
|
27
|
+
pass
|
28
|
+
|
29
|
+
def tearDown(self):
|
30
|
+
pass
|
31
|
+
|
32
|
+
def testIncompatibilityReason(self):
|
33
|
+
"""Test IncompatibilityReason"""
|
34
|
+
# FIXME: construct object with mandatory attributes with example values
|
35
|
+
# model = assisted_service_client.models.incompatibility_reason.IncompatibilityReason() # noqa: E501
|
36
|
+
pass
|
37
|
+
|
38
|
+
|
39
|
+
if __name__ == '__main__':
|
40
|
+
unittest.main()
|
@@ -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.inline_response2002 import InlineResponse2002 # noqa: E501
|
20
|
+
from assisted_service_client.rest import ApiException
|
21
|
+
|
22
|
+
|
23
|
+
class TestInlineResponse2002(unittest.TestCase):
|
24
|
+
"""InlineResponse2002 unit test stubs"""
|
25
|
+
|
26
|
+
def setUp(self):
|
27
|
+
pass
|
28
|
+
|
29
|
+
def tearDown(self):
|
30
|
+
pass
|
31
|
+
|
32
|
+
def testInlineResponse2002(self):
|
33
|
+
"""Test InlineResponse2002"""
|
34
|
+
# FIXME: construct object with mandatory attributes with example values
|
35
|
+
# model = assisted_service_client.models.inline_response2002.InlineResponse2002() # noqa: E501
|
36
|
+
pass
|
37
|
+
|
38
|
+
|
39
|
+
if __name__ == '__main__':
|
40
|
+
unittest.main()
|
test/test_installer_api.py
CHANGED
@@ -53,6 +53,12 @@ class TestInstallerApi(unittest.TestCase):
|
|
53
53
|
"""
|
54
54
|
pass
|
55
55
|
|
56
|
+
def test_get_detailed_supported_features(self):
|
57
|
+
"""Test case for get_detailed_supported_features
|
58
|
+
|
59
|
+
"""
|
60
|
+
pass
|
61
|
+
|
56
62
|
def test_get_infra_env(self):
|
57
63
|
"""Test case for get_infra_env
|
58
64
|
|
test/test_operator.py
ADDED
@@ -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.operator import Operator # noqa: E501
|
20
|
+
from assisted_service_client.rest import ApiException
|
21
|
+
|
22
|
+
|
23
|
+
class TestOperator(unittest.TestCase):
|
24
|
+
"""Operator unit test stubs"""
|
25
|
+
|
26
|
+
def setUp(self):
|
27
|
+
pass
|
28
|
+
|
29
|
+
def tearDown(self):
|
30
|
+
pass
|
31
|
+
|
32
|
+
def testOperator(self):
|
33
|
+
"""Test Operator"""
|
34
|
+
# FIXME: construct object with mandatory attributes with example values
|
35
|
+
# model = assisted_service_client.models.operator.Operator() # noqa: E501
|
36
|
+
pass
|
37
|
+
|
38
|
+
|
39
|
+
if __name__ == '__main__':
|
40
|
+
unittest.main()
|
File without changes
|
File without changes
|