We are glad to announce the release of: python-openstackclient 6.4.0: OpenStack Command-line Client This release is part of the caracal 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://storyboard.openstack.org/#!/project/openstack/python- openstackclient For more details, please see below. 6.4.0 ^^^^^ New Features ************ * Add "default security group rule create", "default security group rule delete", "default security group rule list" and "default security group rule show" commands to support Neutron Default Security Group Rule CRUD operations. [Bug 1983053 (https://bugs.launchpad.net/bugs/1983053)] * Add commands for the image Cache API, to list, queue, delete and clear images in the cache. * Add "image metadef object show" command to create the metadata definitions objects inside a specific namespace * Add "image metadef object list" command to list the metadata definitions objects inside a specific namespace * Add "image metadef object show" command to show the metadata definitions objects inside a specific namespace * Add "image metadef property create" command to create a new metadef property inside a specific namespace. * Add "image metadef property delete" command to delete a metadef property inside a specific namespace. * Add "image metadef property list" command to list the metadata definitions properties inside a specific namespace. * Add "image metadef property set" command to update a metadef property inside a specific namespace. * Add "image metadef property show" command to show details about a metadef property inside a specific namespace. * Migrated following volume backends commands to SDK. * Capability Show * Pool List * The "volume type create", "volume type set", "volume type list" commands now accept four new options - "--multiattach", "-- cacheable", "--replicated", and "--availability-zone" - which are short cuts for setting or filtering on the relevant properties on the volume type. * The "volume type list" command now accepts a "--property <key>=<value>" option, allowing users to filter volume types by their extra spec properties. Upgrade Notes ************* * The "--detailed" option of the "block storage volume manageable list" and "block storage snapshot manageable list" commands has been deprecated in favour of a "--long" option. These commands will no longer default to detailed output by default. Bug Fixes ********* * Migrated "block storage resource filters list" and "block storage resource filters show" commands to SDK. Changes in python-openstackclient 6.3.0..6.4.0 ---------------------------------------------- 6d3490ed tests: Handle missing extensions in network tests e44d8017 tests: Check for DHCP agents first in DHCP test 5d1afcee Adds command ``image metadef object delete`` 1678f87d tests: Handle missing extensions in network tests c251cb89 tests: Fix API extension check 20490dcd tests: Centralise check for networking service 4bb6efa8 Adds command ``image metadef object list`` 78ef009a Adds command ``image metadef object show`` c7e3529d Add pagination helpers f8c70890 Adds command ``image metadef object create`` 4673c891 Update the docker image to python3.11 692ee752 Update from storyboard to launchpad pt. 2 60a0e379 volume: Support same_host, different_host hint as list ae10851a Migrate resource filter commands to SDK 6b9f4057 Removed start, end time format. Before fix, openstack usage list command resulted 'str' object has no attribute 'isoformat' error. 2a2a6e17 trivial: Make better use of argparse a3410cd4 volume: Add alias for volume type AZs e0c7cef4 volume: Add aliases for common volume type props 67bec778 volume: Allow filtering volume types by properties 5d1d6b5a Switch back to Launchpad 7b99b571 Add support for default security group rule CRUDs 705ecef7 Add "image metadef property set" command 9094e540 Add "image metadef property delete" command d9c4c43a Add "image metadef property create" command 190f06a9 Add "image metadef property show" command 5fb922e4 Add "image metadef property list" command. 39a084f9 Migrate volume backend commands to SDK c628c2dc image: Add support for cache commands 912a21a8 tests: Add compute v2 FakeClientMixin 187a454e tests: Use consistent shortcut to fake compute client 98fb1678 tests: Add volume v1, v2, v3 FakeClientMixin 4cabf6f7 tests: Use consistent shortcut to fake volume client 02cc0642 tests: Use central SDK client fake 2e09b2bf Update branch regexes for tips jobs 98b94964 Add is_incremental to ListVolumeBackup 2737e063 Update master for stable/2023.2 fb2e0ced tests: Explicitly specify port fields for output 08551106 Remove use of oslo.utils 8735b862 volume: Deprecate '--detailed' options 89e5d67a Fix "server create"command with --boot-from-volume 564e4f76 volume: Migrate 'volume group snapshot' commands to SDK 335bfdc3 Check the default role list before adding a new one 2ae621f0 Add a warning for resizing servers booted from volumes aa227f8d Fix --security-group for port list Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 14 +- CONTRIBUTING.rst | 6 +- Dockerfile | 4 +- README.rst | 4 +- .../default-security-group-rule.rst | 11 + openstackclient/common/pagination.py | 82 ++ openstackclient/compute/v2/flavor.py | 18 +- openstackclient/compute/v2/hypervisor.py | 23 +- openstackclient/compute/v2/keypair.py | 11 +- openstackclient/compute/v2/server.py | 79 +- openstackclient/compute/v2/server_event.py | 49 +- openstackclient/compute/v2/server_group.py | 25 +- openstackclient/compute/v2/server_migration.py | 24 +- openstackclient/compute/v2/usage.py | 10 +- openstackclient/image/v2/cache.py | 218 ++++ openstackclient/image/v2/image.py | 20 +- openstackclient/image/v2/metadef_objects.py | 193 ++++ openstackclient/image/v2/metadef_properties.py | 262 +++++ openstackclient/network/utils.py | 100 ++ .../network/v2/default_security_group_rule.py | 399 +++++++ openstackclient/network/v2/port.py | 54 +- openstackclient/network/v2/security_group_rule.py | 129 +-- openstackclient/object/v1/container.py | 14 +- openstackclient/object/v1/object.py | 13 +- .../functional/network/v2/test_address_group.py | 6 +- .../functional/network/v2/test_address_scope.py | 6 - .../network/v2/test_default_security_group_rule.py | 67 ++ .../functional/network/v2/test_floating_ip.py | 9 +- .../functional/network/v2/test_ip_availability.py | 11 +- .../network/v2/test_l3_conntrack_helper.py | 7 +- .../functional/network/v2/test_network_agent.py | 45 +- .../functional/network/v2/test_network_flavor.py | 6 - .../network/v2/test_network_flavor_profile.py | 6 - .../functional/network/v2/test_network_meter.py | 12 +- .../network/v2/test_network_meter_rule.py | 15 +- .../network/v2/test_network_ndp_proxy.py | 4 +- .../network/v2/test_network_qos_policy.py | 8 +- .../functional/network/v2/test_network_qos_rule.py | 36 +- .../network/v2/test_network_qos_rule_type.py | 8 +- .../functional/network/v2/test_network_rbac.py | 5 +- .../functional/network/v2/test_network_segment.py | 19 +- .../network/v2/test_network_segment_range.py | 7 +- .../network/v2/test_network_service_provider.py | 6 +- .../functional/network/v2/test_network_trunk.py | 6 +- .../functional/network/v2/test_security_group.py | 5 +- .../network/v2/test_security_group_rule.py | 5 +- .../functional/network/v2/test_subnet_pool.py | 6 - .../network/v2/test_default_security_group_rule.py | 1133 ++++++++++++++++++++ .../unit/network/v2/test_floating_ip_compute.py | 18 +- .../network/v2/test_floating_ip_pool_compute.py | 10 +- .../unit/network/v2/test_security_group_compute.py | 22 +- .../network/v2/test_security_group_rule_compute.py | 46 +- .../network/v2/test_security_group_rule_network.py | 9 +- .../volume/v2/test_consistency_group_snapshot.py | 6 +- .../unit/volume/v2/test_volume_transfer_request.py | 12 +- .../unit/volume/v3/test_block_storage_cleanup.py | 10 +- .../unit/volume/v3/test_block_storage_cluster.py | 42 +- .../unit/volume/v3/test_block_storage_log_level.py | 22 +- .../unit/volume/v3/test_block_storage_manage.py | 376 ++++--- .../v3/test_block_storage_resource_filter.py | 55 +- .../unit/volume/v3/test_volume_group_snapshot.py | 165 +-- openstackclient/volume/v1/volume.py | 16 +- openstackclient/volume/v2/volume.py | 45 +- openstackclient/volume/v2/volume_backend.py | 28 +- openstackclient/volume/v2/volume_backup.py | 33 +- openstackclient/volume/v2/volume_snapshot.py | 14 +- openstackclient/volume/v2/volume_type.py | 225 +++- openstackclient/volume/v3/block_storage_manage.py | 83 +- .../volume/v3/block_storage_resource_filter.py | 44 +- openstackclient/volume/v3/volume_attachment.py | 16 +- openstackclient/volume/v3/volume_group_snapshot.py | 54 +- openstackclient/volume/v3/volume_message.py | 15 +- ...-security-group-rule-CRUD-2916568f829ea38c.yaml | 8 + .../notes/add-cache-commands-a6f046348a3a0b1f.yaml | 5 + ...add-metadef-object-create-3939ee1453585484.yaml | 5 + .../add-metadef-object-list-c8831e73c696b9d9.yaml | 5 + .../add-metadef-object-show-1b05dd33ecf42210.yaml | 5 + ...d-metadef-property-create-c9a4ec2bced892af.yaml | 5 + ...d-metadef-property-delete-ebb999d92a588ad4.yaml | 5 + ...add-metadef-property-list-fe89ae8ff9780002.yaml | 5 + .../add-metadef-property-set-ab9cdcb73adf6397.yaml | 5 + ...add-metadef-property-show-8bf2ec421f74cb2d.yaml | 5 + ...nageable-list-long-option-a16a4641acfcf781.yaml | 7 + ...-resource-filter-commands-2a353edb965723d1.yaml | 5 + ...e-volume-backend-commands-259e553e213c71b0.yaml | 7 + .../volume-type-extra-specs-22a22fcb6e269832.yaml | 7 + ...pe-list-properties-filter-8532f96d16733915.yaml | 6 + releasenotes/source/2023.2.rst | 6 + releasenotes/source/conf.py | 2 +- releasenotes/source/index.rst | 1 + requirements.txt | 3 +- setup.cfg | 24 + 164 files changed, 5807 insertions(+), 2502 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index bc950562..a1b87a04 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10 +10 @@ iso8601>=0.1.11 # MIT -openstacksdk>=1.4.0 # Apache-2.0 +openstacksdk>=2.0.0 # Apache-2.0 @@ -13 +12,0 @@ oslo.i18n>=3.15.3 # Apache-2.0 -oslo.utils>=3.33.0 # Apache-2.0