assisted-service-client 2.36.0.post15__py3-none-any.whl → 2.36.0.post19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of assisted-service-client might be problematic. Click here for more details.
- assisted_service_client/__init__.py +1 -0
- assisted_service_client/models/__init__.py +1 -0
- assisted_service_client/models/boot.py +29 -3
- assisted_service_client/models/secure_boot_state.py +95 -0
- {assisted_service_client-2.36.0.post15.dist-info → assisted_service_client-2.36.0.post19.dist-info}/METADATA +2 -1
- {assisted_service_client-2.36.0.post15.dist-info → assisted_service_client-2.36.0.post19.dist-info}/RECORD +9 -7
- test/test_secure_boot_state.py +40 -0
- {assisted_service_client-2.36.0.post15.dist-info → assisted_service_client-2.36.0.post19.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.36.0.post15.dist-info → assisted_service_client-2.36.0.post19.dist-info}/top_level.txt +0 -0
|
@@ -177,6 +177,7 @@ from assisted_service_client.models.release_images import ReleaseImages
|
|
|
177
177
|
from assisted_service_client.models.release_source import ReleaseSource
|
|
178
178
|
from assisted_service_client.models.release_sources import ReleaseSources
|
|
179
179
|
from assisted_service_client.models.route import Route
|
|
180
|
+
from assisted_service_client.models.secure_boot_state import SecureBootState
|
|
180
181
|
from assisted_service_client.models.service_network import ServiceNetwork
|
|
181
182
|
from assisted_service_client.models.source_state import SourceState
|
|
182
183
|
from assisted_service_client.models.step import Step
|
|
@@ -165,6 +165,7 @@ from assisted_service_client.models.release_images import ReleaseImages
|
|
|
165
165
|
from assisted_service_client.models.release_source import ReleaseSource
|
|
166
166
|
from assisted_service_client.models.release_sources import ReleaseSources
|
|
167
167
|
from assisted_service_client.models.route import Route
|
|
168
|
+
from assisted_service_client.models.secure_boot_state import SecureBootState
|
|
168
169
|
from assisted_service_client.models.service_network import ServiceNetwork
|
|
169
170
|
from assisted_service_client.models.source_state import SourceState
|
|
170
171
|
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 = {}
|
|
@@ -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 SecureBootState(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
|
+
UNKNOWN = "Unknown"
|
|
30
|
+
NOTSUPPORTED = "NotSupported"
|
|
31
|
+
ENABLED = "Enabled"
|
|
32
|
+
DISABLED = "Disabled"
|
|
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
|
+
"""SecureBootState - 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(SecureBootState, 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, SecureBootState):
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: assisted-service-client
|
|
3
|
-
Version: 2.36.0.
|
|
3
|
+
Version: 2.36.0.post19
|
|
4
4
|
Summary: AssistedInstall
|
|
5
5
|
Home-page: https://github.com/openshift/assisted-service
|
|
6
6
|
Author: RedHat
|
|
@@ -355,6 +355,7 @@ Class | Method | HTTP request | Description
|
|
|
355
355
|
- [ReleaseSource](docs/ReleaseSource.md)
|
|
356
356
|
- [ReleaseSources](docs/ReleaseSources.md)
|
|
357
357
|
- [Route](docs/Route.md)
|
|
358
|
+
- [SecureBootState](docs/SecureBootState.md)
|
|
358
359
|
- [ServiceNetwork](docs/ServiceNetwork.md)
|
|
359
360
|
- [SourceState](docs/SourceState.md)
|
|
360
361
|
- [Step](docs/Step.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assisted_service_client/__init__.py,sha256=
|
|
1
|
+
assisted_service_client/__init__.py,sha256=x498Bq4Eycq44jZ3tVvZJPbFJFgKTFi8KgGnAx4N3vk,15235
|
|
2
2
|
assisted_service_client/api_client.py,sha256=ypPMDOaIc8GI-xm-g5PrNLYlakkK5K3qcJBjJP5GlbM,24986
|
|
3
3
|
assisted_service_client/configuration.py,sha256=wLYxtRlTlR9o-y24tqlDSgfjrh9YdiyWaM8-QxFOyOY,9352
|
|
4
4
|
assisted_service_client/rest.py,sha256=fLcY2m9yxpqJW4agxf3yCJyiz486qPLgqw8CbCuftZw,13123
|
|
@@ -9,14 +9,14 @@ assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u
|
|
|
9
9
|
assisted_service_client/api/manifests_api.py,sha256=aLktOGwkOa3siGnJOYuGO0mH3TlES-fBZvilNvseGO0,25146
|
|
10
10
|
assisted_service_client/api/operators_api.py,sha256=d-QpJNPGcrAKlE2zG7K160zWrQ7_Wig4osid_92zSTQ,17473
|
|
11
11
|
assisted_service_client/api/versions_api.py,sha256=0eomTHtqgrHnxBxNhL_rZ43K3O3fjvpy0nMRxt2idEg,11674
|
|
12
|
-
assisted_service_client/models/__init__.py,sha256=
|
|
12
|
+
assisted_service_client/models/__init__.py,sha256=_J2nYw8kOfjZQ08B7-6sw37a5nRXm7iCT4QFXNfBGZw,14659
|
|
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
|
|
16
16
|
assisted_service_client/models/api_vip_connectivity_response.py,sha256=g_lug17OFCNbmB81u5xz4TL2XMVLqZ3cpFj9VOP6AUk,6425
|
|
17
17
|
assisted_service_client/models/architecture_support_level_id.py,sha256=hlG08k4mpxplccAeBy2aiF41lp7zcTUyxPP98x2mXUg,2711
|
|
18
18
|
assisted_service_client/models/bind_host_params.py,sha256=R6AntLnkrOE_uVaRECc_gx1QPfUmPsVNI06LoDQJONI,3170
|
|
19
|
-
assisted_service_client/models/boot.py,sha256=
|
|
19
|
+
assisted_service_client/models/boot.py,sha256=HaFURZ2Zcn14eHfojQVuCT7W6jmVly_hgCpgoeY-Pu8,5412
|
|
20
20
|
assisted_service_client/models/cluster.py,sha256=4AUWsJFlTcB3tMqfh_F8km1xkhjedQz53IGffoX_5zQ,74773
|
|
21
21
|
assisted_service_client/models/cluster_create_params.py,sha256=T-P5PPPOfvukQ6dOZUS43ulFoT9W73FsiiA9dgxU0Xc,38637
|
|
22
22
|
assisted_service_client/models/cluster_default_config.py,sha256=MXhboRxA2o4-lHR9baQCiehfksCV4XfsabSMqFfSv3U,12993
|
|
@@ -160,6 +160,7 @@ assisted_service_client/models/release_images.py,sha256=bSXU4JEqzpZoxQFurs4bT-lI
|
|
|
160
160
|
assisted_service_client/models/release_source.py,sha256=4kOijjPT9V8LmoMqA67dpoSRRbwRrv8Bq05G33Jl1yE,5960
|
|
161
161
|
assisted_service_client/models/release_sources.py,sha256=ys1XIeBGev0b98zMsAwqC0Hl2p9__6LHVuWJKfvgW-M,2376
|
|
162
162
|
assisted_service_client/models/route.py,sha256=_QfjgzckjUw8rm04OG8FRl4cyFjgA4IXKpMUD9_pKbc,6121
|
|
163
|
+
assisted_service_client/models/secure_boot_state.py,sha256=20olpzEvyurUsFUjjzZzoebgrFiX0Ka-Y8u6RT_hVT0,2529
|
|
163
164
|
assisted_service_client/models/service_network.py,sha256=_9bV3qtVHmanOhiw0NhEr-0Q3Imhg8N_fyi2hD35CXo,4145
|
|
164
165
|
assisted_service_client/models/source_state.py,sha256=rz7MYSG2DUkpjCO7NCBDPU4VlYcr8K1Qpe8aP_E807w,2565
|
|
165
166
|
assisted_service_client/models/step.py,sha256=p3sP4UnSgLG40x0qMiGQJrTVbPgPvguaXMX6gDEoSGs,4164
|
|
@@ -346,6 +347,7 @@ test/test_release_images.py,sha256=w0DuqVKX_VTqKweOqKnJl48r6Xgd23c88MntZuV3-KQ,8
|
|
|
346
347
|
test/test_release_source.py,sha256=96UTbQqDibykLQfWGB9NdrkgHR0RdulS9LDd054h6Lk,885
|
|
347
348
|
test/test_release_sources.py,sha256=VwUaY0U6NJ11vdrtgwwYsBwFTpsggzuUbAgF5d2x7_Y,893
|
|
348
349
|
test/test_route.py,sha256=C1BPNYhfpeV9C6TVIvoYzEmeaknvXKtLPVVQNUexQk4,819
|
|
350
|
+
test/test_secure_boot_state.py,sha256=9wlqexwZ0j1T7m9nMBEAkf94ZsMGxHpC9dKymhsvHPs,903
|
|
349
351
|
test/test_service_network.py,sha256=qmtAwW4-SYkwjThFc3bFF2gepFc5wRFz3yZK1nIvXm8,893
|
|
350
352
|
test/test_source_state.py,sha256=gz26htBkWFnjySeKcGbZYGCGpJDxL1iWh15jopvw3dM,869
|
|
351
353
|
test/test_step.py,sha256=AmInoNURU-78SJRzfc0vjJIp2x5DPr0_g_GGOxvp508,811
|
|
@@ -377,7 +379,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
|
377
379
|
test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
|
|
378
380
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
|
379
381
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
|
380
|
-
assisted_service_client-2.36.0.
|
|
381
|
-
assisted_service_client-2.36.0.
|
|
382
|
-
assisted_service_client-2.36.0.
|
|
383
|
-
assisted_service_client-2.36.0.
|
|
382
|
+
assisted_service_client-2.36.0.post19.dist-info/METADATA,sha256=o3yKNcj1-NuntfEqxf_13MfzZCN09cN7QQHmG1lvUEU,26169
|
|
383
|
+
assisted_service_client-2.36.0.post19.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
384
|
+
assisted_service_client-2.36.0.post19.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
|
385
|
+
assisted_service_client-2.36.0.post19.dist-info/RECORD,,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
AssistedInstall
|
|
5
|
+
|
|
6
|
+
Assisted installation # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 1.0.0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import absolute_import
|
|
15
|
+
|
|
16
|
+
import unittest
|
|
17
|
+
|
|
18
|
+
import assisted_service_client
|
|
19
|
+
from assisted_service_client.models.secure_boot_state import SecureBootState # noqa: E501
|
|
20
|
+
from assisted_service_client.rest import ApiException
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class TestSecureBootState(unittest.TestCase):
|
|
24
|
+
"""SecureBootState unit test stubs"""
|
|
25
|
+
|
|
26
|
+
def setUp(self):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
def tearDown(self):
|
|
30
|
+
pass
|
|
31
|
+
|
|
32
|
+
def testSecureBootState(self):
|
|
33
|
+
"""Test SecureBootState"""
|
|
34
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
35
|
+
# model = assisted_service_client.models.secure_boot_state.SecureBootState() # noqa: E501
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
if __name__ == '__main__':
|
|
40
|
+
unittest.main()
|
|
File without changes
|
|
File without changes
|