Skip to content

Commit 7e6ccd9

Browse files
authored
Releasing version 2.21.1
Releasing version 2.21.1
2 parents 9555623 + a5dc6ec commit 7e6ccd9

30 files changed

+1063
-140
lines changed

CHANGELOG.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ Change Log
33
All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
6+
====================
7+
2.21.1 - 2020-08-18
8+
====================
9+
10+
Added
11+
-----
12+
* Support for custom boot volume size and other node pool updates in the Container Engine for Kubernetes service
13+
* Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service
14+
* Support for stopping VM instances after scheduled maintenance or hypervisor reboots in the Compute service
15+
* Support for creating and managing private endpoints in the Data Flow service
16+
617
====================
718
2.21.0 - 2020-08-11
819
====================
@@ -85,7 +96,7 @@ Fixed
8596
Breaking
8697
--------
8798
* Parameter `vcn_id` changed from required to optional in methods `list_dhcp_options`, `list_local_peering_gateways`, `list_route_tables`, `list_security_lists`, `list_subnets` and `list_internet_gateways` in the virtual network client. If the VCN ID is not provided, then the list includes information of all VCNs in the specified compartment.
88-
* The operations for upload manager and multipart object assembler are NOT thread-safe, and you should provide the class with its own Object Storage client that isn't used elsewhere.
99+
* For upload manager and multipart object assembler, the timeout for the object storage client is overwritten to `None` for all operations which call object storage. For this reason, the operations are NOT thread-safe, and you should provide the class with its own Object Storage client that isn't used elsewhere.
89100

90101
====================
91102
2.17.2 - 2020-07-07

docs/api/core.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,11 @@ Core Services
205205
oci.core.models.Instance
206206
oci.core.models.InstanceAgentConfig
207207
oci.core.models.InstanceAgentFeatures
208+
oci.core.models.InstanceAvailabilityConfig
208209
oci.core.models.InstanceConfiguration
209210
oci.core.models.InstanceConfigurationAttachVnicDetails
210211
oci.core.models.InstanceConfigurationAttachVolumeDetails
212+
oci.core.models.InstanceConfigurationAvailabilityConfig
211213
oci.core.models.InstanceConfigurationBlockVolumeDetails
212214
oci.core.models.InstanceConfigurationCreateVnicDetails
213215
oci.core.models.InstanceConfigurationCreateVolumeDetails
@@ -241,6 +243,7 @@ Core Services
241243
oci.core.models.InternetGateway
242244
oci.core.models.Ipv6
243245
oci.core.models.LaunchInstanceAgentConfigDetails
246+
oci.core.models.LaunchInstanceAvailabilityConfigDetails
244247
oci.core.models.LaunchInstanceDetails
245248
oci.core.models.LaunchInstanceShapeConfigDetails
246249
oci.core.models.LaunchOptions
@@ -294,6 +297,7 @@ Core Services
294297
oci.core.models.UpdateIPSecTunnelBgpSessionDetails
295298
oci.core.models.UpdateImageDetails
296299
oci.core.models.UpdateInstanceAgentConfigDetails
300+
oci.core.models.UpdateInstanceAvailabilityConfigDetails
297301
oci.core.models.UpdateInstanceConfigurationDetails
298302
oci.core.models.UpdateInstanceDetails
299303
oci.core.models.UpdateInstancePoolDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
InstanceAvailabilityConfig
2+
==========================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: InstanceAvailabilityConfig
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
InstanceConfigurationAvailabilityConfig
2+
=======================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: InstanceConfigurationAvailabilityConfig
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
LaunchInstanceAvailabilityConfigDetails
2+
=======================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: LaunchInstanceAvailabilityConfigDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
UpdateInstanceAvailabilityConfigDetails
2+
=======================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: UpdateInstanceAvailabilityConfigDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/database.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Database
7373
oci.database.models.CreateConsoleConnectionDetails
7474
oci.database.models.CreateDataGuardAssociationDetails
7575
oci.database.models.CreateDataGuardAssociationToExistingDbSystemDetails
76+
oci.database.models.CreateDataGuardAssociationToExistingVmClusterDetails
7677
oci.database.models.CreateDataGuardAssociationWithNewDbSystemDetails
7778
oci.database.models.CreateDatabaseBase
7879
oci.database.models.CreateDatabaseDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CreateDataGuardAssociationToExistingVmClusterDetails
2+
====================================================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: CreateDataGuardAssociationToExistingVmClusterDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

src/oci/container_engine/models/create_node_pool_details.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def kubernetes_version(self, kubernetes_version):
217217
def node_metadata(self):
218218
"""
219219
Gets the node_metadata of this CreateNodePoolDetails.
220-
A list of key/value pairs to add to each underlying OCI instance in the node pool.
220+
A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
221221
222222
223223
:return: The node_metadata of this CreateNodePoolDetails.
@@ -229,7 +229,7 @@ def node_metadata(self):
229229
def node_metadata(self, node_metadata):
230230
"""
231231
Sets the node_metadata of this CreateNodePoolDetails.
232-
A list of key/value pairs to add to each underlying OCI instance in the node pool.
232+
A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
233233
234234
235235
:param node_metadata: The node_metadata of this CreateNodePoolDetails.
@@ -341,7 +341,7 @@ def initial_node_labels(self, initial_node_labels):
341341
def ssh_public_key(self):
342342
"""
343343
Gets the ssh_public_key of this CreateNodePoolDetails.
344-
The SSH public key to add to each node in the node pool.
344+
The SSH public key on each node in the node pool on launch.
345345
346346
347347
:return: The ssh_public_key of this CreateNodePoolDetails.
@@ -353,7 +353,7 @@ def ssh_public_key(self):
353353
def ssh_public_key(self, ssh_public_key):
354354
"""
355355
Sets the ssh_public_key of this CreateNodePoolDetails.
356-
The SSH public key to add to each node in the node pool.
356+
The SSH public key on each node in the node pool on launch.
357357
358358
359359
:param ssh_public_key: The ssh_public_key of this CreateNodePoolDetails.

src/oci/container_engine/models/node_pool.py

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ def __init__(self, **kwargs):
5454
The value to assign to the node_source property of this NodePool.
5555
:type node_source: NodeSourceOption
5656
57+
:param node_source_details:
58+
The value to assign to the node_source_details property of this NodePool.
59+
:type node_source_details: NodeSourceDetails
60+
5761
:param node_shape:
5862
The value to assign to the node_shape property of this NodePool.
5963
:type node_shape: str
@@ -93,6 +97,7 @@ def __init__(self, **kwargs):
9397
'node_image_id': 'str',
9498
'node_image_name': 'str',
9599
'node_source': 'NodeSourceOption',
100+
'node_source_details': 'NodeSourceDetails',
96101
'node_shape': 'str',
97102
'initial_node_labels': 'list[KeyValue]',
98103
'ssh_public_key': 'str',
@@ -112,6 +117,7 @@ def __init__(self, **kwargs):
112117
'node_image_id': 'nodeImageId',
113118
'node_image_name': 'nodeImageName',
114119
'node_source': 'nodeSource',
120+
'node_source_details': 'nodeSourceDetails',
115121
'node_shape': 'nodeShape',
116122
'initial_node_labels': 'initialNodeLabels',
117123
'ssh_public_key': 'sshPublicKey',
@@ -130,6 +136,7 @@ def __init__(self, **kwargs):
130136
self._node_image_id = None
131137
self._node_image_name = None
132138
self._node_source = None
139+
self._node_source_details = None
133140
self._node_shape = None
134141
self._initial_node_labels = None
135142
self._ssh_public_key = None
@@ -262,7 +269,7 @@ def kubernetes_version(self, kubernetes_version):
262269
def node_metadata(self):
263270
"""
264271
Gets the node_metadata of this NodePool.
265-
A list of key/value pairs to add to each underlying OCI instance in the node pool.
272+
A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
266273
267274
268275
:return: The node_metadata of this NodePool.
@@ -274,7 +281,7 @@ def node_metadata(self):
274281
def node_metadata(self, node_metadata):
275282
"""
276283
Sets the node_metadata of this NodePool.
277-
A list of key/value pairs to add to each underlying OCI instance in the node pool.
284+
A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
278285
279286
280287
:param node_metadata: The node_metadata of this NodePool.
@@ -334,7 +341,7 @@ def node_image_name(self, node_image_name):
334341
def node_source(self):
335342
"""
336343
Gets the node_source of this NodePool.
337-
Source running on the nodes in the node pool.
344+
Deprecated. see `nodeSourceDetails`. Source running on the nodes in the node pool.
338345
339346
340347
:return: The node_source of this NodePool.
@@ -346,14 +353,38 @@ def node_source(self):
346353
def node_source(self, node_source):
347354
"""
348355
Sets the node_source of this NodePool.
349-
Source running on the nodes in the node pool.
356+
Deprecated. see `nodeSourceDetails`. Source running on the nodes in the node pool.
350357
351358
352359
:param node_source: The node_source of this NodePool.
353360
:type: NodeSourceOption
354361
"""
355362
self._node_source = node_source
356363

364+
@property
365+
def node_source_details(self):
366+
"""
367+
Gets the node_source_details of this NodePool.
368+
Source running on the nodes in the node pool.
369+
370+
371+
:return: The node_source_details of this NodePool.
372+
:rtype: NodeSourceDetails
373+
"""
374+
return self._node_source_details
375+
376+
@node_source_details.setter
377+
def node_source_details(self, node_source_details):
378+
"""
379+
Sets the node_source_details of this NodePool.
380+
Source running on the nodes in the node pool.
381+
382+
383+
:param node_source_details: The node_source_details of this NodePool.
384+
:type: NodeSourceDetails
385+
"""
386+
self._node_source_details = node_source_details
387+
357388
@property
358389
def node_shape(self):
359390
"""
@@ -406,7 +437,7 @@ def initial_node_labels(self, initial_node_labels):
406437
def ssh_public_key(self):
407438
"""
408439
Gets the ssh_public_key of this NodePool.
409-
The SSH public key on each node in the node pool.
440+
The SSH public key on each node in the node pool on launch.
410441
411442
412443
:return: The ssh_public_key of this NodePool.
@@ -418,7 +449,7 @@ def ssh_public_key(self):
418449
def ssh_public_key(self, ssh_public_key):
419450
"""
420451
Sets the ssh_public_key of this NodePool.
421-
The SSH public key on each node in the node pool.
452+
The SSH public key on each node in the node pool on launch.
422453
423454
424455
:param ssh_public_key: The ssh_public_key of this NodePool.

0 commit comments

Comments
 (0)