python-openstackclient 8.1.0 (flamingo)
We are excited to announce the release of: python-openstackclient 8.1.0 This release is part of the flamingo release series. The source is available from: https://opendev.org/openstack/python-openstackclient Download the package from: https://pypi.org/project/python-openstackclient Please report issues through: https://bugs.launchpad.net/python-openstackclient/+bugs For more details, please see below. 8.1.0 ^^^^^ New Features ************ * Add filters to search for enabled and disabled users and projects. * Add support for the new "spice-direct" console type, as well as the exposing the ability for admins to lookup console connection information via the new "console connection show" command. * The "--network", "--port", and "--router" options of the "floating ip list" command can now be specified multiple times. Upgrade Notes ************* * The "openstack server set" command has been extended with a new parameter "--auto-approve" and the existing "--state" parameter has been modified to require confirmation before resetting the state. * Support for Python 3.9 has been dropped. * The following commands have been migrated to SDK: * "domain create" * "domain delete" * "domain list" * "domain set" * "domain show" * Migrate "group" commands from keystoneclient to SDK. Changes in python-openstackclient 8.0.0..8.1.0 ---------------------------------------------- 3909e933 evacuate: respect original SHUTOFF state in --wait completion 9bcb1c5c Fix missing 'options' field in 'user show' command a2be1b01 Identity: Migrate 'group' commands to SDK 444a1df7 tests: Simplify mocking in image tests 01c1b1e3 network: Allow multiple FIP filter opts 082aca89 volume: Migrate 'volume delete' to SDK 125133d0 volume: Temporarily ignore new volume columns 03aa172f volume: Split v2, v3 create, delete commands 267a29d5 volume: Migrate 'snapshot show', 'snapshot list' to SDK 3c6fa426 volume: Migrate 'snapshot set', 'snapshot unset' to SDK e0020aec volume: Migrate 'snapshot create' to SDK fc42f12e volume: Migrate 'snapshot delete' to SDK e1ff450e volume: Add v3-specific volume snapshot module a9b99849 tests: Use SDK mocks for SDK-based commands 8eb1a183 volume: Migrate 'backup set', 'backup unset' to SDK b933330d volume: Migrate 'service *' to SDK 1ee3ef33 volume: Add v3-specific volume service module 00f4cf9c volume: Migrate 'block storage log level *' to SDK a74850d2 Add a column to all_projects tag of server list cmd eea369e7 Fix incorrect warning with --password-prompt option 32762bcd compute: Fix key used for NIC fixed IP field e26b4479 identity: Add missing user argument 94d17b87 identity: Fix listing of applications credentials by user 7c7c0660 Bump Python version used for linters to 3.10 ce2a253d Drop support for Python 3.9 5d730f37 Add support for spice-direct console types. 6cb5d8cd Update README 22eecc54 Add labels to Dockerfile f4e97d97 Update the docker image to python3.12 e4d621d2 zuul: Remove osc-upload-image, osc-promote-image jobs 7d640031 tests: Stop returning FakeResource in compute tests abed52f1 tests: Remove sdk prefix 2c878ad2 tests: Remove dead code b0fe724c tests: Remove use of legacy resource helpers 25cd1178 Require confirmation to reset server state. d123be08 Fix 'openstack keypair list --project <project>' 11495e65 Don't warn about unsupported version with SDK-based commands c66abfc7 Workaround for failing tests on openstacksdk change c6862240 Add support for showing scheduler_hints in server details d96c81ff Refactor network fakes to sdk properties PART6 f870548c Refactor network fakes to sdk properties PART 5 80eaa33f volume: Make better use of argparse 181bb194 image: Migrate 'create image' volume calls to SDK 34831172 Add filters to search for enabled/disabled users and projects 4bdd51cb identity: Migrate 'domain' commands to SDK Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 2 +- .zuul.yaml | 68 +- Dockerfile | 11 +- README.rst | 198 +++-- .../cli/command-objects/console-connection.rst | 10 + openstackclient/compute/client.py | 5 + openstackclient/compute/v2/console.py | 7 + openstackclient/compute/v2/console_connection.py | 48 ++ openstackclient/compute/v2/keypair.py | 13 +- openstackclient/compute/v2/server.py | 85 +- openstackclient/compute/v2/server_event.py | 2 +- openstackclient/identity/common.py | 79 ++ .../identity/v3/application_credential.py | 4 +- openstackclient/identity/v3/domain.py | 105 ++- openstackclient/identity/v3/group.py | 181 +++-- openstackclient/identity/v3/project.py | 17 + openstackclient/identity/v3/user.py | 43 +- openstackclient/image/client.py | 5 + openstackclient/image/v2/image.py | 22 +- openstackclient/network/client.py | 6 - openstackclient/network/v2/floating_ip.py | 87 +- openstackclient/network/v2/network_qos_rule.py | 14 +- openstackclient/network/v2/router.py | 2 +- openstackclient/network/v2/security_group.py | 9 +- openstackclient/network/v2/security_group_rule.py | 2 +- openstackclient/shell.py | 2 +- .../unit/compute/v2/test_console_connection.py | 72 ++ .../identity/v3/test_application_credential.py | 72 +- .../unit/network/v2/test_floating_ip_network.py | 32 +- .../unit/network/v2/test_l3_conntrack_helper.py | 4 +- .../unit/network/v2/test_network_qos_policy.py | 35 +- .../unit/network/v2/test_network_qos_rule_type.py | 10 +- .../unit/network/v2/test_security_group_network.py | 52 +- .../network/v2/test_security_group_rule_compute.py | 4 +- .../network/v2/test_security_group_rule_network.py | 72 +- .../unit/volume/v3/test_block_storage_log_level.py | 132 ++- openstackclient/volume/v2/service.py | 79 +- openstackclient/volume/v2/volume.py | 100 ++- openstackclient/volume/v2/volume_backup.py | 12 +- openstackclient/volume/v2/volume_snapshot.py | 205 +++-- .../volume/v3/block_storage_log_level.py | 50 +- openstackclient/volume/v3/service.py | 119 ++- openstackclient/volume/v3/volume.py | 239 +++++- openstackclient/volume/v3/volume_backup.py | 43 +- openstackclient/volume/v3/volume_snapshot.py | 495 +++++++++++- pyproject.toml | 3 +- ...r-project-enabled-filters-9f2090cdcc97b667.yaml | 4 + ...lidate-console-auth-token-1eda2bd62060ccfa.yaml | 6 + .../confirm-reset-state-24497c8b24990aa7.yaml | 6 + .../notes/drop-python-39-fc95c2d17a862e3e.yaml | 4 + .../notes/fip-filter-opts-a847f8743fef467f.yaml | 5 + .../migrate-domain-to-sdk-da6ec38221e79a37.yaml | 10 + .../migrate-group-to-sdk-59beef31a7c40bbb.yaml | 4 + requirements.txt | 2 +- setup.cfg | 18 +- 90 files changed, 5569 insertions(+), 3573 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index c31de42a..5e9b33d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10 +10 @@ iso8601>=0.1.11 # MIT -openstacksdk>=3.3.0 # Apache-2.0 +openstacksdk>=4.5.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org