We are happy to announce the release of: openstacksdk 1.1.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.1.0 ^^^^^ New Features ************ * Add support for glance Cache API. * Add support for glance Cache API. * Added support to create, update, list, get, and delete share networks on the shared file system service. * Added support to list and get share snapshot instances on the shared file system service. * Added support to list, get, reset status of, and force delete share instances (from shared file system service). * Added support for shrink/extend share actions. * Added support to list and show Export Locations for shares from the Shared File Systems service. * The "openstack.compute.v2.server.Server" object now provides a "restore" method to restore it from a soft-deleted state, while the compute proxy method provides an equivalent "restore_server" method. * Add BGPVPN, BGPVPN Network Association, BGPVPN Port Association, and BGPVPN Router Association resources and introduce support for CRUD operations for these. * Add SDK support for Nova microversion 2.91. This microversion allows specifying a destination host to unshelve a shelve offloaded server. And availability zone can be set to None to unpin the availability zone of a server. Upgrade Notes ************* * Warnings about deprecated behavior or deprecated/modified APIs are now raised using the "warnings" module, rather than the "logging" module. This allows users to filter these warnings or silence them entirely if necessary. Bug Fixes ********* * It is now possible to configure "v3multifactor" auth type using environment variables. For example: export OS_AUTH_TYPE=v3multifactor export OS_AUTH_METHODS=v3password,v3totp export OS_USERNAME=admin export OS_PASSWORD=password export OS_PASSCODE=12345 openstack server list Changes in openstacksdk 1.0.1..1.1.0 ------------------------------------ c3e77fc6 Add resize/extend share actions. ecde4028 Add export location resource to shared file system ac194f98 Microversion 2.91: Support specifying destination host to unshelve a9614648 Adds Support for ``glance cache-clear`` 5b3ad879 Removing region Lon1. Updating block_storage_api_version. Adding image_format. 1921a195 compute: Add Server.restore, restore_server proxy method 53226205 ssh key change 6b0206a5 Add Cleura acceptance tests 7bbef2f0 Change python3 jobs template to latest version a2f3b54f Drop legacy job that is always failing b0d98dbb Rework zuul config 50711b46 Prepare acceptance tests for real clouds 1ca0f0c3 Add share instances to shared file systems 54b25722 Use custom warnings, not logging.warning 27e66984 Adding support for glance cache-queue Command dff6625f config: Load additional options for v3multifactor 76724972 config: Split 'OS_AUTH_METHODS' 61422fd8 add a new vendor profile for the Swiss Open Telekom Cloud 79e8c83d Add share snapshot instance resource b06c27b9 Adds SDK support for ``glance cache-delete`` 1b241d74 Add BGPVPN to SDK 43ab59d8 Implement acceptance test job 9f073752 Fix Accept header for deleting Octavia load balancers c2b8612a Add share network resource to shared file system 7c7092e7 Update master for stable/2023.1 74f8869f Remove "feature/r1" override from manila job 8086da0d Include "security_groups" to "Port" query parameters c0e8027e Add support for glance cache 8588a4c7 Remove usage of deprecated `sre_constants` module 4ce2e960 fix docstrings refering to volume attachments instead of server migrations 163b6944 Revert "Revert "Add "security_group_ids" to Port's query parameters"" 4ad5c174 cloud: create_server: fix scheduler_hints/group 400fbfbe support None as expected status in wait_for_status Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 1 + .../network/v2/bgpvpn_network_association.rst | 13 + .../network/v2/bgpvpn_port_association.rst | 13 + .../network/v2/bgpvpn_router_association.rst | 13 + .../user/resources/shared_file_system/index.rst | 5 +- .../shared_file_system/v2/share_instance.rst | 13 + .../shared_file_system/v2/share_network.rst | 13 + .../v2/share_snapshot_instance.rst | 13 + examples/shared_file_system/share_instances.py | 41 +++ examples/shared_file_system/shares.py | 33 ++ openstack/cloud/_compute.py | 10 +- openstack/cloud/_utils.py | 3 +- openstack/compute/v2/_proxy.py | 18 +- openstack/compute/v2/server.py | 39 +- openstack/config/loader.py | 26 +- openstack/config/vendors/citycloud.json | 6 +- openstack/config/vendors/otc-swiss.json | 15 + openstack/image/v2/_proxy.py | 34 ++ openstack/image/v2/cache.py | 66 ++++ openstack/load_balancer/v2/load_balancer.py | 6 - openstack/network/v2/_proxy.py | 393 +++++++++++++++++++++ openstack/network/v2/bgpvpn.py | 54 +++ openstack/network/v2/bgpvpn_network_association.py | 40 +++ openstack/network/v2/bgpvpn_port_association.py | 49 +++ openstack/network/v2/bgpvpn_router_association.py | 44 +++ openstack/network/v2/port.py | 3 +- openstack/resource.py | 41 ++- openstack/shared_file_system/v2/_proxy.py | 229 ++++++++++++ openstack/shared_file_system/v2/share.py | 54 ++- .../v2/share_export_locations.py | 44 +++ openstack/shared_file_system/v2/share_instance.py | 83 +++++ openstack/shared_file_system/v2/share_network.py | 48 +++ .../v2/share_snapshot_instance.py | 47 +++ .../shared_file_system/test_export_locations.py | 42 +++ .../functional/shared_file_system/test_share.py | 90 +++++ .../shared_file_system/test_share_instance.py | 68 ++++ .../shared_file_system/test_share_network.py | 61 ++++ .../test_share_snapshot_instance.py | 37 ++ .../v2/test_share_export_locations.py | 44 +++ .../shared_file_system/v2/test_share_instance.py | 111 ++++++ .../shared_file_system/v2/test_share_network.py | 65 ++++ .../v2/test_share_snapshot_instance.py | 50 +++ openstack/warnings.py | 31 ++ playbooks/acceptance/post.yaml | 42 +++ playbooks/acceptance/pre.yaml | 69 ++++ playbooks/acceptance/run-with-devstack.yaml | 19 + .../add-image-cache-support-3f8c13550a84d749.yaml | 4 + .../add-image-cache-support-78477e1686c52e56.yaml | 4 + ...re-network-to-shared-file-c5c9a6b8ccf1d958.yaml | 5 + ...t-instance-to-shared-file-4d935f12d67bf59d.yaml | 5 + ...file-syste-share_instance-fffaea2d3a77ba24.yaml | 6 + ...-file-system-share-resize-ddd650c2e32fed34.yaml | 4 + ...e-systems-export-location-a27c1741880c384b.yaml | 5 + .../compute-restore-server-020bf091acc9f8df.yaml | 6 + ...s_auth_type-v3multifactor-049cf52573d9e00e.yaml | 12 + ...work_add_bgpvpn_resources-b3bd0b568c3c99db.yaml | 7 + .../notes/switch-to-warnings-333955d19afc99ca.yaml | 7 + ...unshelve-to-specific-host-84666d440dce4a73.yaml | 7 + releasenotes/source/2023.1.rst | 6 + releasenotes/source/index.rst | 1 + roles/deploy-clouds-config/README.rst | 0 roles/deploy-clouds-config/defaults/main.yaml | 1 + roles/deploy-clouds-config/tasks/main.yaml | 11 + .../deploy-clouds-config/templates/clouds.yaml.j2 | 2 + zuul.d/acceptance-jobs.yaml | 156 ++++++++ .zuul.yaml => zuul.d/functional-jobs.yaml | 109 +----- zuul.d/metal-jobs.yaml | 32 ++ zuul.d/project.yaml | 46 +++ 91 files changed, 3709 insertions(+), 171 deletions(-)