We are psyched to announce the release of: openstacksdk 4.7.0 This release is part of the flamingo 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://bugs.launchpad.net/openstacksdk/+bugs For more details, please see below. 4.7.0 ^^^^^ New Features * A new parameter, "max_items", is added to the "Resource.list" method. This allows users to specify the maximum number of resources that should be returned to the user, as opposed to the maximum number of items that should be requested from the server in a single request. The latter is already handled by the "limit" parameter * The "create_image" method now takes new parameters ("import_method", "uri", "remote_region", "remote_image_id" and "remote_service_interface") to support all import methods from Glance. * Adds operation which retrieves tasks associated to a particular image. * Adds support for inspection rules; an API feature to create a resource containing conditions that evaluate against inspection data and actions that run on a node when conditions are met during inspection. Changes in openstacksdk 4.6.0..4.7.0 ------------------------------------ 53e19fe0a Add id to query_mapping for Networking 2d8ff6603 Add SDK support for ``glance image-tasks`` 61323654e tests: Use binary mode to open files 1649ed0cd Replace CLA with DCO d8ae2e182 tests: Cleanup volume attachment tests e4e979158 tests: Streamline services functional test c0913ce33 tests: Streamline servers functional test 3a78cecb4 tests: Streamline (compute) images test 135d3db34 tests: Streamline hypervisor test f2788fd0c tests: Streamline flavor test b14c73d35 Remove commented out sections b2ada579c create_image: support other import methods d649aada8 resource: add max_items parameter to resource cb04f4a70 Fix hostname attribute withing request body c2465fee2 Increase swap allocation for devstack-networking 4b0b78e19 Allow filtering of volumes by properties 3a774c1c5 Fix Volume.set_image_metadata 82bc00507 Remove loop variable 65a97e1a7 Fix create_volume_snapshot() description. 83fc95d25 Remove duplicate Python version declarations 2eb367c6e Migrate setup configuration to pyproject.toml da4961cab zuul: Make openstacksdk-functional-devstack-masakari voting 198cb9e02 zuul: Make openstacksdk-functional-devstack-ironic voting 07f52229b Clean small nit comment 4f9946ffe Bump python version from 3.9 to 3.13 in testing docs ad9896c12 Add support for inspection rules 4b74d73ae Add backup export command 6b6d5b293 docs: Fix typo 5a909ee17 typing: Annotate openstack.config.openstackcloud 7c1e42b41 config: Handle interface list in CloudRegion.get_all_version_data 36a7ccb6f typing: Annotate openstack.config.cloud_config 550c15c83 typing: Annotate openstack.config.loader 5a2b3bd81 typing: Annotate openstack.config.vendors 9afc09407 typing: Annotate openstack.config.cloud_region de9129e76 Update .git-blame-ignore-revs b82a434d3 Follow-up: Add support for runbooks Diffstat (except docs and test files) ------------------------------------- .git-blame-ignore-revs | 4 + .pre-commit-config.yaml | 3 +- CONTRIBUTING.rst | 16 +- .../resources/baremetal/v1/inspection_rules.rst | 13 + .../user/resources/baremetal/v1/runbooks.rst | 13 + .../user/resources/block_storage/v2/transfer.rst | 6 +- openstack/baremetal/v1/_proxy.py | 206 ++++++++++ openstack/baremetal/v1/inspection_rules.py | 57 +++ openstack/block_storage/v2/_proxy.py | 12 + openstack/block_storage/v2/backup.py | 11 + openstack/block_storage/v2/volume.py | 2 +- openstack/block_storage/v3/_proxy.py | 12 + openstack/block_storage/v3/backup.py | 11 + openstack/block_storage/v3/volume.py | 3 +- openstack/cloud/_block_storage.py | 17 +- openstack/cloud/openstackcloud.py | 93 +++-- openstack/compute/v2/server.py | 5 + openstack/config/__init__.py | 10 +- openstack/config/_util.py | 20 +- openstack/config/cloud_config.py | 76 +++- openstack/config/cloud_region.py | 420 +++++++++++++-------- openstack/config/defaults.py | 17 +- openstack/config/loader.py | 216 ++++++++--- openstack/config/vendors/__init__.py | 9 +- openstack/connection.py | 2 +- openstack/dns/v2/_base.py | 1 + openstack/image/v2/_proxy.py | 87 ++++- openstack/image/v2/image_tasks.py | 57 +++ openstack/network/v2/floating_ip.py | 1 + openstack/network/v2/network.py | 1 + openstack/network/v2/qos_policy.py | 1 + openstack/network/v2/router.py | 1 + openstack/network/v2/subnet.py | 1 + openstack/proxy.py | 1 + openstack/resource.py | 21 +- .../functional/baremetal/test_baremetal_chassis.py | 28 +- .../baremetal/test_baremetal_conductor.py | 4 +- .../baremetal/test_baremetal_deploy_templates.py | 59 +-- .../functional/baremetal/test_baremetal_driver.py | 10 +- .../baremetal/test_baremetal_inspection_rules.py | 207 ++++++++++ .../functional/baremetal/test_baremetal_node.py | 14 +- .../baremetal/test_baremetal_runbooks.py | 210 +++++++++++ .../compute/v2/test_volume_attachment.py | 78 ++-- .../unit/baremetal/v1/test_inspection_rules.py | 90 +++++ pyproject.toml | 47 ++- .../add_max_item_parameter-3ab3c2e1cd2312c5.yaml | 8 + ...upport-all-import-methods-48e4e382b7091dd3.yaml | 6 + .../notes/get-image-tasks-c66a05c2c67976db.yaml | 5 + .../notes/inspection-rules-86b1c59def73f757.yaml | 6 + requirements.txt | 2 +- setup.cfg | 28 -- tools/nova_version.py | 2 + zuul.d/functional-jobs.yaml | 4 +- zuul.d/project.yaml | 9 +- 81 files changed, 2513 insertions(+), 735 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index b2a10c619..5a531f3f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ keystoneauth1>=5.10.0 # Apache-2.0 -os-service-types>=1.7.0 # Apache-2.0 +os-service-types>=1.8.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org