Skip to content

Commit

Permalink
Merge pull request #228 from oracle/release_2020-03-03
Browse files Browse the repository at this point in the history
Releasing version 2.10.7
  • Loading branch information
bhagwatvyas authored Mar 3, 2020
2 parents 99e121a + fe9cb8f commit e7672e3
Show file tree
Hide file tree
Showing 48 changed files with 2,071 additions and 123 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ Change Log
All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
====================
2.10.7 - 2020-03-03
====================

Added
-----
* Support for updating the shape of a Database System in the Database service
* Support for generating CPE configurations for download in the Networking service
* Support for private IPs and fault domains of cluster nodes in the Container Engine for Kubernetes service
* Support for calling Oracle Cloud Infrastructure services in the ca-montreal-1 region
* Fixed missed parameter when invoking request signing for delegation token

====================
2.10.6 - 2020-02-25
====================
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include CHANGELOG.rst
include LICENSE.txt
include THIRD_PARTY_LICENSES.txt
include README.rst
7 changes: 7 additions & 0 deletions docs/api/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ Core Services
oci.core.models.CopyBootVolumeBackupDetails
oci.core.models.CopyVolumeBackupDetails
oci.core.models.Cpe
oci.core.models.CpeDeviceConfigAnswer
oci.core.models.CpeDeviceConfigQuestion
oci.core.models.CpeDeviceInfo
oci.core.models.CpeDeviceShapeDetail
oci.core.models.CpeDeviceShapeSummary
oci.core.models.CreateAppCatalogSubscriptionDetails
oci.core.models.CreateBootVolumeBackupDetails
oci.core.models.CreateBootVolumeDetails
Expand Down Expand Up @@ -241,6 +246,7 @@ Core Services
oci.core.models.Subnet
oci.core.models.TcpOptions
oci.core.models.TunnelConfig
oci.core.models.TunnelCpeDeviceConfig
oci.core.models.TunnelStatus
oci.core.models.UdpOptions
oci.core.models.UpdateBootVolumeBackupDetails
Expand Down Expand Up @@ -279,6 +285,7 @@ Core Services
oci.core.models.UpdateSecurityRuleDetails
oci.core.models.UpdateServiceGatewayDetails
oci.core.models.UpdateSubnetDetails
oci.core.models.UpdateTunnelCpeDeviceConfigDetails
oci.core.models.UpdateVcnDetails
oci.core.models.UpdateVirtualCircuitDetails
oci.core.models.UpdateVnicDetails
Expand Down
11 changes: 11 additions & 0 deletions docs/api/core/models/oci.core.models.CpeDeviceConfigAnswer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CpeDeviceConfigAnswer
=====================

.. currentmodule:: oci.core.models

.. autoclass:: CpeDeviceConfigAnswer
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/core/models/oci.core.models.CpeDeviceConfigQuestion.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CpeDeviceConfigQuestion
=======================

.. currentmodule:: oci.core.models

.. autoclass:: CpeDeviceConfigQuestion
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/core/models/oci.core.models.CpeDeviceInfo.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CpeDeviceInfo
=============

.. currentmodule:: oci.core.models

.. autoclass:: CpeDeviceInfo
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/core/models/oci.core.models.CpeDeviceShapeDetail.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CpeDeviceShapeDetail
====================

.. currentmodule:: oci.core.models

.. autoclass:: CpeDeviceShapeDetail
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/core/models/oci.core.models.CpeDeviceShapeSummary.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CpeDeviceShapeSummary
=====================

.. currentmodule:: oci.core.models

.. autoclass:: CpeDeviceShapeSummary
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/core/models/oci.core.models.TunnelCpeDeviceConfig.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TunnelCpeDeviceConfig
=====================

.. currentmodule:: oci.core.models

.. autoclass:: TunnelCpeDeviceConfig
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
UpdateTunnelCpeDeviceConfigDetails
==================================

.. currentmodule:: oci.core.models

.. autoclass:: UpdateTunnelCpeDeviceConfigDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ exclude =
max-line-length = 99

[metadata]
license-file = LICENSE.txt
license-files = LICENSE.txt THIRD_PARTY_LICENSES.txt
62 changes: 62 additions & 0 deletions src/oci/container_engine/models/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ def __init__(self, **kwargs):
The value to assign to the node_pool_id property of this Node.
:type node_pool_id: str
:param fault_domain:
The value to assign to the fault_domain property of this Node.
:type fault_domain: str
:param private_ip:
The value to assign to the private_ip property of this Node.
:type private_ip: str
:param public_ip:
The value to assign to the public_ip property of this Node.
:type public_ip: str
Expand All @@ -90,6 +98,8 @@ def __init__(self, **kwargs):
'availability_domain': 'str',
'subnet_id': 'str',
'node_pool_id': 'str',
'fault_domain': 'str',
'private_ip': 'str',
'public_ip': 'str',
'node_error': 'NodeError',
'lifecycle_state': 'str',
Expand All @@ -102,6 +112,8 @@ def __init__(self, **kwargs):
'availability_domain': 'availabilityDomain',
'subnet_id': 'subnetId',
'node_pool_id': 'nodePoolId',
'fault_domain': 'faultDomain',
'private_ip': 'privateIp',
'public_ip': 'publicIp',
'node_error': 'nodeError',
'lifecycle_state': 'lifecycleState',
Expand All @@ -113,6 +125,8 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._subnet_id = None
self._node_pool_id = None
self._fault_domain = None
self._private_ip = None
self._public_ip = None
self._node_error = None
self._lifecycle_state = None
Expand Down Expand Up @@ -238,6 +252,54 @@ def node_pool_id(self, node_pool_id):
"""
self._node_pool_id = node_pool_id

@property
def fault_domain(self):
"""
Gets the fault_domain of this Node.
The fault domain of this node.
:return: The fault_domain of this Node.
:rtype: str
"""
return self._fault_domain

@fault_domain.setter
def fault_domain(self, fault_domain):
"""
Sets the fault_domain of this Node.
The fault domain of this node.
:param fault_domain: The fault_domain of this Node.
:type: str
"""
self._fault_domain = fault_domain

@property
def private_ip(self):
"""
Gets the private_ip of this Node.
The private IP address of this node.
:return: The private_ip of this Node.
:rtype: str
"""
return self._private_ip

@private_ip.setter
def private_ip(self, private_ip):
"""
Sets the private_ip of this Node.
The private IP address of this node.
:param private_ip: The private_ip of this Node.
:type: str
"""
self._private_ip = private_ip

@property
def public_ip(self):
"""
Expand Down
16 changes: 10 additions & 6 deletions src/oci/core/compute_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2590,8 +2590,8 @@ def get_volume_attachment(self, volume_attachment_id, **kwargs):
def get_windows_instance_initial_credentials(self, instance_id, **kwargs):
"""
GetWindowsInstanceInitialCredentials
Gets the generated credentials for the instance. Only works for instances that require password to log in (E.g. Windows).
For certain OS'es, users will be forced to change the initial credentials.
Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows.
For certain operating systems, users will be forced to change the initial credentials.
:param str instance_id: (required)
Expand Down Expand Up @@ -2661,13 +2661,17 @@ def instance_action(self, instance_id, action, **kwargs):
- **STOP** - Powers off the instance.
- **SOFTRESET** - Gracefully reboots instance by sending a shutdown command to the operating system and then powers the instance back on.
- **RESET** - Powers off the instance and then powers it back on.
- **SOFTSTOP** - Gracefully shuts down instance by sending a shutdown command to the operating system.
- **SOFTSTOP** - Gracefully shuts down the instance by sending a shutdown command to the operating system.
If the applications that run on the instance take a long time to shut down, they could be improperly stopped, resulting
in data corruption. To avoid this, shut down the instance using the commands available in the OS before you softstop the
instance.
- **RESET** - Powers off the instance and then powers it back on.
- **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system, and
then powers the instance back on.
For more information see `Stopping and Starting an Instance`__.
For more information, see `Stopping and Starting an Instance`__.
__ https://docs.cloud.oracle.com/Content/Compute/Tasks/restartinginstance.htm
Expand Down
14 changes: 14 additions & 0 deletions src/oci/core/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
from .copy_boot_volume_backup_details import CopyBootVolumeBackupDetails
from .copy_volume_backup_details import CopyVolumeBackupDetails
from .cpe import Cpe
from .cpe_device_config_answer import CpeDeviceConfigAnswer
from .cpe_device_config_question import CpeDeviceConfigQuestion
from .cpe_device_info import CpeDeviceInfo
from .cpe_device_shape_detail import CpeDeviceShapeDetail
from .cpe_device_shape_summary import CpeDeviceShapeSummary
from .create_app_catalog_subscription_details import CreateAppCatalogSubscriptionDetails
from .create_boot_volume_backup_details import CreateBootVolumeBackupDetails
from .create_boot_volume_details import CreateBootVolumeDetails
Expand Down Expand Up @@ -220,6 +225,7 @@
from .subnet import Subnet
from .tcp_options import TcpOptions
from .tunnel_config import TunnelConfig
from .tunnel_cpe_device_config import TunnelCpeDeviceConfig
from .tunnel_status import TunnelStatus
from .udp_options import UdpOptions
from .update_boot_volume_backup_details import UpdateBootVolumeBackupDetails
Expand Down Expand Up @@ -258,6 +264,7 @@
from .update_security_rule_details import UpdateSecurityRuleDetails
from .update_service_gateway_details import UpdateServiceGatewayDetails
from .update_subnet_details import UpdateSubnetDetails
from .update_tunnel_cpe_device_config_details import UpdateTunnelCpeDeviceConfigDetails
from .update_vcn_details import UpdateVcnDetails
from .update_virtual_circuit_details import UpdateVirtualCircuitDetails
from .update_vnic_details import UpdateVnicDetails
Expand Down Expand Up @@ -362,6 +369,11 @@
"CopyBootVolumeBackupDetails": CopyBootVolumeBackupDetails,
"CopyVolumeBackupDetails": CopyVolumeBackupDetails,
"Cpe": Cpe,
"CpeDeviceConfigAnswer": CpeDeviceConfigAnswer,
"CpeDeviceConfigQuestion": CpeDeviceConfigQuestion,
"CpeDeviceInfo": CpeDeviceInfo,
"CpeDeviceShapeDetail": CpeDeviceShapeDetail,
"CpeDeviceShapeSummary": CpeDeviceShapeSummary,
"CreateAppCatalogSubscriptionDetails": CreateAppCatalogSubscriptionDetails,
"CreateBootVolumeBackupDetails": CreateBootVolumeBackupDetails,
"CreateBootVolumeDetails": CreateBootVolumeDetails,
Expand Down Expand Up @@ -510,6 +522,7 @@
"Subnet": Subnet,
"TcpOptions": TcpOptions,
"TunnelConfig": TunnelConfig,
"TunnelCpeDeviceConfig": TunnelCpeDeviceConfig,
"TunnelStatus": TunnelStatus,
"UdpOptions": UdpOptions,
"UpdateBootVolumeBackupDetails": UpdateBootVolumeBackupDetails,
Expand Down Expand Up @@ -548,6 +561,7 @@
"UpdateSecurityRuleDetails": UpdateSecurityRuleDetails,
"UpdateServiceGatewayDetails": UpdateServiceGatewayDetails,
"UpdateSubnetDetails": UpdateSubnetDetails,
"UpdateTunnelCpeDeviceConfigDetails": UpdateTunnelCpeDeviceConfigDetails,
"UpdateVcnDetails": UpdateVcnDetails,
"UpdateVirtualCircuitDetails": UpdateVirtualCircuitDetails,
"UpdateVnicDetails": UpdateVnicDetails,
Expand Down
Loading

0 comments on commit e7672e3

Please sign in to comment.