python-openstackclient 6.3.0 (bobcat)
We exuberantly announce the release of: python-openstackclient 6.3.0: OpenStack Command-line Client This release is part of the bobcat 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. Changes in python-openstackclient 6.2.0..6.3.0 ---------------------------------------------- c7c79c9f Propocol release versions properly 010ef0fd Fix ReleaseNotes build e1a86368 tests: Add image v1, v2 FakeClientMixin 28b12679 tests: Use consistent shortcut to fake image client a8232285 tests: Remove FakeImagev1Client, FakeImagev2Client a39bde5c tests: Add network v2 FakeClientMixin b2574249 tests: Use consistent shortcut to fake network client 84dd5b00 tests: Remove FakeNetworkV2Client 601d9717 Remove project purge image commands b87b5755 Migrate 'extension list' to SDK 44cf963d Migrate 'availability zone list' to SDK 194f59be tox: Bump min_version to 4.3.0 f29e3ccc Add --skip-resource option to project cleanup f8f174c4 Add the flavor-id option to router create bfd6170b Migrate backup commands to SDK 18a6199e Adding image stores info command b3473479 Adding ``image delete --store`` and ``image import info`` commands deab1a7a Update the underlying python containers to "3.10-bookworm" c05be82d docs: Add examples of common auth methods 9cd6204a doc: Split image command documentation 52bf1947 Add image metadef resource type command 'list' 4dfbc501 Migrate 'volume summary' command to SDK 71783715 tests: Use a new project for quota tests b4ba0469 Allow multiple `--remove-tag` in `project set` bc60e3bb Fix "access rule" commands to only use ID 3ba55118 tox: Disable E501 22d1a26d Neutron port hints e984ca18 trivial: Remove duplicate definitions e91844dd Dropping the use of 'addFixedIp' server action 6e773f68 docs: Migrate volume commands to autoprogram-cliff 629eb33c volume: Add 'volume qos set --no-property' option 6dcef7c3 volume: Make better use of argparse 83f5c803 volume: Add 'volume type set --private/--public' 0a63f860 compute: Fix bug with start/stop server 417a7ad2 Allow server rebuild --wait for SHUTOFF servers 31ae635f tests: Use SDK objects where expected 19be0702 tests: Remove unnecessary nesting of compute resources 347b444f tests: Reorder compute fakes aaeda25e Migrate 'volume revert' command to SDK 3c9afe69 pre-commit: Enable black 229791cd Ignore black changes d3f4a3d7 Blacken everything else a6f81a73 Blacken openstackclient.api 7d80f9e9 Blacken openstack.common 7ca43885 Blacken openstackclient.image 329296ce Blacken openstackclient.object aed521d4 Blacken openstackclient.identity 6475dc58 Blacken openstackclient.network 35ba1d8f Blacken openstackclient.volume 28ffa2bf Blacken openstackclient.compute 5cb16aeb Use pre-commit for 'pep8' tox target, bump versions 379db31e Address pre-commit issues 24546363 compute: Generate SSH keypairs ourselves 737540cc Migrate 'server event *' commands to SDK a675c61e Fix pep issue in the network service provider 16c78fef Adding ``image import`` command 23da7b73 Silence warnings from openstacksdk 864f51f4 compute: Migrate 'reboot server' to SDK 00af88cf Add an updated tips job running on py310 f1cf3a10 Show Network QoS rules one per line e74f2d94 "hypervisor list --matching" showed the wrong result 4e5e3cff Docs: Update glance command mapping 5eb89e4c Update master for stable/2023.1 7506eb8e Add auto-approve option to project cleanup 1701768c Remove unused helpers for legacy novaclient f56f0e33 Switch server shelve, unshelve to SDK 004b2ab2 compute: Switch server restore to SDK 29fafabe Remove unnecessary 'self.methods' 92415141 Switch server start, server stop to SDK ce8171ba Switch server lock, unlock to sdk Diffstat (except docs and test files) ------------------------------------- .git-ignore-blame-revs | 12 + .pre-commit-config.yaml | 16 +- .zuul.yaml | 30 +- Dockerfile | 4 +- .../command-objects/volume-transfer-request.rst | 94 +- examples/common.py | 11 +- openstackclient/api/api.py | 57 +- openstackclient/api/compute_v2.py | 9 +- openstackclient/api/image_v1.py | 6 +- openstackclient/api/object_store_v1.py | 73 +- openstackclient/common/availability_zone.py | 93 +- openstackclient/common/clientmanager.py | 34 +- openstackclient/common/configuration.py | 3 +- openstackclient/common/extension.py | 69 +- openstackclient/common/limits.py | 64 +- openstackclient/common/module.py | 19 +- openstackclient/common/progressbar.py | 8 +- openstackclient/common/project_cleanup.py | 74 +- openstackclient/common/project_purge.py | 175 - openstackclient/common/quota.py | 6 +- openstackclient/common/versions.py | 42 +- openstackclient/compute/client.py | 17 +- openstackclient/compute/v2/agent.py | 81 +- openstackclient/compute/v2/aggregate.py | 148 +- openstackclient/compute/v2/console.py | 34 +- openstackclient/compute/v2/flavor.py | 210 +- openstackclient/compute/v2/host.py | 62 +- openstackclient/compute/v2/hypervisor.py | 125 +- openstackclient/compute/v2/hypervisor_stats.py | 18 +- openstackclient/compute/v2/keypair.py | 158 +- openstackclient/compute/v2/server.py | 823 ++-- openstackclient/compute/v2/server_backup.py | 1 - openstackclient/compute/v2/server_event.py | 106 +- openstackclient/compute/v2/server_group.py | 13 +- openstackclient/compute/v2/server_image.py | 7 +- openstackclient/compute/v2/server_migration.py | 79 +- openstackclient/compute/v2/service.py | 152 +- openstackclient/compute/v2/usage.py | 90 +- openstackclient/identity/client.py | 16 +- openstackclient/identity/common.py | 123 +- openstackclient/identity/v2_0/catalog.py | 22 +- openstackclient/identity/v2_0/ec2creds.py | 37 +- openstackclient/identity/v2_0/endpoint.py | 54 +- openstackclient/identity/v2_0/project.py | 59 +- openstackclient/identity/v2_0/role.py | 35 +- openstackclient/identity/v2_0/role_assignment.py | 22 +- openstackclient/identity/v2_0/service.py | 26 +- openstackclient/identity/v2_0/token.py | 3 +- openstackclient/identity/v2_0/user.py | 65 +- openstackclient/identity/v3/access_rule.py | 52 +- .../identity/v3/application_credential.py | 117 +- openstackclient/identity/v3/catalog.py | 22 +- openstackclient/identity/v3/consumer.py | 40 +- openstackclient/identity/v3/credential.py | 81 +- openstackclient/identity/v3/domain.py | 47 +- openstackclient/identity/v3/ec2creds.py | 83 +- openstackclient/identity/v3/endpoint.py | 147 +- openstackclient/identity/v3/endpoint_group.py | 107 +- openstackclient/identity/v3/federation_protocol.py | 70 +- openstackclient/identity/v3/group.py | 126 +- openstackclient/identity/v3/identity_provider.py | 117 +- openstackclient/identity/v3/implied_role.py | 36 +- openstackclient/identity/v3/limit.py | 28 +- openstackclient/identity/v3/mapping.py | 31 +- openstackclient/identity/v3/policy.py | 40 +- openstackclient/identity/v3/project.py | 127 +- openstackclient/identity/v3/region.py | 34 +- openstackclient/identity/v3/registered_limit.py | 61 +- openstackclient/identity/v3/role.py | 166 +- openstackclient/identity/v3/role_assignment.py | 69 +- openstackclient/identity/v3/service.py | 24 +- openstackclient/identity/v3/service_provider.py | 54 +- openstackclient/identity/v3/tag.py | 65 +- openstackclient/identity/v3/token.py | 62 +- openstackclient/identity/v3/trust.py | 111 +- openstackclient/identity/v3/unscoped_saml.py | 28 +- openstackclient/identity/v3/user.py | 227 +- openstackclient/image/client.py | 5 +- openstackclient/image/v1/image.py | 211 +- openstackclient/image/v2/image.py | 79 +- openstackclient/image/v2/info.py | 31 + openstackclient/image/v2/metadef_namespaces.py | 46 +- openstackclient/image/v2/metadef_resource_types.py | 39 + openstackclient/network/client.py | 6 +- openstackclient/network/common.py | 102 +- openstackclient/network/v2/address_group.py | 106 +- openstackclient/network/v2/address_scope.py | 92 +- openstackclient/network/v2/floating_ip.py | 199 +- openstackclient/network/v2/floating_ip_pool.py | 24 +- .../network/v2/floating_ip_port_forwarding.py | 219 +- openstackclient/network/v2/ip_availability.py | 34 +- openstackclient/network/v2/l3_conntrack_helper.py | 93 +- openstackclient/network/v2/local_ip.py | 108 +- openstackclient/network/v2/local_ip_association.py | 69 +- openstackclient/network/v2/ndp_proxy.py | 105 +- openstackclient/network/v2/network.py | 321 +- openstackclient/network/v2/network_agent.py | 149 +- .../network/v2/network_auto_allocated_topology.py | 34 +- openstackclient/network/v2/network_flavor.py | 139 +- .../network/v2/network_flavor_profile.py | 103 +- openstackclient/network/v2/network_meter.py | 53 +- openstackclient/network/v2/network_meter_rule.py | 60 +- openstackclient/network/v2/network_qos_policy.py | 101 +- openstackclient/network/v2/network_qos_rule.py | 218 +- .../network/v2/network_qos_rule_type.py | 40 +- openstackclient/network/v2/network_rbac.py | 173 +- openstackclient/network/v2/network_segment.py | 101 +- .../network/v2/network_segment_range.py | 205 +- .../network/v2/network_service_provider.py | 26 +- openstackclient/network/v2/network_trunk.py | 207 +- openstackclient/network/v2/port.py | 556 ++- openstackclient/network/v2/router.py | 420 +- openstackclient/network/v2/security_group.py | 154 +- openstackclient/network/v2/security_group_rule.py | 195 +- openstackclient/network/v2/subnet.py | 456 +- openstackclient/network/v2/subnet_pool.py | 172 +- openstackclient/object/client.py | 7 +- openstackclient/object/v1/account.py | 15 +- openstackclient/object/v1/container.py | 68 +- openstackclient/object/v1/object.py | 72 +- openstackclient/shell.py | 30 +- .../functional/common/test_availability_zone.py | 12 +- .../functional/compute/v2/test_server_event.py | 7 +- .../functional/compute/v2/test_server_group.py | 59 +- .../functional/identity/v2/test_ec2_credentials.py | 1 - .../identity/v3/test_application_credential.py | 188 +- .../identity/v3/test_registered_limit.py | 61 +- .../identity/v3/test_service_provider.py | 32 +- .../functional/network/v2/test_address_group.py | 57 +- .../functional/network/v2/test_address_scope.py | 32 +- .../functional/network/v2/test_floating_ip.py | 130 +- .../functional/network/v2/test_ip_availability.py | 29 +- .../network/v2/test_l3_conntrack_helper.py | 59 +- .../functional/network/v2/test_network_agent.py | 29 +- .../functional/network/v2/test_network_flavor.py | 33 +- .../network/v2/test_network_flavor_profile.py | 53 +- .../functional/network/v2/test_network_meter.py | 45 +- .../network/v2/test_network_meter_rule.py | 72 +- .../network/v2/test_network_ndp_proxy.py | 58 +- .../network/v2/test_network_qos_policy.py | 41 +- .../functional/network/v2/test_network_qos_rule.py | 186 +- .../network/v2/test_network_qos_rule_type.py | 23 +- .../functional/network/v2/test_network_rbac.py | 36 +- .../functional/network/v2/test_network_segment.py | 65 +- .../network/v2/test_network_segment_range.py | 74 +- .../network/v2/test_network_service_provider.py | 3 +- .../functional/network/v2/test_network_trunk.py | 163 +- .../functional/network/v2/test_security_group.py | 14 +- .../network/v2/test_security_group_rule.py | 27 +- .../functional/network/v2/test_subnet_pool.py | 109 +- .../functional/volume/v1/test_transfer_request.py | 37 +- .../functional/volume/v2/test_transfer_request.py | 84 +- .../functional/volume/v2/test_volume_backup.py | 17 +- .../functional/volume/v2/test_volume_snapshot.py | 91 +- .../functional/volume/v3/test_transfer_request.py | 80 +- .../functional/volume/v3/test_volume_snapshot.py | 83 +- .../unit/identity/v2_0/test_role_assignment.py | 106 +- .../identity/v3/test_application_credential.py | 183 +- .../unit/identity/v3/test_identity_provider.py | 315 +- .../unit/identity/v3/test_registered_limit.py | 207 +- .../unit/identity/v3/test_service_provider.py | 96 +- .../unit/image/v2/test_metadef_resource_types.py | 43 + .../unit/network/v2/test_floating_ip_compute.py | 73 +- .../unit/network/v2/test_floating_ip_network.py | 514 ++- .../network/v2/test_floating_ip_pool_compute.py | 18 +- .../network/v2/test_floating_ip_pool_network.py | 17 +- .../network/v2/test_floating_ip_port_forwarding.py | 481 +- .../unit/network/v2/test_l3_conntrack_helper.py | 207 +- .../unit/network/v2/test_local_ip_association.py | 179 +- .../v2/test_network_auto_allocated_topology.py | 106 +- .../unit/network/v2/test_network_flavor_profile.py | 263 +- .../unit/network/v2/test_network_meter_rule.py | 156 +- .../unit/network/v2/test_network_qos_policy.py | 243 +- .../unit/network/v2/test_network_qos_rule_type.py | 80 +- .../unit/network/v2/test_network_segment_range.py | 415 +- .../network/v2/test_network_service_provider.py | 32 +- .../unit/network/v2/test_security_group_compute.py | 118 +- .../unit/network/v2/test_security_group_network.py | 305 +- .../network/v2/test_security_group_rule_compute.py | 245 +- .../network/v2/test_security_group_rule_network.py | 1024 +++-- .../volume/v2/test_consistency_group_snapshot.py | 126 +- .../unit/volume/v2/test_volume_transfer_request.py | 119 +- .../v2/{test_type.py => test_volume_type.py} | 555 +-- .../unit/volume/v3/test_block_storage_cleanup.py | 86 +- .../unit/volume/v3/test_block_storage_cluster.py | 149 +- .../unit/volume/v3/test_block_storage_log_level.py | 151 +- .../unit/volume/v3/test_block_storage_manage.py | 155 +- .../v3/test_block_storage_resource_filter.py | 67 +- .../unit/volume/v3/test_volume_group_snapshot.py | 122 +- openstackclient/volume/client.py | 14 +- openstackclient/volume/v1/qos_specs.py | 169 +- openstackclient/volume/v1/service.py | 66 +- openstackclient/volume/v1/volume.py | 224 +- openstackclient/volume/v1/volume_backup.py | 100 +- openstackclient/volume/v1/volume_snapshot.py | 184 +- .../volume/v1/volume_transfer_request.py | 33 +- openstackclient/volume/v1/volume_type.py | 268 +- openstackclient/volume/v2/backup_record.py | 22 +- openstackclient/volume/v2/consistency_group.py | 141 +- .../volume/v2/consistency_group_snapshot.py | 109 +- openstackclient/volume/v2/qos_specs.py | 169 +- openstackclient/volume/v2/service.py | 66 +- openstackclient/volume/v2/volume.py | 417 +- openstackclient/volume/v2/volume_backend.py | 34 +- openstackclient/volume/v2/volume_backup.py | 210 +- openstackclient/volume/v2/volume_host.py | 23 +- openstackclient/volume/v2/volume_snapshot.py | 239 +- .../volume/v2/volume_transfer_request.py | 29 +- openstackclient/volume/v2/volume_type.py | 441 +- openstackclient/volume/v3/block_storage_cleanup.py | 35 +- openstackclient/volume/v3/block_storage_cluster.py | 16 +- .../volume/v3/block_storage_log_level.py | 56 +- openstackclient/volume/v3/block_storage_manage.py | 132 +- .../volume/v3/block_storage_resource_filter.py | 4 +- openstackclient/volume/v3/volume.py | 43 +- openstackclient/volume/v3/volume_attachment.py | 34 +- openstackclient/volume/v3/volume_group.py | 52 +- openstackclient/volume/v3/volume_group_snapshot.py | 15 +- openstackclient/volume/v3/volume_group_type.py | 23 +- openstackclient/volume/v3/volume_message.py | 15 +- .../add-auto-approve-cleanup-a2d225faa42dfdcb.yaml | 6 + ...lavor-id-to-router-create-76e916e129b5b80c.yaml | 4 + ...esource-type-list-command-020adcaa2ad14e07.yaml | 5 + ...import-info-stores-delete-c50b5222c21e1077.yaml | 6 + .../add-port-hints-attribute-be1779e640a47d0d.yaml | 7 + .../notes/add-stores-info-9f1488dd29013767.yaml | 3 + ...os-set-no-property-option-348480dfc42a0a64.yaml | 4 + ...e-set-public-private-opts-891fc7ab5de9bb6a.yaml | 5 + .../bp-add-locked-reason-425efd2def1144f1.yaml | 1 - ...on-floating-ip-rate-limit-8387c040a6fb9acd.yaml | 2 +- .../notes/bp-project-tags-b544aef9672d415b.yaml | 2 +- .../notes/bug-1647406-c936581034a1b6e4.yaml | 2 +- .../notes/fix-story-2010775-953dbdf03b2b6746.yaml | 8 + ...loatingip_dns_integration-f26c7575694d098d.yaml | 2 +- ...te-client-side-generation-73d8dd36192f70c9.yaml | 11 + .../migrate-backup-commands-0becc8f18cf9737b.yaml | 10 + ...rate-server-events-to-sdk-6a1f5dce582df245.yaml | 5 + ...rate-server-reboot-to-sdk-a49822810def4c8a.yaml | 4 + ...ate-server-restore-to-sdk-4540f26753031779.yaml | 4 + ...er-shelve-unshelve-to-sdk-8fce77586aa68a51.yaml | 5 + ...-server-start-stop-to-sdk-55edd4e1ff5e6ac7.yaml | 5 + ...rate-volume-revert-to-sdk-1e399853d80ba5f8.yaml | 4 + ...ate-volume-summary-to-sdk-96ff58f653e0feaa.yaml | 4 + .../notes/osc4-identity-6564257c67d43106.yaml | 2 +- ...anup-skip-resource-option-4f80db0d8cf36fdb.yaml | 8 + .../remove-project-purge-d372374b1a7c4641.yaml | 8 + ...rver-rebuild-wait-shutoff-c84cddcd3f15e9ce.yaml | 13 + ...switch-server-lock-to-sdk-d5dd17e4987233a5.yaml | 4 + releasenotes/source/2023.1.rst | 6 + releasenotes/source/conf.py | 62 +- releasenotes/source/index.rst | 17 +- releasenotes/source/unreleased.rst | 2 +- requirements.txt | 3 +- setup.cfg | 7 +- setup.py | 4 +- tools/fast8.sh | 15 - tox.ini | 68 +- 464 files changed, 33422 insertions(+), 27429 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1ae8cec4..bc950562 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,0 +7 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 +cryptography>=2.7 # BSD/Apache-2.0 @@ -9 +10 @@ iso8601>=0.1.11 # MIT -openstacksdk>=0.103.0 # Apache-2.0 +openstacksdk>=1.4.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org