We joyfully announce the release of: openstacksdk 4.4.0 This release is part of the epoxy 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.4.0 ^^^^^ New Features ************ * Add "vlan_qinq" attribute to the "network" resource. Users can use this attribute to create network which will allow to configure VLANs transparently in the guest VM and will use ethertype "0x8a88 (802.1ad)". Bug Fixes ********* * Fix the "delete_keypair", "get_keypair" and "find_keypair" methods not including the optional "user_id" parameter in API queries. [bug 2095312 (https://bugs.launchpad.net/openstacksdk/+bug/2095312)] Changes in openstacksdk 4.3.0..4.4.0 ------------------------------------ 6438e3b65 typing: Remove duplicate TypeVar e9f60bbf7 typing: Don't abuse Proxy._update 82789523a typing: Add missing proxy arguments 4697775f8 identity: Extract info from created registered limit 51806366c cloud: Switch remaining identity functions to proxy 412412026 cloud: Replace use of cloud methods in identity cloud layer e4a09ed8a cloud: Switch remaining block storage functions to proxy 37bb57f4d cloud: Switch remaining image functions to proxy f546d61cf Fix baremetal get_node_console 4d30f3fc2 network: Set If-Match header properly b3e195199 typing: Adapt to typed keystoneauth c5a2e3d4f volume: Remove _base_proxy module 8d26eeaeb typing: Annotate openstack.utils 56e0692f5 typing: Annotate openstack.exceptions c3aaec563 typing: Don't rely on kwargs for _translate_response 9629d81a9 typing: Annotate openstack.fields (2/2) 5ef01accc typing: Annotate openstack.fields (1/2) 6c764f1bc typing: Annotate openstack.format 1d82105ae fields: Be more explicit in our conversion bf1b56e23 fields: Tweak _convert_type a11df932f resource: Rework fields 639500830 proxy: Add 'wait_for_*' helpers to all proxy APIs 561e8cb8c typing: Annotate Resource.wait_for_* utils 5c0ca60b7 mypy: Enable disallow_incomplete_defs a8b8016f1 mypy: Enable stricter mode 7bd67a1c0 mypy: Add keystoneauth1 as dependency 137ec3fc6 mypy: Move configuration to pyproject.toml ff88f4d80 cloud: Remove object container cache ec1d510ea pre-commit: Bump versions 4beac2a23 pre-commit: Prepare for bump d8a69406d Correct docstrings for multiple find_* methods 2e85eca80 cloud floating ip: fix add_ip_list() for single ip bf8629336 Add "vlan_qinq" attribute to the "network" resource da17a2762 Fix TestKeypairAdmin tests and compute.*_keypair 597c53fc0 dns: Add zone nameservers support 6c52edae9 identity: Add support for endpoint/project associations Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 5 +- examples/image/import.py | 3 +- openstack/__init__.py | 2 +- openstack/_log.py | 4 +- openstack/accelerator/v2/_proxy.py | 74 +++ openstack/baremetal/v1/_common.py | 3 +- openstack/baremetal/v1/_proxy.py | 309 +++++++----- openstack/baremetal/v1/driver.py | 11 +- openstack/baremetal/v1/node.py | 12 +- openstack/baremetal_introspection/v1/_proxy.py | 70 +++ openstack/block_storage/_base_proxy.py | 59 --- openstack/block_storage/v2/_proxy.py | 199 +++++--- openstack/block_storage/v2/backup.py | 3 +- openstack/block_storage/v2/volume.py | 3 +- openstack/block_storage/v3/_proxy.py | 145 ++++-- openstack/block_storage/v3/backup.py | 3 +- openstack/block_storage/v3/group.py | 2 +- openstack/block_storage/v3/service.py | 2 +- openstack/block_storage/v3/transfer.py | 2 +- openstack/block_storage/v3/volume.py | 3 +- openstack/cloud/_baremetal.py | 9 +- openstack/cloud/_block_storage.py | 76 ++- openstack/cloud/_identity.py | 190 ++++++-- openstack/cloud/_image.py | 23 +- openstack/cloud/_network.py | 22 +- openstack/cloud/_network_common.py | 2 +- openstack/cloud/_object_store.py | 21 +- openstack/cloud/openstackcloud.py | 7 +- openstack/clustering/v1/_proxy.py | 108 +++-- openstack/common/metadata.py | 2 +- openstack/common/quota_set.py | 2 +- openstack/common/tag.py | 2 +- openstack/compute/v2/_proxy.py | 96 +++- openstack/compute/v2/aggregate.py | 2 +- openstack/compute/v2/server.py | 14 +- openstack/config/cloud_region.py | 3 +- openstack/config/loader.py | 20 +- openstack/config/vendors/__init__.py | 3 +- openstack/connection.py | 2 +- .../v1/_proxy.py | 81 +++- openstack/database/v1/_proxy.py | 66 +++ openstack/dns/v2/_base.py | 4 +- openstack/dns/v2/_proxy.py | 83 ++++ openstack/dns/v2/zone_nameserver.py | 37 ++ openstack/exceptions.py | 54 ++- openstack/fields.py | 324 +++++++++++++ openstack/format.py | 12 +- openstack/identity/v2/_proxy.py | 66 +++ openstack/identity/v3/_proxy.py | 97 +++- openstack/identity/v3/project.py | 33 ++ openstack/identity/v3/registered_limit.py | 69 ++- openstack/image/_download.py | 3 +- openstack/image/v1/_proxy.py | 65 +++ openstack/image/v2/_proxy.py | 64 ++- openstack/image/v2/image.py | 2 +- openstack/image/v2/metadef_property.py | 15 +- openstack/instance_ha/v1/_proxy.py | 65 +++ openstack/key_manager/v1/_format.py | 4 +- openstack/key_manager/v1/_proxy.py | 66 +++ openstack/load_balancer/v2/_proxy.py | 92 +++- openstack/load_balancer/v2/amphora.py | 48 ++ openstack/load_balancer/v2/load_balancer.py | 24 + openstack/message/v2/_proxy.py | 65 +++ openstack/network/v2/_base.py | 9 +- openstack/network/v2/_proxy.py | 116 ++++- openstack/network/v2/network.py | 2 + openstack/network/v2/router.py | 4 +- openstack/object_store/v1/_base.py | 6 +- openstack/object_store/v1/_proxy.py | 72 ++- openstack/object_store/v1/info.py | 5 +- openstack/orchestration/util/template_utils.py | 9 +- openstack/orchestration/v1/_proxy.py | 185 ++++---- openstack/orchestration/v1/stack_environment.py | 4 +- openstack/orchestration/v1/stack_files.py | 4 +- openstack/placement/v1/_proxy.py | 65 +++ .../placement/v1/resource_provider_inventory.py | 5 +- openstack/placement/v1/trait.py | 5 +- openstack/proxy.py | 122 ++--- openstack/resource.py | 527 +++++++++------------ openstack/service_description.py | 5 +- openstack/shared_file_system/v2/_proxy.py | 122 ++--- .../v2/share_export_locations.py | 2 +- openstack/test/fakes.py | 23 +- .../baremetal/test_baremetal_allocation.py | 2 +- .../functional/baremetal/test_baremetal_node.py | 2 +- .../cloud/test_qos_bandwidth_limit_rule.py | 2 +- .../functional/cloud/test_qos_dscp_marking_rule.py | 2 +- .../cloud/test_qos_minimum_bandwidth_rule.py | 2 +- .../shared_file_system/test_share_metadata.py | 3 +- .../unit/cloud/test_delete_volume_snapshot.py | 16 +- openstack/utils.py | 324 +++++++------ openstack/workflow/v2/_proxy.py | 66 +++ pyproject.toml | 50 ++ ...-vlan_qinq-to-the-network-72d69e4f8856d48f.yaml | 6 + ...ypair-user-id-bug-2095312-a01dc5b9b26dbe93.yaml | 6 + requirements.txt | 1 + setup.cfg | 20 - 138 files changed, 4593 insertions(+), 1795 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1637cc40e..a57c83ed3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,0 +14 @@ requestsexceptions>=1.2.0 # Apache-2.0 +typing-extensions>=4.12.0 # PSF
participants (1)
-
no-reply@openstack.org