assisted-service-client 2.42.0.post9__py3-none-any.whl → 2.47.0.post114__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 +6 -0
- assisted_service_client/api/installer_api.py +215 -5
- assisted_service_client/api/operators_api.py +36 -10
- assisted_service_client/models/__init__.py +6 -0
- assisted_service_client/models/cluster.py +4 -4
- assisted_service_client/models/cluster_validation_id.py +5 -0
- assisted_service_client/models/disconnected_cluster_create_params.py +151 -0
- assisted_service_client/models/feature.py +196 -0
- assisted_service_client/models/feature_support_level_id.py +5 -0
- assisted_service_client/models/fencing_credentials_params.py +210 -0
- assisted_service_client/models/host.py +31 -3
- assisted_service_client/models/host_update_params.py +31 -3
- assisted_service_client/models/host_validation_id.py +4 -0
- assisted_service_client/models/image_type.py +1 -0
- assisted_service_client/models/incompatibility_reason.py +95 -0
- assisted_service_client/models/infra_env.py +29 -1
- assisted_service_client/models/infra_env_create_params.py +29 -1
- assisted_service_client/models/infra_env_update_params.py +29 -1
- 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.42.0.post9.dist-info → assisted_service_client-2.47.0.post114.dist-info}/METADATA +10 -2
- {assisted_service_client-2.42.0.post9.dist-info → assisted_service_client-2.47.0.post114.dist-info}/RECORD +33 -21
- test/test_disconnected_cluster_create_params.py +40 -0
- test/test_feature.py +40 -0
- test/test_fencing_credentials_params.py +40 -0
- test/test_incompatibility_reason.py +40 -0
- test/test_inline_response2002.py +40 -0
- test/test_installer_api.py +12 -0
- test/test_operator.py +40 -0
- test/test_operators_api.py +1 -1
- {assisted_service_client-2.42.0.post9.dist-info → assisted_service_client-2.47.0.post114.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.42.0.post9.dist-info → assisted_service_client-2.47.0.post114.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
|
@@ -305,6 +311,12 @@ class TestInstallerApi(unittest.TestCase):
|
|
|
305
311
|
"""
|
|
306
312
|
pass
|
|
307
313
|
|
|
314
|
+
def test_v2_register_disconnected_cluster(self):
|
|
315
|
+
"""Test case for v2_register_disconnected_cluster
|
|
316
|
+
|
|
317
|
+
"""
|
|
318
|
+
pass
|
|
319
|
+
|
|
308
320
|
def test_v2_register_host(self):
|
|
309
321
|
"""Test case for v2_register_host
|
|
310
322
|
|
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()
|
test/test_operators_api.py
CHANGED
|
File without changes
|
|
File without changes
|