[release-announce] openstacksdk 1.4.0 (bobcat)

no-reply at openstack.org no-reply at openstack.org
Thu Aug 3 12:54:06 UTC 2023


We are jazzed to announce the release of:

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

This release is part of the bobcat 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.

1.4.0
^^^^^

New Features

* Add fake resource generator to ease unit testing in packages that
  depend on openstacksdk.

* Add support for aggregates to the "ResourceProvider" Placement
  resource.

* Added support for the "ResourceProviderInventory" Placement
  resource.

* Add support for the "Trait" Placement resource.

* Added support to create, update, list, get, and delete share
  groups on the shared file system service.

* Added support for list, show, update, delete, reset and create
  Share Group Snapshots for Shared File Systems service.

* Project cleanup now supports skipping specific resources, which
  will be kept as-is. Resource names are based on the resource
  registry names, e. g. "block_storage.volume".

* Added "update_workflow" to the workflow proxy.

Changes in openstacksdk 1.3.1..1.4.0
------------------------------------

bbc378ec Rename share group snapshot 'members' method
cc682b91 docs: Improve docs for Connection with CONF object
c0758f14 Return HTTP response for delete_access_rule.
bdb32979 fakes: Add type hints
b806adc1 Add fake proxy generator
738d5f18 docs: Add documentation for openstack.test.fakes
d63ce704 Remove _min_microversion for consistency
423d8ceb Define version for share_access_rules
3d45785c Define version for export_locations
c9c212c8 wokflow: add update_workflow proxy method
d54f4e30 placement: Add support for traits
ebd4d754 placement: Add support for resource provider aggregates
15207b20 placement: Add support for resource provider inventories
69fea357 tests: Update functional tests for resource providers
4838e5e7 Add share group snapshots to shared file systems.
0017ffb0 Adds share group resource to shared file system
8a5f2b0d Add missing `return` in `upload_volume_to_image`
fd2c41c6 fix flavor.swap attribute type
068cc997 Allow resources to be skipped on project cleanup
d2a166a9 Add fake resources generator
0adf8f56 volume: Add missing attributes to Extension
de6b6bce tests: Enable UserWarning by default
d77ec568 cloud: Reduce duplication
661efb7c cloud: Ignore invalid filters
dc52fd49 cloud: Filter FIPs by valid filters
71c25d26 exceptions: Remove unused exception
a72d46a9 Bump the chunk_size to use CPU more efficiently
7fec4e0b tox: Bump min_version to 4.3.0


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

.../placement/v1/resource_provider_inventory.rst   |  13 ++
.../user/resources/shared_file_system/index.rst    |   2 +
.../shared_file_system/v2/share_group.rst          |  13 ++
.../shared_file_system/v2/share_group_snapshot.rst |  13 ++
examples/image/download.py                         |   4 +-
.../shared_file_system/share_group_snapshots.py    |  66 ++++++
openstack/block_storage/v3/_proxy.py               | 156 +++++++------
openstack/block_storage/v3/extension.py            |   8 +-
openstack/cloud/_floating_ip.py                    |   6 +-
openstack/cloud/_image.py                          |   4 +-
openstack/cloud/_utils.py                          |  23 +-
openstack/cloud/openstackcloud.py                  |   4 +
openstack/compute/v2/_proxy.py                     |   4 +
openstack/compute/v2/flavor.py                     |   2 +-
openstack/connection.py                            |  55 +++--
openstack/dns/v2/_proxy.py                         |  52 +++--
openstack/exceptions.py                            |   4 -
openstack/image/_download.py                       |   4 +-
openstack/image/v1/_proxy.py                       |   4 +-
openstack/image/v2/_proxy.py                       |   4 +-
openstack/network/v2/_proxy.py                     | 250 +++++++++++---------
openstack/object_store/v1/_proxy.py                |   6 +
openstack/orchestration/v1/_proxy.py               |   4 +
openstack/placement/v1/_proxy.py                   | 256 +++++++++++++++++++++
openstack/placement/v1/resource_provider.py        |  53 +++++
.../placement/v1/resource_provider_inventory.py    | 193 ++++++++++++++++
openstack/placement/v1/trait.py                    | 142 ++++++++++++
openstack/proxy.py                                 |  27 ++-
openstack/resource.py                              |  50 ++--
openstack/shared_file_system/v2/_proxy.py          | 231 ++++++++++++++++++-
.../shared_file_system/v2/share_access_rule.py     |  10 +-
.../v2/share_export_locations.py                   |   2 +
openstack/shared_file_system/v2/share_group.py     |  56 +++++
.../shared_file_system/v2/share_group_snapshot.py  |  86 +++++++
openstack/test/__init__.py                         |   0
openstack/test/fakes.py                            | 255 ++++++++++++++++++++
.../functional/block_storage/v3/test_extension.py  |   2 +-
.../placement/v1/test_resource_provider.py         | 111 +++++++--
.../v1/test_resource_provider_inventory.py         | 163 +++++++++++++
.../shared_file_system/test_share_group.py         |  66 ++++++
.../test_share_group_snapshot.py                   | 105 +++++++++
.../v1/test_resource_provider_inventory.py         |  51 ++++
.../unit/shared_file_system/v2/test_share_group.py |  81 +++++++
.../v2/test_share_group_snapshot.py                | 106 +++++++++
openstack/workflow/v2/_proxy.py                    |  15 ++
openstack/workflow/v2/workflow.py                  |  21 +-
.../add-fakes-generator-72c53d34c995fcb2.yaml      |   5 +
...ource-provider-aggregates-1310c0be6a4097d3.yaml |   4 +
...source-provider-inventory-8714cafefae74810.yaml |   4 +
.../add-placement-trait-29957d2c03edbfb9.yaml      |   4 +
...hare_group-to-shared-file-8cee20d8aa2afbb7.yaml |   5 +
...stem-share-group-snapshot-c5099e6c8accf077.yaml |   5 +
...ct-cleanup-exclude-option-65cba962eaa5b61a.yaml |   6 +
.../notes/update_workflow-ecdef6056ef2687b.yaml    |   3 +
tox.ini                                            |   8 +-
80 files changed, 3061 insertions(+), 336 deletions(-)







More information about the Release-announce mailing list