We are chuffed to announce the release of: python-manilaclient 3.0.0: Client library for OpenStack Manila API. This release is part of the xena release series. The source is available from: https://opendev.org/openstack/python-manilaclient Download the package from: https://pypi.org/project/python-manilaclient Please report issues through: https://bugs.launchpad.net/python-manilaclient/+bugs For more details, please see below. 3.0.0 ^^^^^ New Features ************ * The command "manila share-server-delete" now accepts an optional "-- wait" that allows users to let the client poll for the completion of the operation. * The command "manila share-group-delete" now accepts an optional "-- wait" that allows users to let the client poll for the completion of the operation. * The command "manila share-group-create" now accepts an optional "-- wait" that allows users to let the client poll for the completion of the operation. Upgrade Notes ************* * manilaclient SDK no longer supports some options that were deprecated in version 2.0.0: 'share_service_name' (use 'service_name' instead), 'proxy_tenant_id', 'proxy_token', 'os_cache' (use 'use_keyring' instead) 'api_key'(use 'password' instead). The client.authenticate() method has been removed as well, since authentication is performed automatically. Bug Fixes ********* * Fixed the issue in which users were unable to create a share from a snapshot, specifing the snapshot's name. For more details, please refer to launchpad bug 1798229 (https://bugs.launchpad.net/python- manilaclient/+bug/1798229) Changes in python-manilaclient 2.7.0..3.0.0 ------------------------------------------- 89f7f27 Fix OSC share groups 7c8aa8e [OSC] Implement Share Group Commands 92ca00c Implement OSC share instance export location commands d40205a OSC Implementation for Share Networks cc44060 [OSC] Implement Share Limits Show command 2f173cb [OSC] Implement share instance commands 1d59127 [OSC] Add Share Snapshot Instances commands 2fc21c3 Fix incorrect dict member lookup d566ecc [OSC] Implement Share Pools List command 376429e Add --wait flag to the create share group operation ca00798 [OSC] Implement Replica Export Locations commands fcbcf75 [OSC] Implement Share Services Commands 53275be [OSC] Implement Availability Zones Command 616f3ac Fix issue while creating share from snapshot 3c278d7 Fix PDF docs issue 6ecdbef Re-enable shell completion cache adc5bc1 [OSC] Fix the default API_VERSION in unit tests c5e2561 Replace deprecated inspect.getargspec f84f32e Add --wait flag to the delete share group operation eea1d21 tests: Remove unused fakes 0002625 utils: Remove unicode-related helpers f6c747f tools: Remove dead tools 1562ec6 Remove six f3d7927 Uncap PrettyTable 2a1fb2b Add "--wait" option for deleting a share server 8ad1583 Fix typo in quota set error message df33886 [OSC] Implement Share Replica Commands 5220acf Changed minversion in tox to 3.18.0 de19027 Further fix to "test_list_shares_by_status" 931743a Remove some deprecated options Diffstat (except docs and test files) ------------------------------------- HACKING | 40 - bindep.txt | 3 + lower-constraints.txt | 1 - manilaclient/base.py | 12 +- manilaclient/common/apiclient/base.py | 4 +- manilaclient/common/apiclient/exceptions.py | 5 +- manilaclient/common/apiclient/utils.py | 6 +- manilaclient/common/cliutils.py | 49 +- manilaclient/common/httpclient.py | 3 +- manilaclient/osc/utils.py | 16 +- manilaclient/osc/v2/availability_zones.py | 40 + manilaclient/osc/v2/quotas.py | 2 +- manilaclient/osc/v2/services.py | 134 ++++ manilaclient/osc/v2/share.py | 9 +- manilaclient/osc/v2/share_groups.py | 547 ++++++++++++++ .../osc/v2/share_instance_export_locations.py | 102 +++ manilaclient/osc/v2/share_instances.py | 223 ++++++ manilaclient/osc/v2/share_limits.py | 74 ++ manilaclient/osc/v2/share_networks.py | 680 +++++++++++++++++ manilaclient/osc/v2/share_pools.py | 101 +++ .../osc/v2/share_replica_export_locations.py | 87 +++ manilaclient/osc/v2/share_replicas.py | 329 +++++++++ .../v2/share_snapshot_instance_export_locations.py | 93 +++ manilaclient/osc/v2/share_snapshot_instances.py | 141 ++++ manilaclient/osc/v2/share_snapshots.py | 6 +- manilaclient/osc/v2/share_types.py | 3 +- manilaclient/shell.py | 15 +- .../osc/v2/test_share_instance_export_locations.py | 166 +++++ .../osc/v2/test_share_replica_export_locations.py | 124 ++++ ...est_share_snapshot_instance_export_locations.py | 149 ++++ .../unit/osc/v2/test_share_snapshot_instances.py | 240 ++++++ manilaclient/utils.py | 28 +- manilaclient/v1/client.py | 47 +- manilaclient/v2/client.py | 47 +- manilaclient/v2/limits.py | 1 + manilaclient/v2/shares.py | 7 +- manilaclient/v2/shell.py | 154 ++-- ...hare-from-snap-using-name-44100b907ea6a040.yaml | 6 + ...r-deleting-a-share-server-e2228018585de5cb.yaml | 8 + ...g-a-share-group-operation-c602ba9faad411be.yaml | 6 + ...te-sharee-group-operation-cd8310b241d377b0.yaml | 6 + ...0-deprecated-opts-removal-863565618535733d.yaml | 8 + requirements.txt | 3 +- setup.cfg | 37 + tools/generate_authors.sh | 3 - tools/install_venv.py | 250 ------- tools/manila.bash_completion | 2 +- tools/with_venv.sh | 4 - tox.ini | 12 +- 93 files changed, 7440 insertions(+), 750 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index d8d09fc..3c563cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12 +12 @@ oslo.utils>=3.33.0 # Apache-2.0 -PrettyTable<0.8,>=0.7.1 # BSD +PrettyTable>=0.7.1 # BSD @@ -16 +15,0 @@ Babel!=2.4.0,>=2.3.4 # BSD -six>=1.10.0 # MIT