[release-announce] [openstacksdk] openstacksdk 0.12.0 (rocky)

no-reply at openstack.org no-reply at openstack.org
Tue Mar 6 09:15:35 UTC 2018


We joyfully announce the release of:

openstacksdk 0.12.0: An SDK for building applications to work with
OpenStack

This release is part of the rocky release series.

Download the package from:

    https://pypi.python.org/pypi/openstacksdk

For more details, please see below.

0.12.0
^^^^^^


New Features
************

* "dns_domain" attribute support has been added to the network port
  resource

* All of the methods formerly part of the "shade" library have been
  added to the *openstack.connection.Connection`* object.


Deprecation Notes
*****************

* *openstack.proxy.BaseProxy* has been renamed to
  *openstack.proxy.Proxy*. A "BaseProxy" class remains for easing
  transition.


Bug Fixes
*********

* Fixed an issue where an optimization in the logic to find floating
  ips first when looking for public ip addresses broke finding the
  correct private address.

Changes in openstacksdk 0.11.0..0.12.0
--------------------------------------

1a0ec3e Network: Add tag support for floating ip
15a7405 Network: Add tag support for security group
7b6d71d Network: Add tag support for QoS policy
2eec5ba Updated from global requirements
08e9f6e Fix private_v4 selection related to floating ip matching
d1dc2ee Temporarily disable osc-functional-devstack-tips
5359232 Functional test for set_tags on Neutron resources
ecf07fb Fix coverage running
bdb49fc Shift tag resource definition to TagMixin
4f47eb5 Add support for dns-domain
dbc3971 Fix clustering force delete return error
e8d4c45 Update clustering module's _proxy comment message.
9c68fbe Updated from global requirements
1b43673 Update all test base classes to use base.TestCase
18a1784 Update base test case to use base from oslotest
821af87 Use get_session_client in Connection
ebe5fde Calculate name in CloudRegion
a61b5d2 Generate proxy methods from resource objects
a99d6f1 Rename BaseProxy to Proxy
80716c1 Shift config exceptions to openstack.exceptions
2de4187 Collect tox and testr output in functional tests
7cdb723 Fix functional test about port
8cf99a2 modify typos of word password
803c92c Add shade jobs to openstacksdk zuul config
eacd6ba fix misspelling of 'volume'
8b7c5d7 Gate on osc-functional-tips
f7bd3d8 Fix issue with missing url parameters
188c9ea Use keystone NoAuth plugin for auth_type none
767147c Add get_client_config method to CloudRegion
37edda3 Fix TypeError for overrided get methods
6f38b4e Add server-side names to query param checking
a523ac7 Let enforcer.py work under both py2 and py3
958a35a Remove openstack_cloud factory function
0a6083b Merge Connection and OpenStackCloud
63de3b2 resource: don't early terminate list
a23f742 Implement list projects for user
8483e1b Add OpenStackCloud object to Connection
aff2b6a Ensure Connection can be made from keyword arguments
ff5b6bc Add a descriptor object for each service proxy
7c5266d orchestration: fix typo in doc
a5c9aa2 Rename unit test cluster to clustering
163f502 Provide compatibility for people passing raw sessions
b31ca63 Update reno for stable/queens


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |   5 +
HACKING.rst                                        |  18 +-
README.rst                                         |  17 +-
SHADE-MERGE-TODO.rst                               |  22 +-
examples/cloud/cleanup-servers.py                  |   2 +-
examples/cloud/create-server-dict.py               |   2 +-
examples/cloud/create-server-name-or-id.py         |   2 +-
examples/cloud/debug-logging.py                    |   2 +-
examples/cloud/find-an-image.py                    |   2 +-
examples/cloud/http-debug-logging.py               |   2 +-
examples/cloud/munch-dict-object.py                |   2 +-
examples/cloud/normalization.py                    |   2 +-
examples/cloud/server-information.py               |   2 +-
examples/cloud/service-conditional-overrides.py    |   2 +-
examples/cloud/service-conditionals.py             |   2 +-
examples/cloud/strict-mode.py                      |   2 +-
examples/cloud/upload-large-object.py              |   2 +-
examples/cloud/upload-object.py                    |   2 +-
examples/cloud/user-agent.py                       |   2 +-
openstack/__init__.py                              |  39 +-
openstack/_meta/__init__.py                        |   0
openstack/_meta/_proxy_templates.py                | 150 ++++++
openstack/_meta/connection.py                      | 126 +++++
openstack/_meta/proxy.py                           | 124 +++++
openstack/baremetal/v1/_proxy.py                   |   2 +-
openstack/block_storage/v2/_proxy.py               |   2 +-
openstack/cloud/__init__.py                        |  12 -
openstack/cloud/_normalize.py                      |   6 +-
openstack/cloud/inventory.py                       |  25 +-
openstack/cloud/meta.py                            |  12 +-
openstack/cloud/openstackcloud.py                  | 377 ++++++--------
openstack/clustering/v1/_proxy.py                  |  19 +-
openstack/clustering/v1/cluster.py                 |   2 +-
openstack/clustering/v1/node.py                    |   2 +-
openstack/compute/v2/_proxy.py                     | 141 +----
openstack/compute/v2/flavor.py                     |   2 +
openstack/compute/v2/server.py                     |   2 +
openstack/config/__init__.py                       |  18 +-
openstack/config/cloud_region.py                   | 134 +++--
openstack/config/exceptions.py                     |  25 -
openstack/config/loader.py                         |  71 +--
openstack/connection.py                            | 243 ++++++---
openstack/database/v1/_proxy.py                    |   2 +-
openstack/exceptions.py                            |   4 +
openstack/identity/v2/_proxy.py                    |   2 +-
openstack/identity/v3/_proxy.py                    |  18 +-
openstack/identity/v3/project.py                   |  14 +
openstack/identity/v3/user.py                      |   2 +-
openstack/image/v1/_proxy.py                       |   2 +-
openstack/image/v2/_proxy.py                       |   2 +-
openstack/key_manager/v1/_proxy.py                 |   2 +-
openstack/key_manager/v1/secret.py                 |   2 +-
openstack/load_balancer/v2/_proxy.py               |   2 +-
openstack/message/v2/_proxy.py                     |   2 +-
openstack/message/v2/claim.py                      |   2 +-
openstack/message/v2/message.py                    |   2 +-
openstack/message/v2/queue.py                      |   2 +-
openstack/message/v2/subscription.py               |   2 +-
openstack/network/v2/_proxy.py                     |   2 +-
openstack/network/v2/floating_ip.py                |   6 +-
openstack/network/v2/network.py                    |   6 +-
openstack/network/v2/network_ip_availability.py    |   2 +-
openstack/network/v2/port.py                       |   5 +-
openstack/network/v2/qos_policy.py                 |  11 +-
openstack/network/v2/router.py                     |   3 -
openstack/network/v2/security_group.py             |   4 +-
openstack/network/v2/subnet.py                     |   3 -
openstack/network/v2/subnet_pool.py                |   3 -
openstack/network/v2/tag.py                        |   5 +
openstack/object_store/v1/_proxy.py                |   2 +-
openstack/orchestration/v1/_proxy.py               |   4 +-
openstack/orchestration/v1/stack.py                |   5 +-
openstack/profile.py                               |   6 +-
openstack/proxy.py                                 |  17 +-
openstack/resource.py                              |  78 ++-
openstack/service_description.py                   | 129 ++---
openstack/service_filter.py                        |  10 +
.../functional/network/v2/test_floating_ip.py      |  12 +
.../functional/network/v2/test_security_group.py   |  12 +
.../functional/network/v2/test_subnet_pool.py      |  12 +
.../functional/orchestration/v1/test_stack.py      |   9 +-
.../block_storage/test_block_storage_service.py    |   4 +-
.../unit/cloud/test_create_volume_snapshot.py      |   2 +-
.../unit/cloud/test_delete_volume_snapshot.py      |   2 +-
.../unit/cloud/test_qos_bandwidth_limit_rule.py    |   2 +-
.../unit/cloud/test_qos_minimum_bandwidth_rule.py  |   2 +-
.../unit/cloud/test_server_delete_metadata.py      |   2 +-
.../unit/clustering/v1/test_cluster_policy.py      |  61 +++
.../unit/compute/v2/test_availability_zone.py      |   4 +-
.../unit/compute/v2/test_volume_attachment.py      |   4 +-
.../v3/test_role_domain_group_assignment.py        |   4 +-
.../v3/test_role_domain_user_assignment.py         |   4 +-
.../v3/test_role_project_group_assignment.py       |   4 +-
.../v3/test_role_project_user_assignment.py        |   4 +-
.../key_manager/test_key_management_service.py     |   4 +-
.../unit/load_balancer/test_health_monitor.py      |   4 +-
.../load_balancer/test_load_balancer_service.py    |   4 +-
.../network/v2/test_auto_allocated_topology.py     |   4 +-
.../unit/network/v2/test_availability_zone.py      |   4 +-
.../unit/network/v2/test_metering_label_rule.py    |   4 +-
.../network/v2/test_network_ip_availability.py     |   4 +-
.../network/v2/test_qos_bandwidth_limit_rule.py    |   4 +-
.../unit/network/v2/test_qos_dscp_marking_rule.py  |   4 +-
.../network/v2/test_qos_minimum_bandwidth_rule.py  |   4 +-
.../unit/network/v2/test_security_group_rule.py    |   4 +-
.../unit/object_store/test_object_store_service.py |   4 +-
.../orchestration/test_orchestration_service.py    |   4 +-
.../unit/orchestration/v1/test_software_config.py  |   4 +-
.../orchestration/v1/test_software_deployment.py   |   4 +-
.../orchestration/v1/test_stack_environment.py     |   4 +-
.../unit/orchestration/v1/test_stack_files.py      |   4 +-
.../unit/orchestration/v1/test_stack_template.py   |   4 +-
openstack/workflow/v2/_proxy.py                    |   2 +-
playbooks/devstack/post.yaml                       |   4 +
...s-domain-support-for-port-3fa4568330dda07e.yaml |   5 +
...ating-ip-private-matching-84e369eee380a185.yaml |   6 +
.../notes/rename-base-proxy-b9fcb22d373864a2.yaml  |   5 +
.../shade-into-connection-81191fb3d0ddaf6e.yaml    |   5 +
releasenotes/source/index.rst                      |   1 +
releasenotes/source/queens.rst                     |   6 +
requirements.txt                                   |   8 +-
tox.ini                                            |  11 +-
367 files changed, 4499 insertions(+), 3480 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index f131da0..7a4f9fe 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
-PyYAML>=3.10 # MIT
+PyYAML>=3.12 # MIT
@@ -10,2 +10,2 @@ six>=1.10.0 # MIT
-os-service-types>=1.1.0 # Apache-2.0
-keystoneauth1>=3.3.0 # Apache-2.0
+os-service-types>=1.2.0 # Apache-2.0
+keystoneauth1>=3.4.0 # Apache-2.0
@@ -17 +17 @@ jmespath>=0.9.0 # MIT
-ipaddress>=1.0.16;python_version<'3.3' # PSF
+ipaddress>=1.0.17;python_version<'3.3' # PSF






More information about the Release-announce mailing list