assisted-service-client 2.36.0.post8__py3-none-any.whl → 2.36.0.post10__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.

@@ -146,6 +146,7 @@ from assisted_service_client.models.memory import Memory
146
146
  from assisted_service_client.models.memory_method import MemoryMethod
147
147
  from assisted_service_client.models.monitored_operator import MonitoredOperator
148
148
  from assisted_service_client.models.monitored_operators_list import MonitoredOperatorsList
149
+ from assisted_service_client.models.mtu_report import MtuReport
149
150
  from assisted_service_client.models.next_step_cmd_request import NextStepCmdRequest
150
151
  from assisted_service_client.models.node_label_params import NodeLabelParams
151
152
  from assisted_service_client.models.ntp_source import NtpSource
@@ -134,6 +134,7 @@ from assisted_service_client.models.memory import Memory
134
134
  from assisted_service_client.models.memory_method import MemoryMethod
135
135
  from assisted_service_client.models.monitored_operator import MonitoredOperator
136
136
  from assisted_service_client.models.monitored_operators_list import MonitoredOperatorsList
137
+ from assisted_service_client.models.mtu_report import MtuReport
137
138
  from assisted_service_client.models.next_step_cmd_request import NextStepCmdRequest
138
139
  from assisted_service_client.models.node_label_params import NodeLabelParams
139
140
  from assisted_service_client.models.ntp_source import NtpSource
@@ -33,21 +33,24 @@ class ConnectivityRemoteHost(object):
33
33
  swagger_types = {
34
34
  'host_id': 'str',
35
35
  'l2_connectivity': 'list[L2Connectivity]',
36
- 'l3_connectivity': 'list[L3Connectivity]'
36
+ 'l3_connectivity': 'list[L3Connectivity]',
37
+ 'mtu_report': 'list[MtuReport]'
37
38
  }
38
39
 
39
40
  attribute_map = {
40
41
  'host_id': 'host_id',
41
42
  'l2_connectivity': 'l2_connectivity',
42
- 'l3_connectivity': 'l3_connectivity'
43
+ 'l3_connectivity': 'l3_connectivity',
44
+ 'mtu_report': 'mtu_report'
43
45
  }
44
46
 
45
- def __init__(self, host_id=None, l2_connectivity=None, l3_connectivity=None): # noqa: E501
47
+ def __init__(self, host_id=None, l2_connectivity=None, l3_connectivity=None, mtu_report=None): # noqa: E501
46
48
  """ConnectivityRemoteHost - a model defined in Swagger""" # noqa: E501
47
49
 
48
50
  self._host_id = None
49
51
  self._l2_connectivity = None
50
52
  self._l3_connectivity = None
53
+ self._mtu_report = None
51
54
  self.discriminator = None
52
55
 
53
56
  if host_id is not None:
@@ -56,6 +59,8 @@ class ConnectivityRemoteHost(object):
56
59
  self.l2_connectivity = l2_connectivity
57
60
  if l3_connectivity is not None:
58
61
  self.l3_connectivity = l3_connectivity
62
+ if mtu_report is not None:
63
+ self.mtu_report = mtu_report
59
64
 
60
65
  @property
61
66
  def host_id(self):
@@ -120,6 +125,27 @@ class ConnectivityRemoteHost(object):
120
125
 
121
126
  self._l3_connectivity = l3_connectivity
122
127
 
128
+ @property
129
+ def mtu_report(self):
130
+ """Gets the mtu_report of this ConnectivityRemoteHost. # noqa: E501
131
+
132
+
133
+ :return: The mtu_report of this ConnectivityRemoteHost. # noqa: E501
134
+ :rtype: list[MtuReport]
135
+ """
136
+ return self._mtu_report
137
+
138
+ @mtu_report.setter
139
+ def mtu_report(self, mtu_report):
140
+ """Sets the mtu_report of this ConnectivityRemoteHost.
141
+
142
+
143
+ :param mtu_report: The mtu_report of this ConnectivityRemoteHost. # noqa: E501
144
+ :type: list[MtuReport]
145
+ """
146
+
147
+ self._mtu_report = mtu_report
148
+
123
149
  def to_dict(self):
124
150
  """Returns the model properties as a dict"""
125
151
  result = {}
@@ -0,0 +1,167 @@
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 MtuReport(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
+ 'outgoing_nic': 'str',
35
+ 'remote_ip_address': 'str',
36
+ 'mtu_successful': 'bool'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'outgoing_nic': 'outgoing_nic',
41
+ 'remote_ip_address': 'remote_ip_address',
42
+ 'mtu_successful': 'mtu_successful'
43
+ }
44
+
45
+ def __init__(self, outgoing_nic=None, remote_ip_address=None, mtu_successful=None): # noqa: E501
46
+ """MtuReport - a model defined in Swagger""" # noqa: E501
47
+
48
+ self._outgoing_nic = None
49
+ self._remote_ip_address = None
50
+ self._mtu_successful = None
51
+ self.discriminator = None
52
+
53
+ if outgoing_nic is not None:
54
+ self.outgoing_nic = outgoing_nic
55
+ if remote_ip_address is not None:
56
+ self.remote_ip_address = remote_ip_address
57
+ if mtu_successful is not None:
58
+ self.mtu_successful = mtu_successful
59
+
60
+ @property
61
+ def outgoing_nic(self):
62
+ """Gets the outgoing_nic of this MtuReport. # noqa: E501
63
+
64
+
65
+ :return: The outgoing_nic of this MtuReport. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._outgoing_nic
69
+
70
+ @outgoing_nic.setter
71
+ def outgoing_nic(self, outgoing_nic):
72
+ """Sets the outgoing_nic of this MtuReport.
73
+
74
+
75
+ :param outgoing_nic: The outgoing_nic of this MtuReport. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._outgoing_nic = outgoing_nic
80
+
81
+ @property
82
+ def remote_ip_address(self):
83
+ """Gets the remote_ip_address of this MtuReport. # noqa: E501
84
+
85
+
86
+ :return: The remote_ip_address of this MtuReport. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._remote_ip_address
90
+
91
+ @remote_ip_address.setter
92
+ def remote_ip_address(self, remote_ip_address):
93
+ """Sets the remote_ip_address of this MtuReport.
94
+
95
+
96
+ :param remote_ip_address: The remote_ip_address of this MtuReport. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._remote_ip_address = remote_ip_address
101
+
102
+ @property
103
+ def mtu_successful(self):
104
+ """Gets the mtu_successful of this MtuReport. # noqa: E501
105
+
106
+
107
+ :return: The mtu_successful of this MtuReport. # noqa: E501
108
+ :rtype: bool
109
+ """
110
+ return self._mtu_successful
111
+
112
+ @mtu_successful.setter
113
+ def mtu_successful(self, mtu_successful):
114
+ """Sets the mtu_successful of this MtuReport.
115
+
116
+
117
+ :param mtu_successful: The mtu_successful of this MtuReport. # noqa: E501
118
+ :type: bool
119
+ """
120
+
121
+ self._mtu_successful = mtu_successful
122
+
123
+ def to_dict(self):
124
+ """Returns the model properties as a dict"""
125
+ result = {}
126
+
127
+ for attr, _ in six.iteritems(self.swagger_types):
128
+ value = getattr(self, attr)
129
+ if isinstance(value, list):
130
+ result[attr] = list(map(
131
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
132
+ value
133
+ ))
134
+ elif hasattr(value, "to_dict"):
135
+ result[attr] = value.to_dict()
136
+ elif isinstance(value, dict):
137
+ result[attr] = dict(map(
138
+ lambda item: (item[0], item[1].to_dict())
139
+ if hasattr(item[1], "to_dict") else item,
140
+ value.items()
141
+ ))
142
+ else:
143
+ result[attr] = value
144
+ if issubclass(MtuReport, dict):
145
+ for key, value in self.items():
146
+ result[key] = value
147
+
148
+ return result
149
+
150
+ def to_str(self):
151
+ """Returns the string representation of the model"""
152
+ return pprint.pformat(self.to_dict())
153
+
154
+ def __repr__(self):
155
+ """For `print` and `pprint`"""
156
+ return self.to_str()
157
+
158
+ def __eq__(self, other):
159
+ """Returns true if both objects are equal"""
160
+ if not isinstance(other, MtuReport):
161
+ return False
162
+
163
+ return self.__dict__ == other.__dict__
164
+
165
+ def __ne__(self, other):
166
+ """Returns true if both objects are not equal"""
167
+ 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.post8
3
+ Version: 2.36.0.post10
4
4
  Summary: AssistedInstall
5
5
  Home-page: https://github.com/openshift/assisted-service
6
6
  Author: RedHat
@@ -324,6 +324,7 @@ Class | Method | HTTP request | Description
324
324
  - [MemoryMethod](docs/MemoryMethod.md)
325
325
  - [MonitoredOperator](docs/MonitoredOperator.md)
326
326
  - [MonitoredOperatorsList](docs/MonitoredOperatorsList.md)
327
+ - [MtuReport](docs/MtuReport.md)
327
328
  - [NextStepCmdRequest](docs/NextStepCmdRequest.md)
328
329
  - [NodeLabelParams](docs/NodeLabelParams.md)
329
330
  - [NtpSource](docs/NtpSource.md)
@@ -1,4 +1,4 @@
1
- assisted_service_client/__init__.py,sha256=nTxET6SMoR7N31_tP3m4oxSqpjUWnqJi5-Auc_U1lmg,15094
1
+ assisted_service_client/__init__.py,sha256=2KUxLEL-gicwS-jBKyb8zmqeNZve5QBJsxSsnpvTPSU,15158
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,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=h6rXo8WhEErUqy3a84ND8eKknxQg0TXNfEdo4IMX9uY,14518
12
+ assisted_service_client/models/__init__.py,sha256=wW0bbuIaJjWWySTu4QyV2AR2TopFEHc2f-D6D4EjV84,14582
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
@@ -32,7 +32,7 @@ assisted_service_client/models/completion_params.py,sha256=1kQDePG_SyIOH2WjubnEL
32
32
  assisted_service_client/models/connectivity_check_host.py,sha256=tUBCx9KuiO1z17ifrhqb_74oCnSUWjbZqnZpSsAgQTM,3759
33
33
  assisted_service_client/models/connectivity_check_nic.py,sha256=5CYBH94K1_i8nurc8XxHQOndr4Y4W5SpEjgfkqYjU4I,4385
34
34
  assisted_service_client/models/connectivity_check_params.py,sha256=w9n5OuFhuBJAtORpwWc_Mi48fkMFkhpNlunweUv7j8A,2412
35
- assisted_service_client/models/connectivity_remote_host.py,sha256=LeShNh1bJlXRcYJf91A4EXWxvbzJd6LAMfJhS0Sri2g,4861
35
+ assisted_service_client/models/connectivity_remote_host.py,sha256=Q-CrY6Tg55VinzXzrvIQEQObbyZaMju5UJtUQ9fu6t8,5634
36
36
  assisted_service_client/models/connectivity_report.py,sha256=Igr2vL8dRUwgtUl8Y3PjIT4_mTYETOFqDSrB8X6o2B4,3228
37
37
  assisted_service_client/models/container_image_availability.py,sha256=VWgx6tW9JMt7hCSGtzXICwnfwMeTBGZWkQO11sLaPF8,6488
38
38
  assisted_service_client/models/container_image_availability_request.py,sha256=oLyoYq_E7W-ZhrrGW451J435k5tqkCOmaWkwFHnw3p0,4275
@@ -129,6 +129,7 @@ assisted_service_client/models/memory.py,sha256=pNVA7KJrF2Qg9RQdP3RLH1hi6-I0oz_n
129
129
  assisted_service_client/models/memory_method.py,sha256=4Zaob1yIL-VgG80T7gPe5xuDux7zFqoAuwCwylP5cgE,2477
130
130
  assisted_service_client/models/monitored_operator.py,sha256=X9pAd8se_r4-pVE3p66vira1xrM-Di41mAlO2M9rMLw,11868
131
131
  assisted_service_client/models/monitored_operators_list.py,sha256=6cJImtZn97HBeVmMEuFBGW-UYes1qTmgIvA22_regFo,2408
132
+ assisted_service_client/models/mtu_report.py,sha256=6N3M0UDvPJV7mKLf8gbvnD9MIW9tGqn06Jgxv-7dvJ8,4674
132
133
  assisted_service_client/models/next_step_cmd_request.py,sha256=PQi1ykNi5OXQSOnmY6rhBz5OsJI4ZwQWvOiVO5toAoc,5078
133
134
  assisted_service_client/models/node_label_params.py,sha256=LBUMJ6dKziCeX8VTIDV3ixWVEvADa72kFx8-IWtVz8U,3976
134
135
  assisted_service_client/models/ntp_source.py,sha256=9o2AVy_GNtktU24thnXLv0Flj2RfYiKXwfY8OwlMlB4,4020
@@ -313,6 +314,7 @@ test/test_memory.py,sha256=bwKAqkgwhShRwQiYmzYNEkmDyX3Uh19HLvsQ-Ipmfrk,827
313
314
  test/test_memory_method.py,sha256=oIkajfwEEoR1paHObkes8SDUk66_l7Pj2xwdWA5q3f4,877
314
315
  test/test_monitored_operator.py,sha256=-dOkA-T97g0gstQTD8NaVpbVXZZy3HalAwp7XH1xdkw,917
315
316
  test/test_monitored_operators_list.py,sha256=fF63b_fIAnPNYRLssmiibWHI4s8jFx6rCL-7ZHX7DdQ,959
317
+ test/test_mtu_report.py,sha256=eir6wmGUjjFQBDIPduZyS47a15-jpOXhSsontE3X-OE,853
316
318
  test/test_next_step_cmd_request.py,sha256=sDDomrktiIZABNn6P-pE7ReXEE7kKYT_ctIMiM9cTTU,929
317
319
  test/test_node_label_params.py,sha256=MXuYjr7B30sdouPc2ZGYh5dRjwRtjaLfbZmk09iyYMI,903
318
320
  test/test_ntp_source.py,sha256=QYn_tzpREacBKn8pt01PeIgIZxddjnkDsOF_MwpiFsQ,853
@@ -375,7 +377,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
375
377
  test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
376
378
  test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
377
379
  test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
378
- assisted_service_client-2.36.0.post8.dist-info/METADATA,sha256=9akb4EhkA8f5o_qDSyZFx_R4br7Fp18i_4bX04ISGZk,26088
379
- assisted_service_client-2.36.0.post8.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
380
- assisted_service_client-2.36.0.post8.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
381
- assisted_service_client-2.36.0.post8.dist-info/RECORD,,
380
+ assisted_service_client-2.36.0.post10.dist-info/METADATA,sha256=Tzd73QhLpK6cEuvjPRWavzZ8DkQaN2hgdQhr5eJaNYA,26123
381
+ assisted_service_client-2.36.0.post10.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
382
+ assisted_service_client-2.36.0.post10.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
383
+ assisted_service_client-2.36.0.post10.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.mtu_report import MtuReport # noqa: E501
20
+ from assisted_service_client.rest import ApiException
21
+
22
+
23
+ class TestMtuReport(unittest.TestCase):
24
+ """MtuReport unit test stubs"""
25
+
26
+ def setUp(self):
27
+ pass
28
+
29
+ def tearDown(self):
30
+ pass
31
+
32
+ def testMtuReport(self):
33
+ """Test MtuReport"""
34
+ # FIXME: construct object with mandatory attributes with example values
35
+ # model = assisted_service_client.models.mtu_report.MtuReport() # noqa: E501
36
+ pass
37
+
38
+
39
+ if __name__ == '__main__':
40
+ unittest.main()