assisted-service-client 2.33.0.post31__py3-none-any.whl → 2.33.0.post33__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.

@@ -124,6 +124,7 @@ from assisted_service_client.models.interface import Interface
124
124
  from assisted_service_client.models.inventory import Inventory
125
125
  from assisted_service_client.models.io_perf import IoPerf
126
126
  from assisted_service_client.models.ip import Ip
127
+ from assisted_service_client.models.iscsi import Iscsi
127
128
  from assisted_service_client.models.kernel_argument import KernelArgument
128
129
  from assisted_service_client.models.kernel_arguments import KernelArguments
129
130
  from assisted_service_client.models.l2_connectivity import L2Connectivity
@@ -112,6 +112,7 @@ from assisted_service_client.models.interface import Interface
112
112
  from assisted_service_client.models.inventory import Inventory
113
113
  from assisted_service_client.models.io_perf import IoPerf
114
114
  from assisted_service_client.models.ip import Ip
115
+ from assisted_service_client.models.iscsi import Iscsi
115
116
  from assisted_service_client.models.kernel_argument import KernelArgument
116
117
  from assisted_service_client.models.kernel_arguments import KernelArguments
117
118
  from assisted_service_client.models.l2_connectivity import L2Connectivity
@@ -51,7 +51,8 @@ class Disk(object):
51
51
  'installation_eligibility': 'DiskInstallationEligibility',
52
52
  'smart': 'str',
53
53
  'io_perf': 'IoPerf',
54
- 'holders': 'str'
54
+ 'holders': 'str',
55
+ 'iscsi': 'Iscsi'
55
56
  }
56
57
 
57
58
  attribute_map = {
@@ -75,10 +76,11 @@ class Disk(object):
75
76
  'installation_eligibility': 'installation_eligibility',
76
77
  'smart': 'smart',
77
78
  'io_perf': 'io_perf',
78
- 'holders': 'holders'
79
+ 'holders': 'holders',
80
+ 'iscsi': 'iscsi'
79
81
  }
80
82
 
81
- def __init__(self, id=None, drive_type=None, has_uuid=None, vendor=None, name=None, path=None, hctl=None, by_path=None, by_id=None, model=None, wwn=None, serial=None, size_bytes=None, bootable=None, removable=None, partition_types=None, is_installation_media=None, installation_eligibility=None, smart=None, io_perf=None, holders=None): # noqa: E501
83
+ def __init__(self, id=None, drive_type=None, has_uuid=None, vendor=None, name=None, path=None, hctl=None, by_path=None, by_id=None, model=None, wwn=None, serial=None, size_bytes=None, bootable=None, removable=None, partition_types=None, is_installation_media=None, installation_eligibility=None, smart=None, io_perf=None, holders=None, iscsi=None): # noqa: E501
82
84
  """Disk - a model defined in Swagger""" # noqa: E501
83
85
 
84
86
  self._id = None
@@ -102,6 +104,7 @@ class Disk(object):
102
104
  self._smart = None
103
105
  self._io_perf = None
104
106
  self._holders = None
107
+ self._iscsi = None
105
108
  self.discriminator = None
106
109
 
107
110
  if id is not None:
@@ -146,6 +149,8 @@ class Disk(object):
146
149
  self.io_perf = io_perf
147
150
  if holders is not None:
148
151
  self.holders = holders
152
+ if iscsi is not None:
153
+ self.iscsi = iscsi
149
154
 
150
155
  @property
151
156
  def id(self):
@@ -598,6 +603,27 @@ class Disk(object):
598
603
 
599
604
  self._holders = holders
600
605
 
606
+ @property
607
+ def iscsi(self):
608
+ """Gets the iscsi of this Disk. # noqa: E501
609
+
610
+
611
+ :return: The iscsi of this Disk. # noqa: E501
612
+ :rtype: Iscsi
613
+ """
614
+ return self._iscsi
615
+
616
+ @iscsi.setter
617
+ def iscsi(self, iscsi):
618
+ """Sets the iscsi of this Disk.
619
+
620
+
621
+ :param iscsi: The iscsi of this Disk. # noqa: E501
622
+ :type: Iscsi
623
+ """
624
+
625
+ self._iscsi = iscsi
626
+
601
627
  def to_dict(self):
602
628
  """Returns the model properties as a dict"""
603
629
  result = {}
@@ -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 Iscsi(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
+ 'host_ip_address': 'str'
35
+ }
36
+
37
+ attribute_map = {
38
+ 'host_ip_address': 'host_ip_address'
39
+ }
40
+
41
+ def __init__(self, host_ip_address=None): # noqa: E501
42
+ """Iscsi - a model defined in Swagger""" # noqa: E501
43
+
44
+ self._host_ip_address = None
45
+ self.discriminator = None
46
+
47
+ if host_ip_address is not None:
48
+ self.host_ip_address = host_ip_address
49
+
50
+ @property
51
+ def host_ip_address(self):
52
+ """Gets the host_ip_address of this Iscsi. # noqa: E501
53
+
54
+ Host IP address used to reach iSCSI target # noqa: E501
55
+
56
+ :return: The host_ip_address of this Iscsi. # noqa: E501
57
+ :rtype: str
58
+ """
59
+ return self._host_ip_address
60
+
61
+ @host_ip_address.setter
62
+ def host_ip_address(self, host_ip_address):
63
+ """Sets the host_ip_address of this Iscsi.
64
+
65
+ Host IP address used to reach iSCSI target # noqa: E501
66
+
67
+ :param host_ip_address: The host_ip_address of this Iscsi. # noqa: E501
68
+ :type: str
69
+ """
70
+
71
+ self._host_ip_address = host_ip_address
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(Iscsi, 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, Iscsi):
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: assisted-service-client
3
- Version: 2.33.0.post31
3
+ Version: 2.33.0.post33
4
4
  Summary: AssistedInstall
5
5
  Home-page: https://github.com/openshift/assisted-service
6
6
  Author: RedHat
@@ -297,6 +297,7 @@ Class | Method | HTTP request | Description
297
297
  - [Inventory](docs/Inventory.md)
298
298
  - [IoPerf](docs/IoPerf.md)
299
299
  - [Ip](docs/Ip.md)
300
+ - [Iscsi](docs/Iscsi.md)
300
301
  - [KernelArgument](docs/KernelArgument.md)
301
302
  - [KernelArguments](docs/KernelArguments.md)
302
303
  - [L2Connectivity](docs/L2Connectivity.md)
@@ -1,4 +1,4 @@
1
- assisted_service_client/__init__.py,sha256=YPF5HZls2mMBRO6_aYPtl-FjcshGcbPuiiwNRfdsjFc,15039
1
+ assisted_service_client/__init__.py,sha256=nTxET6SMoR7N31_tP3m4oxSqpjUWnqJi5-Auc_U1lmg,15094
2
2
  assisted_service_client/api_client.py,sha256=ypPMDOaIc8GI-xm-g5PrNLYlakkK5K3qcJBjJP5GlbM,24986
3
3
  assisted_service_client/configuration.py,sha256=cnW5aIc2HR6HqBv7LXhMfoJTdfPhBed_97UxKDzE8Ro,9078
4
4
  assisted_service_client/rest.py,sha256=fLcY2m9yxpqJW4agxf3yCJyiz486qPLgqw8CbCuftZw,13123
@@ -9,7 +9,7 @@ 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=aTAQza7vnbn-zJKV-6_pMuj1F6T25Vk58btXN91zUJI,14463
12
+ assisted_service_client/models/__init__.py,sha256=h6rXo8WhEErUqy3a84ND8eKknxQg0TXNfEdo4IMX9uY,14518
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
@@ -43,7 +43,7 @@ assisted_service_client/models/create_manifest_params.py,sha256=tU-zvinJWxQerhQE
43
43
  assisted_service_client/models/credentials.py,sha256=OpttbTivzaMKt1VjMkDURdWN60MsIkZhQLUhK4mQ_u4,4383
44
44
  assisted_service_client/models/dhcp_allocation_request.py,sha256=VxHpM8MXlQrXLSTZSYZXwgMI0d81vhIAZaz0pLUx-dg,7359
45
45
  assisted_service_client/models/dhcp_allocation_response.py,sha256=FC54EnUen0y6wkDtvFUA62oHKHcoX3cEfft2i54NA44,6700
46
- assisted_service_client/models/disk.py,sha256=DBzHMZPclz4t7GgmVu3e5_fFit_aS1W4M7hjvgb0D50,16623
46
+ assisted_service_client/models/disk.py,sha256=8uPYKO3bE8TdnK_PyjkvFIDWd06MnRFnQqG9HvJBVsg,17194
47
47
  assisted_service_client/models/disk_config_params.py,sha256=9Uefw5UTnF5h-psWu_CR0bz5ZJWqzAofyIQ8ahf0JAQ,3626
48
48
  assisted_service_client/models/disk_encryption.py,sha256=p0fnBJcLHPNcBg_Kj_YXucgns1Osz3Mv0xdTrdBxHxg,5493
49
49
  assisted_service_client/models/disk_info.py,sha256=hm7ys9-b1jk3yaNR3zagO7Xo6uhcsH4SdIVk36mBsfw,4133
@@ -107,6 +107,7 @@ assisted_service_client/models/interface.py,sha256=oens5JgzzW7b7y2_m3da_xnlB39d2
107
107
  assisted_service_client/models/inventory.py,sha256=Cn5ug3cuDYzyuMbRB0LNyqZtahJ3MLar26I-WELk2I4,10489
108
108
  assisted_service_client/models/io_perf.py,sha256=hLqJ7Tg6wLldvQtWxIy4b6XEZZIBeuAsgbZVwRfCHfc,3221
109
109
  assisted_service_client/models/ip.py,sha256=ItzWAGLq9NsTt1Fqj1ycQO9YfbPhTZ1R9Kk-EN2Tbdg,2328
110
+ assisted_service_client/models/iscsi.py,sha256=f7yufmkMHUVoz7ur3JhURkeVXeUFjzDTodnh4TjOcxU,3239
110
111
  assisted_service_client/models/kernel_argument.py,sha256=8GfeKMFnLPD78WGzkVSG_pJcaGQdOgoBx9VqBGzPvyk,4704
111
112
  assisted_service_client/models/kernel_arguments.py,sha256=i7lyYGI7FMjI1U4Im2qgLJBgr5E82QUoHvCSJy2UGn0,2380
112
113
  assisted_service_client/models/l2_connectivity.py,sha256=4dn_3mW6WF1eWVtAVEZBf1X-OHoexb29PzT6i2kjy3I,6264
@@ -288,6 +289,7 @@ test/test_interface.py,sha256=aKMlQAzR68c2sit6Lqcc6py07tqoRyX0j8z-j91HK7A,851
288
289
  test/test_inventory.py,sha256=9aK7xDNHZbTLYWDdRmEKTCtiOLlgyRgS7Qw4OAO5NMw,851
289
290
  test/test_io_perf.py,sha256=oGkPzh192yqrCvdSxQBFP1gsIvj27hOXJMjU57QEvQs,829
290
291
  test/test_ip.py,sha256=hqcgBIeOZj6e0uwdyZJrtG9iqabrsWbz_tVxk8-twuo,795
292
+ test/test_iscsi.py,sha256=IYy5iWQy2x-Nt_SkBWZhUTftS1TkIDqNXHpFXI7O_os,819
291
293
  test/test_kernel_argument.py,sha256=VFDn4ZhgYC3VSv0oLGLHv3faY00Ig0bUb1_0UW8lOBI,893
292
294
  test/test_kernel_arguments.py,sha256=krcv9_JQlgSjrknfBiTOKjCqZ5h_MJ5Lq4BmlW5hNq0,901
293
295
  test/test_l2_connectivity.py,sha256=T0klu_YRuM9KvEUtLlVz2Nin6I-pWrgSG6PMl-MQjro,893
@@ -373,7 +375,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
373
375
  test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
374
376
  test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
375
377
  test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
376
- assisted_service_client-2.33.0.post31.dist-info/METADATA,sha256=PRC9jdvOgylf_11MNmtMS34zxQ80mp24gFR9yxlUJPk,25641
377
- assisted_service_client-2.33.0.post31.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
378
- assisted_service_client-2.33.0.post31.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
379
- assisted_service_client-2.33.0.post31.dist-info/RECORD,,
378
+ assisted_service_client-2.33.0.post33.dist-info/METADATA,sha256=A9Ig2Y8Le0FP8297b8zeAR8UTffRX_-7C2eAZgPLYBY,25667
379
+ assisted_service_client-2.33.0.post33.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
380
+ assisted_service_client-2.33.0.post33.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
381
+ assisted_service_client-2.33.0.post33.dist-info/RECORD,,
test/test_iscsi.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.iscsi import Iscsi # noqa: E501
20
+ from assisted_service_client.rest import ApiException
21
+
22
+
23
+ class TestIscsi(unittest.TestCase):
24
+ """Iscsi unit test stubs"""
25
+
26
+ def setUp(self):
27
+ pass
28
+
29
+ def tearDown(self):
30
+ pass
31
+
32
+ def testIscsi(self):
33
+ """Test Iscsi"""
34
+ # FIXME: construct object with mandatory attributes with example values
35
+ # model = assisted_service_client.models.iscsi.Iscsi() # noqa: E501
36
+ pass
37
+
38
+
39
+ if __name__ == '__main__':
40
+ unittest.main()