openstacksdk 3.2.0 (dalmatian)
We are jazzed to announce the release of: openstacksdk 3.2.0: An SDK for building applications to work with OpenStack This release is part of the dalmatian 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. 3.2.0 ^^^^^ New Features ************ * Add functionality to list DNS resources for a certain project only, or for all projects, using the new *project_id* and *all_projects* parameters. * Add support for service providers to the identity service. * Add support for deleting all objects inside a namespace. * Added get and update to Quota Class Set to file system as a service. * The "Server.clear_password" and equivalent "clear_server_password" proxy method have been added. * The following new compute proxy methods have been added: * "add_tag_to_server" * "remove_tag_from_server" * "remove_tags_from_server" * Added support for managing volume image metadata. * "openstack.network.v2.bgpvpn.BgpVpn" can now be filtered by its associations to *networks*, *routers* and *ports. Additionally, filtering for the attributes `name*, *project_id*, *local_pref*, *vni* and *type* is now done on server-side. * Add support for "inherited_to" filter for listing identity role assignments in the cloud layer. This allows filtering by whether role grants are inheritable to sub-projects. * Add "Tap Mirror" and introduce the support for creating, reading, updating and deleting "tap_mirrors". Deprecation Notes ***************** * Deprecate "os-inherit-extension-inherited-to" in favor of "inherited_to" filter for listing identity role_assignments in the cloud layer. Changes in openstacksdk 3.1.0..3.2.0 ------------------------------------ d84ef4f9 tests: Rework warnings-related tests 4275dfc5 compute, block storage: Add support for quota class sets 0f311ff3 compute: Add additional server create parameters 0bd02b3a compute: Add support for legacy 'onSharedStorage' param dbf5c975 compute: Add additional options to Server.rebuild 6d98de4f compute: Add server tag proxy methods 67cd6668 compute: Add Server.clear_password action 916f9af6 compute, block storage: Minor fixes to limits 850c99cf [func test] Fix race between attachment delete and server delete 8091075e Remove retired project Senlin job 2b6b32fa baremetal: Decode 'config_drive' argument to 'set_provision_state' 00ed7a5e Identity: Add support for inherited_to for role_assignments 46af31f6 Add support for federation service providers ba975949 docs: Add missing identity v3 proxy API docs 30d5753b reno: Update master for unmaintained/zed fc539d10 pre-commit: Add pyupgrade hook 8b02b045 trivial: Prepare for pyupgrade pre-commit hook 93e2976c tox: Don't install package in pep8 113e4125 Fix AttributeError in delete_limit method a8adbadf cloud: Do not reference other cloud mixin's methods 763e09a4 cloud: Trivial fixes f90fd9a3 cloud: Remove use of OpenStackCloudCreateException 5de45a32 hacking: Add check for deprecated exception types 81d60c78 README: Add guide on raw HTTP layer e67a7b14 pre-commit: Bump versions 761d558e Allow filtering BGPVPNs 4b9a3e91 Extend project cleanup e409254e image: Pass correct stores argument f73335df Add quota class set to shared file system fab08bab Add Binero public cloud to vendor 1610e2da Fix multiple image_id query mappings 7131781a Remove mypy union line which breaks older pythons. 67c1fb82 Adding SDK support for ``glance md-namespace-objects-delete`` 111d72d5 Add Binero public cloud to vendor support 52b86348 volume: Allow passing a volume type object to retype_volume 644087b2 volume: Add ability to set, unset image metadata 52c5d745 volume: Allow setting volume statuses individually be669963 Add Tap Mirrors to SDK 8b84bf0e image: make sure the target for "clear_cache" is valid 16ddc1ca Fixed update_metadef_object e7bdb02f Allow project switching for Designate API 8567c858 Allow tags to be passed through to compute.create_server Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 11 +- README.rst | 113 +++++- .../user/resources/block_storage/v2/limits.rst | 6 +- .../user/resources/block_storage/v3/limits.rst | 8 +- .../user/resources/network/v2/tap_mirror.rst | 12 + .../user/resources/shared_file_system/index.rst | 1 + .../shared_file_system/v2/quota_class_set.rst | 13 + examples/connect.py | 2 +- openstack/{_hacking.py => _hacking/checks.py} | 24 +- openstack/accelerator/v2/accelerator_request.py | 8 +- openstack/accelerator/v2/device_profile.py | 8 +- openstack/baremetal/v1/driver.py | 2 +- openstack/baremetal/v1/node.py | 32 +- .../baremetal_introspection/v1/introspection.py | 2 +- openstack/block_storage/_base_proxy.py | 2 +- openstack/block_storage/v2/_proxy.py | 83 ++++- openstack/block_storage/v2/limits.py | 6 +- openstack/block_storage/v2/quota_class_set.py | 39 ++ openstack/block_storage/v2/volume.py | 37 +- openstack/block_storage/v3/_proxy.py | 94 ++++- openstack/block_storage/v3/limits.py | 14 +- openstack/block_storage/v3/quota_class_set.py | 39 ++ openstack/block_storage/v3/service.py | 2 +- openstack/block_storage/v3/type.py | 2 +- openstack/block_storage/v3/volume.py | 36 +- openstack/cloud/_baremetal.py | 6 +- openstack/cloud/_block_storage.py | 12 +- openstack/cloud/_compute.py | 128 ++++--- openstack/cloud/_dns.py | 4 +- openstack/cloud/_floating_ip.py | 141 ++++--- openstack/cloud/_identity.py | 61 +-- openstack/cloud/_image.py | 9 +- openstack/cloud/_network.py | 27 +- openstack/cloud/_network_common.py | 82 +++-- openstack/cloud/_object_store.py | 5 +- openstack/cloud/_security_group.py | 47 ++- openstack/cloud/_utils.py | 4 +- openstack/cloud/exc.py | 20 +- openstack/cloud/meta.py | 12 +- openstack/cloud/openstackcloud.py | 12 +- openstack/common/quota_set.py | 2 +- openstack/common/tag.py | 3 +- openstack/compute/v2/_proxy.py | 123 ++++++- openstack/compute/v2/flavor.py | 2 +- openstack/compute/v2/keypair.py | 2 +- openstack/compute/v2/limits.py | 35 +- openstack/compute/v2/quota_class_set.py | 61 +++ openstack/compute/v2/quota_set.py | 1 + openstack/compute/v2/server.py | 104 ++++-- openstack/compute/v2/server_remote_console.py | 2 +- openstack/compute/v2/service.py | 4 +- openstack/config/cloud_config.py | 2 +- openstack/config/cloud_region.py | 6 +- openstack/config/defaults.py | 2 +- openstack/config/loader.py | 26 +- openstack/config/vendors/__init__.py | 4 +- openstack/config/vendors/binero.json | 13 + openstack/connection.py | 6 +- openstack/dns/v2/_base.py | 22 +- openstack/dns/v2/_proxy.py | 2 +- openstack/exceptions.py | 14 +- openstack/fixture/connection.py | 2 +- openstack/identity/v3/_proxy.py | 409 +++++++++++++-------- openstack/identity/v3/role_assignment.py | 3 +- openstack/identity/v3/service_provider.py | 48 +++ openstack/image/_download.py | 5 +- openstack/image/v1/_proxy.py | 10 +- openstack/image/v1/image.py | 2 +- openstack/image/v2/_proxy.py | 60 ++- openstack/image/v2/cache.py | 6 +- openstack/image/v2/image.py | 6 +- openstack/image/v2/metadef_namespace.py | 10 + openstack/load_balancer/v2/amphora.py | 10 +- openstack/load_balancer/v2/load_balancer.py | 4 +- openstack/load_balancer/v2/quota.py | 2 +- openstack/message/v2/claim.py | 2 +- openstack/network/v2/_base.py | 2 +- openstack/network/v2/_proxy.py | 106 ++++++ openstack/network/v2/bgpvpn.py | 13 + openstack/network/v2/quota.py | 4 +- openstack/network/v2/security_group_rule.py | 4 +- openstack/network/v2/tap_mirror.py | 54 +++ openstack/object_store/v1/_base.py | 2 +- openstack/object_store/v1/_proxy.py | 17 +- openstack/orchestration/util/event_utils.py | 6 +- openstack/orchestration/util/template_format.py | 4 +- openstack/orchestration/v1/_proxy.py | 2 +- openstack/orchestration/v1/software_config.py | 4 +- openstack/orchestration/v1/software_deployment.py | 8 +- openstack/orchestration/v1/stack.py | 24 +- openstack/proxy.py | 21 +- openstack/resource.py | 44 ++- openstack/shared_file_system/v2/_proxy.py | 37 +- openstack/shared_file_system/v2/quota_class_set.py | 57 +++ openstack/test/fakes.py | 4 +- .../baremetal/test_baremetal_allocation.py | 2 +- .../baremetal/test_baremetal_deploy_templates.py | 2 +- .../functional/baremetal/test_baremetal_node.py | 4 +- .../functional/baremetal/test_baremetal_port.py | 2 +- .../baremetal/test_baremetal_port_group.py | 2 +- .../baremetal/test_baremetal_volume_connector.py | 2 +- .../baremetal/test_baremetal_volume_target.py | 2 +- .../functional/block_storage/v2/test_backup.py | 4 +- .../functional/block_storage/v2/test_snapshot.py | 4 +- .../functional/block_storage/v2/test_stats.py | 2 +- .../functional/block_storage/v2/test_volume.py | 4 +- .../functional/block_storage/v3/test_backup.py | 4 +- .../functional/block_storage/v3/test_snapshot.py | 4 +- .../functional/cloud/test_cluster_templates.py | 2 +- .../functional/cloud/test_floating_ip_pool.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 +- .../compute/v2/test_volume_attachment.py | 14 + .../identity/v3/test_application_credential.py | 2 +- .../load_balancer/v2/test_load_balancer.py | 4 +- .../functional/network/v2/test_address_group.py | 4 +- .../functional/network/v2/test_address_scope.py | 4 +- .../network/v2/test_agent_add_remove_network.py | 2 +- .../network/v2/test_agent_add_remove_router.py | 2 +- .../network/v2/test_auto_allocated_topology.py | 4 +- .../network/v2/test_default_security_group_rule.py | 2 +- .../functional/network/v2/test_firewall_group.py | 4 +- .../functional/network/v2/test_firewall_policy.py | 4 +- .../functional/network/v2/test_firewall_rule.py | 4 +- .../v2/test_firewall_rule_insert_remove_policy.py | 4 +- .../functional/network/v2/test_floating_ip.py | 4 +- .../network/v2/test_l3_conntrack_helper.py | 4 +- .../network/v2/test_local_ip_association.py | 4 +- .../network/v2/test_network_ip_availability.py | 4 +- .../network/v2/test_network_segment_range.py | 4 +- .../functional/network/v2/test_port_forwarding.py | 4 +- .../network/v2/test_qos_bandwidth_limit_rule.py | 4 +- .../network/v2/test_qos_dscp_marking_rule.py | 4 +- .../network/v2/test_qos_minimum_bandwidth_rule.py | 4 +- .../v2/test_qos_minimum_packet_rate_rule.py | 4 +- .../functional/network/v2/test_qos_rule_type.py | 2 +- .../functional/network/v2/test_rbac_policy.py | 4 +- .../network/v2/test_router_add_remove_interface.py | 4 +- .../functional/network/v2/test_security_group.py | 4 +- .../network/v2/test_security_group_rule.py | 4 +- .../functional/network/v2/test_service_profile.py | 4 +- .../network/v2/test_subnet_from_subnet_pool.py | 4 +- .../functional/network/v2/test_subnet_pool.py | 4 +- .../functional/object_store/v1/test_account.py | 4 +- .../functional/object_store/v1/test_container.py | 2 +- .../functional/orchestration/v1/test_stack.py | 4 +- .../shared_file_system/test_quota_class_set.py | 43 +++ .../shared_file_system/test_resource_lock.py | 2 +- .../functional/shared_file_system/test_share.py | 4 +- .../shared_file_system/test_share_access_rule.py | 4 +- .../shared_file_system/test_share_group.py | 2 +- .../test_share_group_snapshot.py | 4 +- .../shared_file_system/test_share_instance.py | 2 +- .../shared_file_system/test_share_network.py | 4 +- .../shared_file_system/test_share_snapshot.py | 4 +- .../test_share_snapshot_instance.py | 2 +- .../unit/accelerator/v2/test_device_profile.py | 4 +- .../unit/baremetal_introspection/v1/test_proxy.py | 10 +- .../unit/cloud/test_coe_clusters_certificate.py | 2 +- .../unit/cloud/test_create_volume_snapshot.py | 2 +- .../unit/cloud/test_delete_volume_snapshot.py | 2 +- .../unit/cloud/test_server_delete_metadata.py | 2 +- .../unit/clustering/v1/test_cluster_policy.py | 2 +- .../unit/compute/v2/test_server_remote_console.py | 2 +- .../unit/identity/v3/test_service_provider.py | 62 ++++ .../unit/orchestration/v1/test_stack_event.py | 2 +- .../unit/orchestration/v1/test_stack_files.py | 8 +- .../shared_file_system/v2/test_quota_class_set.py | 99 +++++ .../shared_file_system/v2/test_share_instance.py | 2 +- openstack/workflow/v2/cron_trigger.py | 4 +- ...-resource-list-by-project-8b5479a045ef7373.yaml | 6 + ...-service-provider-support-8c97cbb157883626.yaml | 4 + ...mespace-object-delete-all-6cea62cb038012df.yaml | 5 + ...et-to-shared-file-systems-43da33e6a3ed65e3.yaml | 4 + ...add-server-clear-password-256e269223453bd7.yaml | 5 + ...-server-tag-proxy-methods-c791a36d8d4d85f6.yaml | 8 + ...me-image-metadata-support-c61bcb918fdff529.yaml | 4 + .../bgpvpn-list-filters-e76183a7008c0631.yaml | 7 + ...nherited-role-assignments-8fe9ac9509d99f4d.yaml | 11 + .../network-add-tap-mirror-46376bd98ee69c81.yaml | 5 + releasenotes/source/conf.py | 1 - releasenotes/source/zed.rst | 2 +- tools/keystone_version.py | 8 +- tools/print-services.py | 10 +- tox.ini | 9 +- zuul.d/functional-jobs.yaml | 28 +- zuul.d/project.yaml | 2 - 405 files changed, 4246 insertions(+), 1830 deletions(-)
participants (1)
-
no-reply@openstack.org