We are jazzed to announce the release of: openstacksdk 0.51.0: An SDK for building applications to work with OpenStack This release is part of the wallaby release series. The source is available from: https://opendev.org/openstack/openstacksdk Download the package from: https://pypi.org/project/openstacksdk Please report issues through: https://storyboard.openstack.org/#!/project/openstack/openstacksdk For more details, please see below. 0.51.0 ^^^^^^ New Features ************ * Add additional compute flavor operations (flavor_add_tenant_access, flavor_remove_tenant_access, get_flavor_access, extra_specs fetching/updating). * Adds ALPN protocols support for the Octavia (load_balancer) listeners. * Modify microversion handling. Microversion chosen by the client/user is respected in the microversion negotiation. For features, requiring particular microversion, it would be ensured it is supported by the server side and required microversion is <= chosen microversion, otherwise call will be rejected. * Add "source_ip_prefix" and "destination_ip_prefix" to Neutron metering label rules. * Optimizes compute server console creation by adding older get_server_console method to the server and create_console proxy method calling appropriate method depending on the supported microversion. * Support waiting for bare metal power states. Deprecation Notes ***************** * Deprecate the use of 'remote_ip_prefix' in metering label rules, and it will be removed in future releases. One should use instead the 'source_ip_prefix' and/or 'destination_ip_prefix' parameters. For more details, you can check the spec: https://review.opendev.org/#/c/744702/. Changes in openstacksdk 0.49.0..0.51.0 -------------------------------------- 256e25e3 Migrate ironic job to focal abccf3a6 Disable dstat on ironic job 5c31eab0 Replace assertItemsEqual with assertCountEqual 97f7095a Support waiting for bare metal power states e8f0943b Respect default microversion in the microversion negotiation 00aea3bc Expand user path when loading SSL-related files ac4bdb4b Add support for updating cinder (v3) volume types c6570d70 Add "description" to cinder volume types. 878a8d94 Add source_ip_prefix and destination_ip_prefix to metering label rules d4022f62 Deprecate 'remote_ip_prefix' parameter in metering label rules 260a5280 Skip address group functional tests if no extension fa62f7d6 Add 'project_id' to Snapshot query parameters 767660b0 Fix hacking min version to 3.0.1 b429193f [Trival]: Add comments in the cloud/accelerator 778f0f94 Add neutron address group CRUD 121b8ce8 add cluster_id to filter by cluster_id when list actions 37d33080 Include "fields" to "Port" query parameters 7dfe1db7 Remove install unnecessary packages 64ca078e Follow-up on 751234 and 750072 05f79d1d Increase IRONIC_VM_SPECS_RAM to avoid KP 1c2a0635 Don't set list_type to dict for server groups. ec8f810f Add some compute console operations 49029b87 Fix l-c testing for ubuntu focal 5805b461 Add additional compute flavor operations b30ff611 Update master for stable/victoria ce9a3cbe Add _max_microversion for aggregates 10017ff6 Repair 2 deprecation warnings 9db62eb6 Squeeze SnapshotDetail class into Snapshot 4b7a1083 Fix a bogus error in config loader when using several args with dashes 5db7d557 Switch nodepool test to containers b7f1911d Add ALPN support to load balancer listener 9ed64cc7 Add func test for compute microversion 2.3 1876eba4 Add tests for compute microversion 2.2 and 2.10 Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 13 +- .../user/resources/network/v2/address_group.rst | 12 ++ lower-constraints.txt | 4 +- openstack/baremetal/v1/_common.py | 9 + openstack/baremetal/v1/_proxy.py | 28 ++- openstack/baremetal/v1/node.py | 70 ++++++- openstack/block_storage/v3/_proxy.py | 25 ++- openstack/block_storage/v3/snapshot.py | 19 +- openstack/block_storage/v3/type.py | 3 + openstack/cloud/_accelerator.py | 2 + openstack/clustering/v1/action.py | 2 +- openstack/compute/v2/_proxy.py | 188 ++++++++++++++++-- openstack/compute/v2/aggregate.py | 4 + openstack/compute/v2/flavor.py | 122 +++++++++++- openstack/compute/v2/keypair.py | 2 + openstack/compute/v2/server.py | 19 +- openstack/compute/v2/server_remote_console.py | 27 +++ openstack/config/cloud_region.py | 6 +- openstack/config/loader.py | 4 +- openstack/load_balancer/v2/listener.py | 5 +- openstack/network/v2/_proxy.py | 113 +++++++++++ openstack/network/v2/address_group.py | 84 ++++++++ openstack/network/v2/metering_label_rule.py | 16 +- openstack/network/v2/port.py | 4 +- openstack/resource.py | 58 +++++- .../functional/baremetal/test_baremetal_node.py | 5 +- .../functional/network/v2/test_address_group.py | 81 ++++++++ .../unit/compute/v2/test_server_remote_console.py | 71 +++++++ .../unit/network/v2/test_metering_label_rule.py | 20 ++ openstack/utils.py | 54 +++++- .../add-compute-flavor-ops-12149e58299c413e.yaml | 5 + ...r-listener-alpn-protocols-ded816c78bf2080c.yaml | 3 + ...efix-metering-label-rules-843d5a962e4e428c.yaml | 7 + .../notes/fix-microversion-354dc70deb2b2f0b.yaml | 8 + ...into-metering-label-rules-e04b797adac5d0d0.yaml | 5 + .../optimize-server-console-1d27c107b9a1cdc3.yaml | 6 + .../notes/power-wait-751083852f958cb4.yaml | 4 + releasenotes/source/index.rst | 1 + releasenotes/source/victoria.rst | 6 + requirements.txt | 4 +- test-requirements.txt | 2 +- tox.ini | 2 - 64 files changed, 1846 insertions(+), 147 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 52e05ec9..78e57b41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -PyYAML>=3.12 # MIT +PyYAML>=3.13 # MIT @@ -19 +19 @@ dogpile.cache>=0.6.5 # BSD -cryptography>=2.1 # BSD/Apache-2.0 +cryptography>=2.7 # BSD/Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 69e9e440..ac8dbede 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4 @@ -hacking>=3.0,<3.1.0 # Apache-2.0 +hacking>=3.0.1,<3.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org