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

@@ -157,7 +157,7 @@ class EventsApi(object):
157
157
  ['application/json']) # noqa: E501
158
158
 
159
159
  # Authentication setting
160
- auth_settings = ['urlAuth', 'userAuth'] # noqa: E501
160
+ auth_settings = ['urlAuth', 'userAuth', 'watcherAuth'] # noqa: E501
161
161
 
162
162
  return self.api_client.call_api(
163
163
  '/v2/events', 'GET',
@@ -1160,7 +1160,7 @@ class InstallerApi(object):
1160
1160
  ['application/json']) # noqa: E501
1161
1161
 
1162
1162
  # Authentication setting
1163
- auth_settings = ['userAuth'] # noqa: E501
1163
+ auth_settings = ['userAuth', 'watcherAuth'] # noqa: E501
1164
1164
 
1165
1165
  return self.api_client.call_api(
1166
1166
  '/v2/infra-envs', 'GET',
@@ -2848,7 +2848,7 @@ class InstallerApi(object):
2848
2848
  ['application/json']) # noqa: E501
2849
2849
 
2850
2850
  # Authentication setting
2851
- auth_settings = ['agentAuth', 'userAuth'] # noqa: E501
2851
+ auth_settings = ['agentAuth', 'userAuth', 'watcherAuth'] # noqa: E501
2852
2852
 
2853
2853
  return self.api_client.call_api(
2854
2854
  '/v2/clusters/{cluster_id}', 'GET',
@@ -4406,7 +4406,7 @@ class InstallerApi(object):
4406
4406
  ['application/json']) # noqa: E501
4407
4407
 
4408
4408
  # Authentication setting
4409
- auth_settings = ['userAuth'] # noqa: E501
4409
+ auth_settings = ['userAuth', 'watcherAuth'] # noqa: E501
4410
4410
 
4411
4411
  return self.api_client.call_api(
4412
4412
  '/v2/clusters', 'GET',
@@ -264,6 +264,13 @@ class Configuration(object):
264
264
  'key': 'Authorization',
265
265
  'value': self.get_api_key_with_prefix('Authorization')
266
266
  },
267
+ 'watcherAuth':
268
+ {
269
+ 'type': 'api_key',
270
+ 'in': 'header',
271
+ 'key': 'Watcher-Authorization',
272
+ 'value': self.get_api_key_with_prefix('Watcher-Authorization')
273
+ },
267
274
 
268
275
  }
269
276
 
@@ -60,7 +60,8 @@ class ClusterCreateParams(object):
60
60
  'cpu_architecture': 'str',
61
61
  'disk_encryption': 'DiskEncryption',
62
62
  'ignition_endpoint': 'IgnitionEndpoint',
63
- 'tags': 'str'
63
+ 'tags': 'str',
64
+ 'control_plane_count': 'int'
64
65
  }
65
66
 
66
67
  attribute_map = {
@@ -93,10 +94,11 @@ class ClusterCreateParams(object):
93
94
  'cpu_architecture': 'cpu_architecture',
94
95
  'disk_encryption': 'disk_encryption',
95
96
  'ignition_endpoint': 'ignition_endpoint',
96
- 'tags': 'tags'
97
+ 'tags': 'tags',
98
+ 'control_plane_count': 'control_plane_count'
97
99
  }
98
100
 
99
- def __init__(self, name=None, high_availability_mode='Full', openshift_version=None, ocp_release_image=None, base_dns_domain=None, cluster_network_cidr='10.128.0.0/14', cluster_network_host_prefix=None, service_network_cidr='172.30.0.0/16', api_vips=None, ingress_vips=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=False, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=False, additional_ntp_source=None, olm_operators=None, hyperthreading='all', network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, platform=None, cpu_architecture='x86_64', disk_encryption=None, ignition_endpoint=None, tags=None): # noqa: E501
101
+ def __init__(self, name=None, high_availability_mode='Full', openshift_version=None, ocp_release_image=None, base_dns_domain=None, cluster_network_cidr='10.128.0.0/14', cluster_network_host_prefix=None, service_network_cidr='172.30.0.0/16', api_vips=None, ingress_vips=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=False, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=False, additional_ntp_source=None, olm_operators=None, hyperthreading='all', network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, platform=None, cpu_architecture='x86_64', disk_encryption=None, ignition_endpoint=None, tags=None, control_plane_count=None): # noqa: E501
100
102
  """ClusterCreateParams - a model defined in Swagger""" # noqa: E501
101
103
 
102
104
  self._name = None
@@ -129,6 +131,7 @@ class ClusterCreateParams(object):
129
131
  self._disk_encryption = None
130
132
  self._ignition_endpoint = None
131
133
  self._tags = None
134
+ self._control_plane_count = None
132
135
  self.discriminator = None
133
136
 
134
137
  self.name = name
@@ -188,6 +191,8 @@ class ClusterCreateParams(object):
188
191
  self.ignition_endpoint = ignition_endpoint
189
192
  if tags is not None:
190
193
  self.tags = tags
194
+ if control_plane_count is not None:
195
+ self.control_plane_count = control_plane_count
191
196
 
192
197
  @property
193
198
  def name(self):
@@ -915,6 +920,29 @@ class ClusterCreateParams(object):
915
920
 
916
921
  self._tags = tags
917
922
 
923
+ @property
924
+ def control_plane_count(self):
925
+ """Gets the control_plane_count of this ClusterCreateParams. # noqa: E501
926
+
927
+ The amount of control planes which should be part of the cluster. # noqa: E501
928
+
929
+ :return: The control_plane_count of this ClusterCreateParams. # noqa: E501
930
+ :rtype: int
931
+ """
932
+ return self._control_plane_count
933
+
934
+ @control_plane_count.setter
935
+ def control_plane_count(self, control_plane_count):
936
+ """Sets the control_plane_count of this ClusterCreateParams.
937
+
938
+ The amount of control planes which should be part of the cluster. # noqa: E501
939
+
940
+ :param control_plane_count: The control_plane_count of this ClusterCreateParams. # noqa: E501
941
+ :type: int
942
+ """
943
+
944
+ self._control_plane_count = control_plane_count
945
+
918
946
  def to_dict(self):
919
947
  """Returns the model properties as a dict"""
920
948
  result = {}
@@ -58,7 +58,8 @@ class V2ClusterUpdateParams(object):
58
58
  'machine_networks': 'list[MachineNetwork]',
59
59
  'disk_encryption': 'DiskEncryption',
60
60
  'ignition_endpoint': 'IgnitionEndpoint',
61
- 'tags': 'str'
61
+ 'tags': 'str',
62
+ 'control_plane_count': 'int'
62
63
  }
63
64
 
64
65
  attribute_map = {
@@ -89,10 +90,11 @@ class V2ClusterUpdateParams(object):
89
90
  'machine_networks': 'machine_networks',
90
91
  'disk_encryption': 'disk_encryption',
91
92
  'ignition_endpoint': 'ignition_endpoint',
92
- 'tags': 'tags'
93
+ 'tags': 'tags',
94
+ 'control_plane_count': 'control_plane_count'
93
95
  }
94
96
 
95
- def __init__(self, name=None, base_dns_domain=None, cluster_network_cidr=None, platform=None, cluster_network_host_prefix=None, service_network_cidr=None, api_vips=None, ingress_vips=None, api_vip_dns_name=None, machine_network_cidr=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=None, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=None, additional_ntp_source=None, olm_operators=None, hyperthreading=None, network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, disk_encryption=None, ignition_endpoint=None, tags=None): # noqa: E501
97
+ def __init__(self, name=None, base_dns_domain=None, cluster_network_cidr=None, platform=None, cluster_network_host_prefix=None, service_network_cidr=None, api_vips=None, ingress_vips=None, api_vip_dns_name=None, machine_network_cidr=None, pull_secret=None, ssh_public_key=None, vip_dhcp_allocation=None, http_proxy=None, https_proxy=None, no_proxy=None, user_managed_networking=None, additional_ntp_source=None, olm_operators=None, hyperthreading=None, network_type=None, schedulable_masters=False, cluster_networks=None, service_networks=None, machine_networks=None, disk_encryption=None, ignition_endpoint=None, tags=None, control_plane_count=None): # noqa: E501
96
98
  """V2ClusterUpdateParams - a model defined in Swagger""" # noqa: E501
97
99
 
98
100
  self._name = None
@@ -123,6 +125,7 @@ class V2ClusterUpdateParams(object):
123
125
  self._disk_encryption = None
124
126
  self._ignition_endpoint = None
125
127
  self._tags = None
128
+ self._control_plane_count = None
126
129
  self.discriminator = None
127
130
 
128
131
  if name is not None:
@@ -181,6 +184,8 @@ class V2ClusterUpdateParams(object):
181
184
  self.ignition_endpoint = ignition_endpoint
182
185
  if tags is not None:
183
186
  self.tags = tags
187
+ if control_plane_count is not None:
188
+ self.control_plane_count = control_plane_count
184
189
 
185
190
  @property
186
191
  def name(self):
@@ -844,6 +849,29 @@ class V2ClusterUpdateParams(object):
844
849
 
845
850
  self._tags = tags
846
851
 
852
+ @property
853
+ def control_plane_count(self):
854
+ """Gets the control_plane_count of this V2ClusterUpdateParams. # noqa: E501
855
+
856
+ The amount of control planes which should be part of the cluster. # noqa: E501
857
+
858
+ :return: The control_plane_count of this V2ClusterUpdateParams. # noqa: E501
859
+ :rtype: int
860
+ """
861
+ return self._control_plane_count
862
+
863
+ @control_plane_count.setter
864
+ def control_plane_count(self, control_plane_count):
865
+ """Sets the control_plane_count of this V2ClusterUpdateParams.
866
+
867
+ The amount of control planes which should be part of the cluster. # noqa: E501
868
+
869
+ :param control_plane_count: The control_plane_count of this V2ClusterUpdateParams. # noqa: E501
870
+ :type: int
871
+ """
872
+
873
+ self._control_plane_count = control_plane_count
874
+
847
875
  def to_dict(self):
848
876
  """Returns the model properties as a dict"""
849
877
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: assisted-service-client
3
- Version: 2.36.0.post2
3
+ Version: 2.36.0.post7
4
4
  Summary: AssistedInstall
5
5
  Home-page: https://github.com/openshift/assisted-service
6
6
  Author: RedHat
@@ -86,6 +86,11 @@ configuration = assisted_service_client.Configuration()
86
86
  configuration.api_key['Authorization'] = 'YOUR_API_KEY'
87
87
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
88
88
  # configuration.api_key_prefix['Authorization'] = 'Bearer'
89
+ # Configure API key authorization: watcherAuth
90
+ configuration = assisted_service_client.Configuration()
91
+ configuration.api_key['Watcher-Authorization'] = 'YOUR_API_KEY'
92
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
93
+ # configuration.api_key_prefix['Watcher-Authorization'] = 'Bearer'
89
94
 
90
95
  # create an instance of the API class
91
96
  api_instance = assisted_service_client.EventsApi(assisted_service_client.ApiClient(configuration))
@@ -414,6 +419,12 @@ Class | Method | HTTP request | Description
414
419
  - **API key parameter name**: Authorization
415
420
  - **Location**: HTTP header
416
421
 
422
+ ## watcherAuth
423
+
424
+ - **Type**: API key
425
+ - **API key parameter name**: Watcher-Authorization
426
+ - **Location**: HTTP header
427
+
417
428
 
418
429
  ## Author
419
430
 
@@ -1,10 +1,10 @@
1
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
- assisted_service_client/configuration.py,sha256=cnW5aIc2HR6HqBv7LXhMfoJTdfPhBed_97UxKDzE8Ro,9078
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
- assisted_service_client/api/events_api.py,sha256=iqXCFQh-6V0kDnXI6w07uoy6ujuleAj57JphTACwcuY,11483
7
- assisted_service_client/api/installer_api.py,sha256=O4W5uLz2xoHnr4WdkUVvz2SUQkjNFsQDvXauEfq2A-Q,299863
6
+ assisted_service_client/api/events_api.py,sha256=ViI7Amn3-o8PcVbAg2iGan0nFrk6oJ0uuXGXA6nMATY,11498
7
+ assisted_service_client/api/installer_api.py,sha256=TzuJkgnIyr4X4Qbh1A0xis1_YaGQmo7Y_G3RapsS4TY,299908
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=d-QpJNPGcrAKlE2zG7K160zWrQ7_Wig4osid_92zSTQ,17473
@@ -18,7 +18,7 @@ assisted_service_client/models/architecture_support_level_id.py,sha256=hlG08k4mp
18
18
  assisted_service_client/models/bind_host_params.py,sha256=R6AntLnkrOE_uVaRECc_gx1QPfUmPsVNI06LoDQJONI,3170
19
19
  assisted_service_client/models/boot.py,sha256=J_7657HQPy3sYGKHAmvAJ_fn6piE-cv3RjasFY5uXi4,4571
20
20
  assisted_service_client/models/cluster.py,sha256=4AUWsJFlTcB3tMqfh_F8km1xkhjedQz53IGffoX_5zQ,74773
21
- assisted_service_client/models/cluster_create_params.py,sha256=QwwNUOj2o6X9QbdEPX6ZNQy-zkuyZ373pRvn2Qw3o20,37556
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
23
23
  assisted_service_client/models/cluster_finalizing_progress.py,sha256=lTBxx_NSDubtAg8aSXbxwWhW2XxPYJZ0ztUmozfEJhA,3325
24
24
  assisted_service_client/models/cluster_host_requirements.py,sha256=WA_ZAdFbM4jnENgyc1Hbwc41g651D8kVOpHFRZkCtoo,5883
@@ -180,7 +180,7 @@ assisted_service_client/models/upgrade_agent_response.py,sha256=OhvFdKCUZvb1awBX
180
180
  assisted_service_client/models/upgrade_agent_result.py,sha256=n0QImJ9nWvRC88hrBb5GLpGwq4h_YaGA-Rh6J7uxEeI,2481
181
181
  assisted_service_client/models/upgrade_channel.py,sha256=1zGictvdXO0SRJZfRamBovlh6MneEnQz0eIDI6BPK7E,4560
182
182
  assisted_service_client/models/usage.py,sha256=wP7af-XSqp3kWq8eiMumEz4vZnoy9FKko_IoITk8oac,4321
183
- assisted_service_client/models/v2_cluster_update_params.py,sha256=EsbVWKAQ2akyZk68KGDMvIHAN8X2EK9ZuFvLf3H-1j0,34777
183
+ assisted_service_client/models/v2_cluster_update_params.py,sha256=76Xjj5jNUYrG8VWsny0gkWcSh05LgW7YcRBvAmstJSw,35866
184
184
  assisted_service_client/models/verified_vip.py,sha256=XbwwmYkF4nFHeyWU0dhDzLUizU65OBkG_h-J1LUXw_Q,4348
185
185
  assisted_service_client/models/verify_vip.py,sha256=ocOvQ8-jVV1xTH57rO4BXVDFVqRkTQnIrz5D-TGAXmg,3555
186
186
  assisted_service_client/models/verify_vips_request.py,sha256=cK1qzbhYcmD9BTZuQgv84wsbCZKozTySr6Acf8hI9LY,2388
@@ -375,7 +375,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
375
375
  test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
376
376
  test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
377
377
  test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
378
- assisted_service_client-2.36.0.post2.dist-info/METADATA,sha256=tD955ZBTysAoEcSX1ZSiUKgmD6Bf6PB5AJk7ZRBKGN8,25666
379
- assisted_service_client-2.36.0.post2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
380
- assisted_service_client-2.36.0.post2.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
381
- assisted_service_client-2.36.0.post2.dist-info/RECORD,,
378
+ assisted_service_client-2.36.0.post7.dist-info/METADATA,sha256=J3w0mbc_HE07BAzAN0JBKcTItoc-1V1OuFYz83nvtio,26088
379
+ assisted_service_client-2.36.0.post7.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
380
+ assisted_service_client-2.36.0.post7.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
381
+ assisted_service_client-2.36.0.post7.dist-info/RECORD,,