python-manilaclient 4.9.1__tar.gz → 5.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/AUTHORS +1 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/ChangeLog +11 -0
- {python-manilaclient-4.9.1/python_manilaclient.egg-info → python-manilaclient-5.0.0}/PKG-INFO +1 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_replicas.py +15 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_servers.py +39 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/fakes.py +1 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_replicas.py +27 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_servers.py +50 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/fakes.py +50 -4
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_client.py +6 -55
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_shares.py +1 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_shell.py +146 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/client.py +23 -38
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/client.py +23 -38
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/shell.py +59 -6
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0/python_manilaclient.egg-info}/PKG-INFO +1 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/python_manilaclient.egg-info/SOURCES.txt +5 -0
- python-manilaclient-5.0.0/python_manilaclient.egg-info/pbr.json +1 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/python_manilaclient.egg-info/requires.txt +0 -1
- python-manilaclient-5.0.0/releasenotes/notes/bug-1782847-filter-list-resources-with-empty-metadata-key-value-cc6f858994f6e9ee.yaml +6 -0
- python-manilaclient-5.0.0/releasenotes/notes/bug-1898310-add-wait-to-create-promote-delete-share-replica-35f17e4a51b8f62e.yaml +6 -0
- python-manilaclient-5.0.0/releasenotes/notes/bug-1898319-add-wait-to-create-delete-a-share-group-snapshot-f789e324f66ad1b6.yaml +7 -0
- python-manilaclient-5.0.0/releasenotes/notes/bug-2068631-add-filter-by-source-share-server-id-d40500dcf184c321.yaml +6 -0
- python-manilaclient-5.0.0/releasenotes/notes/remove-identity-v2-f62956e7d54b8c53.yaml +4 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/requirements.txt +0 -2
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/roles/populate-manilaclient-config/tasks/main.yaml +1 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/zuul.d/python-manilaclient-jobs.yaml +3 -0
- python-manilaclient-4.9.1/python_manilaclient.egg-info/pbr.json +0 -1
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/.stestr.conf +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/CONTRIBUTING.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/HACKING +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/LICENSE +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/README.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/bindep.txt +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/.gitignore +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/Makefile +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/requirements.txt +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/cli/decoder.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/cli/osc/manila.csv +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/cli/osc/v2/index.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/cli/osc_plugin_cli.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/conf.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/contributor/adding_release_notes.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/contributor/contributing.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/contributor/functional-tests.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/contributor/index.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/index.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/user/api.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/doc/source/user/shell.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/etc/manilaclient/README.manilaclient.conf +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/etc/oslo-config-generator/manilaclient.conf +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/api_versions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/base.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/client.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/_i18n.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/apiclient/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/apiclient/exceptions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/apiclient/utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/cliutils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/constants.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/common/httpclient.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/config.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/exceptions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/extension.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/plugin.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/availability_zones.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/data/manila.csv +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/messages.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/resource_locks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_access_rules.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_backups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_group_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_group_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_group_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_groups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_network_subnets.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_pools.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_replica_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_snapshot_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_snapshot_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_transfers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/shell.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/base.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/client.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/exceptions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/base.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_availability_zones.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_messages.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_resource_locks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_access_rules.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_backups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_group_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_network_subnets.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_pools.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_replica_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_replicas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_snapshot_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_transfers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_share_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_shares.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/osc/test_shares_group_type.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_availability_zones.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_common.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_messages.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_scheduler_stats.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_network_subnets.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_replica_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_replicas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_servers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_transfers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_share_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_shares.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_shares_listing.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_shares_metadata.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_snapshot_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_snapshot_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_snapshot_instances_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/test_snapshots_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/functional/utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/common/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/common/apiclient/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/common/test_httpclient.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/fakes.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/osc_fakes.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/osc_utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_availability_zones.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_messages.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_resource_locks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_access_rules.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_backups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_group_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_group_type.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_group_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_groups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_network_subnets.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_pools.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_replica_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_snapshot_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_snapshot_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_transfers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_type.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/test_share_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/test_api_versions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/test_base.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/test_client.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/test_functional_utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/test_shell.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_quota_classes.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_scheduler_stats.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_share_servers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_share_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_share_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v1/test_shares.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/fake_clients.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_availability_zones.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_messages.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_quota_classes.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_scheduler_stats.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_backups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_group_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_group_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_group_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_groups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_network_subnets.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_replica_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_replicas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_servers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_snapshot_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_snapshot_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_snapshot_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_share_transfers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/utils.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/contrib/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/contrib/list_extensions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/quota_classes.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/scheduler_stats.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/share_servers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/share_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/share_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v1/shares.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/availability_zones.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/contrib/__init__.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/contrib/list_extensions.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/limits.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/messages.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/quota_classes.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/quotas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/resource_locks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/scheduler_stats.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/security_services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/services.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_access_rules.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_backups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_group_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_group_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_group_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_groups.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_network_subnets.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_networks.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_replica_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_replicas.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_servers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_snapshot_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_snapshot_instance_export_locations.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_snapshot_instances.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_snapshots.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_transfers.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_type_access.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/share_types.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/v2/shares.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/playbooks/enable-fips.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/playbooks/python-manilaclient-functional/post.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/playbooks/python-manilaclient-functional/run.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/python_manilaclient.egg-info/dependency_links.txt +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/python_manilaclient.egg-info/entry_points.txt +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/python_manilaclient.egg-info/not-zip-safe +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/python_manilaclient.egg-info/top_level.txt +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/rally-jobs/rally-manila-no-ss.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/rally-jobs/rally-manila.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/.placeholder +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/Bug-1990013-fix-share-grou-from-snapshot-create-fa3629cf1417ba20.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-access-visibility-and-deletion-locks-69978f052e25334c.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-count-info-in-share-21a6b36c0f4c87b2.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-count-info-in-snapshot-c9600adad648a486.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-dash-dash-help-subcomand-ad4226454aa07bc6.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-defaultadsite-to-security-service-33fd0a5d1b865b11.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-export-location-filter-4cf3114doe40k598.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-ipv6-access-type-4dko90r1a9a1e0b8.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-like-filter-591572762357ef4b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-message-list-and-delete-41b3323edd63d894.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-metadata-for-share-access-rule-11a6b36c0f4c87c2.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-per-share-gigabytes-quotas-40bc404bd3cbdd89.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-query-params-pools-list-api-12cf1s14ddf40kdd.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-quiesce-wait-time-for-replica-promote-30d9fa66afc854f2.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-quota-per-share-type-support-3b2708ea232e69bc.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-scheduler-hints-to-share-create-70d429cb0aaf8f11.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-scheduler-hints-to-share-replica-create-d152a3934e5ad3a7.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-share-group-quotas-support-b6563cec58209a1d.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-share-group-support-a3166f6ca4d06a81.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-share-network-sec-service-add-update-to-in-use-networks-ec7a60d07ebceaf4.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-share-replicas-and-replica-gigabytes-quotas-909436c2b2420f2c.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-snapshot-instances-admin-api-3cf3114doe40k598.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-snapshot-metadata-49b0288bf2f12bf0.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-subnet-metadata-82426986431b0179.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-support-filter-search-for-share-type-fdbaaa9510cc59dd.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add-support-to-check-quota-usage-scfdg14dod40k71a.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/add_support_multiple_subnet_per_az-46145c3e90e097be.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-allow-locking-shares-against-deletion-89e51e27368cda46.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-export-locations-replica-az-commands-03aa32c08f59c42d.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-integrate-os-profiler-4818066dc2fbf7b7.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-ocata-migration-improvements-f63c5d233856fbee.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-support-group-spec-search-share-group-type-api-d5d9a6096f084b91.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-support-query-user-messages-by-timestamp-34b70bba2d1b4d13.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-support-share-transfer-between-project-faefead551380eca.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bp-update-share-type-name-or-description-32d98b5a42cd8090.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1558995-fix-endpoint-not-found.yaml-a06a3b0ba5006718.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1608664-add-support-columns-share-replica-list-885bd8c8b4bfa8f1.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1611506-allow-deletion-multiple-resources +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1622540-add-missing-az-list-command-f90265de5c2f261b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1650774-share-instance-reset-state-9c4b26f44b5da0e9.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1664877-c462bfad92ce03e5.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1674915-allow-user-access-fix-495b3e42bdc985ec.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1682726-remove-sort-key-export-location-from-list-885des26bd5ea2de.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1707303-fix-list-command-when-not-given-search-opts-c06af7b344e9cb91.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1709746-add-group-specs-in-share-group-type-create-command-f91265de5c2f251b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1717940-dash-dash-column-reports-nothing-for-capabilities-db8c1234fae91af5.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1724183-add-share-type-description-8c4b26f44b5da1e9.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1733494-allow-user-group-name-with-blank-access-fix-885a3e42bdc985ec.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1738917-and-1738918-fix-access-share-group-type-by-name-3a8760522c147f28.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1798229-fix-create-share-from-snap-using-name-44100b907ea6a040.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1799934-add-ou-parameter-260f9aaf939d1919.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1802059-fix-is_default-a8d3d95ffa0aede9.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1811516-bug-1811627-python3-fixes-4b26130027b2c076.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1814094-fix-_get_base_url-method-168e12292aeec8f1.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1830677-fix-13b30d6a89f43246.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1855391-support-force-extend-share-6b5ebcfe1de0ca7b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1871252-update-default-quotas-via-quota-class-share-groups-share-group-snapshots-20ec1dfcc0a7e81c.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898304-add-wait-to-share-create-delete-f121073f2f4402ff.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898307-add-wait-to-create-revert-delete-a-snapshot-20271b8ebb60ade5.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898308-add-wait-to-share-extend-shrink-c9cc413c50d9832a.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898309-add-wait-to-share-manage-unmanage-d2060c61cc295bfd.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898315-add-wait-flag-to-manage-share-server-operation-be6488c2a57536e1.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898316-add-wait-option-for-deleting-a-share-server-e2228018585de5cb.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898317-add-wait-option-for-force-deleting-share-snapshot-share-instance-fb2531b6033f0ae5.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898318-add-wait-flag-for-deleting-a-share-group-operation-c602ba9faad411be.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1898318-add-wait-flag-to-create-sharee-group-operation-cd8310b241d377b0.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1899325-implement-usage-of-c-or-column-without-additional-logic-2970ee294f32bd31.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1902873-fix-py-raw-error-msg-a839fee2ac7b9d3d.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1909477-fix-forbid-users-to-create-shares-with-the-name-none-cfb0a59baa597803.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1920888-fix-error-in-cli-manila-list-with-sorting-key-availabilityzone-cea5a1f5d8a38fc3.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1925486-add-share-network-option-to-replica-create-api-7d2ff3628e93fc77.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1953670-fix-id-attr-for-share-group-type-access-repr-008338a53d7a6a50.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1959329-fix-server-listing-by-subnets-fa6447fd43093cae.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1960422-fix-no-default-share-type-d6191ea0aa1e57fa.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1960490-use-suitable-version-for-osc-b375a32273b56522.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1962288-fixed-share-network-create-command-879dc3deca131ef9.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1975488-skip-force-kwarg-if-unspecified-f98c717df1d6e364.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1980985-dont-use-share-type-with-snapshot-ref-de0331c640afbbd3.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1989818-fix-share-network-output-format-93d997f0f4a33fab.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-1999775-add-os-key-0cfc95c7b480df05.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-2030686-fix-default-share-lookup-cc7e592a0dc855e1.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-2065769-fix-share-network-create-fa76f38f1b640001.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-913201-add-wait-to-manage-unmanage-snapshot-9cc017a15733120f.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug-share-access-list-3cf3114doe40k599.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug_1570085_fix-905786b797379309.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug_1603387_fix_env_variable_8ed5450aab41aa5f.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug_1606168_fix-54d3c3bb78389f01.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug_1715769_fix-3ec701b0fb9d7910.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug_1777849_1779935_fix-344cb8f09b7df502.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/bug_1782672-1954059b373f03de.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/deprecate-manila-shell-0061cbcab5d3d75b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/deprecate-v1-a0cfa6fd723c2f46.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/drop-py36-and-py37-85cf389b2842f045.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/drop-python2-support-71c7b9e1dcf8c890.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/expose-access-key-in-access-list-API-b57c386c9048ae55.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/fix-and-improve-access-rules-a118a7f8e22f65bb.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/fix-is-default-empty-557844001e0401e2.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/graduate-share-replication-feature-49770e921b4338fb.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/handle-missing-api-minor-version-5a6d242f28883442.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/human-readable-export-location-share-support-d156f23669e458fa.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/manage-unmanage-share-servers-8c7b27a1fe80e5fa.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/manila-client-support-recycle-bin-4ecb5de770bd525f.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/manila-openstackclient-bf61ceb270d3afb7.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/migration-share-type-4fc3b7c6187f5201.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/mountable_snapshot-ced01da7dffc6d7e.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/newton-migration-improvements-166a03472948bdef.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/remove-experimental-flag-from-share-groups-feature-dcf2b0b67fe4cac4.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/remove-nova-net-id-arg-5b01f0077be171ed.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/remove-nova-net-id-option-for-share-nets-82e424b75221528b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/share-backup-98e11c6a28897e94.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/share-network-multiple-subnets-732309abfbf5987c.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/share-revert-to-snapshot-e899a4b7e1126749.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/share_type-skip-format-119595e62900e571.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/start-using-reno-b744cd0259c7a88c.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/support-create-share-from-snapshot-extra-spec-cdba92f179c1c5c6.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/support-share-server-migration-9804752270c6b153.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/support-show-type-6380b7c539c95ba8.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/type-create-extra-specs-691572762357ef3b.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/update-api-version-create-share-from-snapshot-another-pool-or-backend-694cfda84a41c4ff.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/notes/v2-0-0-deprecated-opts-removal-863565618535733d.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/2023.1.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/2023.2.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/2024.1.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/_static/.placeholder +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/_templates/.placeholder +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/conf.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/index.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/newton.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/ocata.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/pike.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/queens.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/rocky.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/stein.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/train.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/unreleased.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/ussuri.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/victoria.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/wallaby.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/xena.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/yoga.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/releasenotes/source/zed.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/roles/populate-manilaclient-config/README.rst +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/roles/populate-manilaclient-config/defaults/main.yaml +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/run_tests.sh +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/setup.cfg +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/setup.py +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/test-requirements.txt +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/tools/manila.bash_completion +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/tox.ini +0 -0
- {python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/zuul.d/project.yaml +0 -0
|
@@ -17,6 +17,7 @@ Besjana Gjika <besa8383@gmail.com>
|
|
|
17
17
|
Bob Callaway <bob.callaway@netapp.com>
|
|
18
18
|
CaiqueMello <caiquemellosbo@gmail.com>
|
|
19
19
|
Cao Xuan Hoang <hoangcx@vn.fujitsu.com>
|
|
20
|
+
Carlos da Silva <ces.eduardo98@gmail.com>
|
|
20
21
|
ChangBo Guo(gcb) <eric.guo@easystack.cn>
|
|
21
22
|
Chen <dstbtgagt@foxmail.com>
|
|
22
23
|
Chris MacNaughton <chris.macnaughton@canonical.com>
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
5.0.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Handle empty metadata properly in filter/list
|
|
8
|
+
* Remove support for Identity v2 API
|
|
9
|
+
* Add new filter options for share server list
|
|
10
|
+
* Replace OS\_TENANT\_NAME
|
|
11
|
+
|
|
4
12
|
4.9.1
|
|
5
13
|
-----
|
|
6
14
|
|
|
15
|
+
* Remove unused simplejson
|
|
7
16
|
* Don't set availability\_zone for 2.32 version of api
|
|
8
17
|
* Fix show info about share network
|
|
9
18
|
|
|
@@ -12,7 +21,9 @@ CHANGES
|
|
|
12
21
|
|
|
13
22
|
* Remove old excludes
|
|
14
23
|
* adds bandit testing and Zuul CI job
|
|
24
|
+
* Add "--wait" option for creating/promoting/deleting a share replicas
|
|
15
25
|
* Remove --nova-net-id option
|
|
26
|
+
* Added "--wait" option for creating/deleting a share group snapshot
|
|
16
27
|
* "--wait" option added for snapshot create/revert/delete commands
|
|
17
28
|
* "--wait" option added for managing/unmanaging a share snapshot
|
|
18
29
|
* Human readable export location CLI changes
|
{python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_replicas.py
RENAMED
|
@@ -356,6 +356,12 @@ class PromoteShareReplica(command.Command):
|
|
|
356
356
|
help=_('Quiesce wait time in seconds. Available for '
|
|
357
357
|
'microversion >= 2.75')
|
|
358
358
|
)
|
|
359
|
+
parser.add_argument(
|
|
360
|
+
'--wait',
|
|
361
|
+
action='store_true',
|
|
362
|
+
default=False,
|
|
363
|
+
help=_('Wait for share replica promotion')
|
|
364
|
+
)
|
|
359
365
|
return parser
|
|
360
366
|
|
|
361
367
|
def take_action(self, parsed_args):
|
|
@@ -377,6 +383,15 @@ class PromoteShareReplica(command.Command):
|
|
|
377
383
|
|
|
378
384
|
try:
|
|
379
385
|
share_client.share_replicas.promote(*args)
|
|
386
|
+
if parsed_args.wait:
|
|
387
|
+
if not osc_utils.wait_for_status(
|
|
388
|
+
status_f=share_client.share_replicas.get,
|
|
389
|
+
res_id=replica.id,
|
|
390
|
+
success_status=['active'],
|
|
391
|
+
status_field='replica_state'
|
|
392
|
+
):
|
|
393
|
+
LOG.error(_("ERROR: Share replica is in error state."))
|
|
394
|
+
|
|
380
395
|
except Exception as e:
|
|
381
396
|
raise exceptions.CommandError(_(
|
|
382
397
|
"Failed to promote replica to 'active': %s" % (e)))
|
{python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/osc/v2/share_servers.py
RENAMED
|
@@ -146,6 +146,23 @@ class ListShareServer(command.Lister):
|
|
|
146
146
|
"Available for microversion >= 2.51 (Optional, "
|
|
147
147
|
"Default=None)")
|
|
148
148
|
)
|
|
149
|
+
parser.add_argument(
|
|
150
|
+
'--source-share-server-id',
|
|
151
|
+
metavar='<source-share-server-id>',
|
|
152
|
+
type=str,
|
|
153
|
+
default=None,
|
|
154
|
+
help=_("Share server ID to be used as a filter. Available for "
|
|
155
|
+
"microversion >= 2.57 (Optional, Default=None)")
|
|
156
|
+
)
|
|
157
|
+
parser.add_argument(
|
|
158
|
+
'--identifier',
|
|
159
|
+
metavar='<identifier>',
|
|
160
|
+
type=str,
|
|
161
|
+
default=None,
|
|
162
|
+
help=_("Identifier of the share server in the share back end. "
|
|
163
|
+
"Available for microversion >= 2.49 "
|
|
164
|
+
"(Optional, Default=None)")
|
|
165
|
+
)
|
|
149
166
|
identity_common.add_project_domain_option_to_parser(parser)
|
|
150
167
|
return parser
|
|
151
168
|
|
|
@@ -160,12 +177,24 @@ class ListShareServer(command.Lister):
|
|
|
160
177
|
parsed_args.project,
|
|
161
178
|
parsed_args.project_domain).id
|
|
162
179
|
|
|
180
|
+
if (parsed_args.identifier and
|
|
181
|
+
share_client.api_version < api_versions.APIVersion("2.49")):
|
|
182
|
+
raise exceptions.CommandError(
|
|
183
|
+
"Filtering by identifier is only allowed with manila API "
|
|
184
|
+
"version >= 2.49."
|
|
185
|
+
)
|
|
163
186
|
if (parsed_args.share_network_subnet and
|
|
164
187
|
share_client.api_version < api_versions.APIVersion("2.51")):
|
|
165
188
|
raise exceptions.CommandError(
|
|
166
189
|
"Share network subnet can be specified only with manila API "
|
|
167
190
|
"version >= 2.51"
|
|
168
191
|
)
|
|
192
|
+
if (parsed_args.source_share_server_id and
|
|
193
|
+
share_client.api_version < api_versions.APIVersion("2.57")):
|
|
194
|
+
raise exceptions.CommandError(
|
|
195
|
+
"Filtering by source_share_server_id is only allowed with "
|
|
196
|
+
"manila API version >= 2.57."
|
|
197
|
+
)
|
|
169
198
|
|
|
170
199
|
columns = [
|
|
171
200
|
'ID',
|
|
@@ -187,6 +216,16 @@ class ListShareServer(command.Lister):
|
|
|
187
216
|
parsed_args.share_network).id
|
|
188
217
|
search_opts['share_network'] = share_network_id
|
|
189
218
|
|
|
219
|
+
if parsed_args.source_share_server_id:
|
|
220
|
+
search_opts['source_share_server_id'] = (
|
|
221
|
+
parsed_args.source_share_server_id
|
|
222
|
+
)
|
|
223
|
+
|
|
224
|
+
if parsed_args.identifier:
|
|
225
|
+
search_opts['identifier'] = (
|
|
226
|
+
parsed_args.identifier
|
|
227
|
+
)
|
|
228
|
+
|
|
190
229
|
if parsed_args.share_network_subnet:
|
|
191
230
|
search_opts['share_network_subnet_id'] = (
|
|
192
231
|
parsed_args.share_network_subnet)
|
{python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/osc/v2/fakes.py
RENAMED
|
@@ -1495,6 +1495,7 @@ class FakeShareServer(object):
|
|
|
1495
1495
|
'share_network_name': None,
|
|
1496
1496
|
'share_network_id': str(uuid.uuid4()),
|
|
1497
1497
|
'share_network_subnet_id': str(uuid.uuid4()),
|
|
1498
|
+
'source_share_server_id': str(uuid.uuid4()),
|
|
1498
1499
|
'created_at': datetime.datetime.now().isoformat(),
|
|
1499
1500
|
'is_auto_deletable': False,
|
|
1500
1501
|
'identifier': str(uuid.uuid4())
|
|
@@ -617,7 +617,10 @@ class TestShareReplicaPromote(TestShareReplica):
|
|
|
617
617
|
super(TestShareReplicaPromote, self).setUp()
|
|
618
618
|
|
|
619
619
|
self.share_replica = (
|
|
620
|
-
manila_fakes.FakeShareReplica.create_one_replica(
|
|
620
|
+
manila_fakes.FakeShareReplica.create_one_replica(
|
|
621
|
+
attrs={
|
|
622
|
+
'status': 'available'}
|
|
623
|
+
)
|
|
621
624
|
)
|
|
622
625
|
self.replicas_mock.get.return_value = self.share_replica
|
|
623
626
|
|
|
@@ -630,6 +633,7 @@ class TestShareReplicaPromote(TestShareReplica):
|
|
|
630
633
|
]
|
|
631
634
|
verifylist = [
|
|
632
635
|
('replica', self.share_replica.id),
|
|
636
|
+
('wait', False)
|
|
633
637
|
]
|
|
634
638
|
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
|
|
635
639
|
|
|
@@ -658,6 +662,28 @@ class TestShareReplicaPromote(TestShareReplica):
|
|
|
658
662
|
wait_time)
|
|
659
663
|
self.assertIsNone(result)
|
|
660
664
|
|
|
665
|
+
@mock.patch.object(osc_share_replicas.osc_utils, 'wait_for_status',
|
|
666
|
+
mock.Mock())
|
|
667
|
+
def test_share_replica_promote_wait(self):
|
|
668
|
+
arglist = [
|
|
669
|
+
self.share_replica.id,
|
|
670
|
+
'--wait'
|
|
671
|
+
]
|
|
672
|
+
verifylist = [
|
|
673
|
+
('replica', self.share_replica.id),
|
|
674
|
+
('wait', True)
|
|
675
|
+
]
|
|
676
|
+
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
|
|
677
|
+
|
|
678
|
+
result = self.cmd.take_action(parsed_args)
|
|
679
|
+
|
|
680
|
+
self.replicas_mock.promote.assert_called_with(
|
|
681
|
+
self.share_replica)
|
|
682
|
+
self.assertIsNone(result)
|
|
683
|
+
osc_share_replicas.osc_utils.wait_for_status.assert_called_once_with(
|
|
684
|
+
status_f=self.replicas_mock.get, res_id=self.share_replica.id,
|
|
685
|
+
success_status=['active'], status_field='replica_state')
|
|
686
|
+
|
|
661
687
|
def test_share_replica_promote_exception(self):
|
|
662
688
|
arglist = [
|
|
663
689
|
self.share_replica.id,
|
|
@@ -219,6 +219,56 @@ class TestListShareServer(TestShareServer):
|
|
|
219
219
|
self.assertEqual(self.columns, columns)
|
|
220
220
|
self.assertEqual(list(self.values), list(data))
|
|
221
221
|
|
|
222
|
+
def test_share_server_list_by_source_share_server(self):
|
|
223
|
+
expected_source_share_server_id = (
|
|
224
|
+
self.servers_list[0].source_share_server_id
|
|
225
|
+
)
|
|
226
|
+
arglist = [
|
|
227
|
+
'--source-share-server-id', expected_source_share_server_id,
|
|
228
|
+
]
|
|
229
|
+
verifylist = [
|
|
230
|
+
('source_share_server_id', expected_source_share_server_id),
|
|
231
|
+
]
|
|
232
|
+
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
|
|
233
|
+
|
|
234
|
+
columns, data = self.cmd.take_action(parsed_args)
|
|
235
|
+
|
|
236
|
+
search_opts = {
|
|
237
|
+
'status': None,
|
|
238
|
+
'host': None,
|
|
239
|
+
'project_id': None,
|
|
240
|
+
'source_share_server_id': expected_source_share_server_id,
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
self.servers_mock.list.assert_called_once_with(
|
|
244
|
+
search_opts=search_opts,
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
self.assertEqual(self.columns, columns)
|
|
248
|
+
self.assertEqual(list(self.values), list(data))
|
|
249
|
+
|
|
250
|
+
def test_share_server_list_by_identifier(self):
|
|
251
|
+
expected_identifier = self.servers_list[0].identifier
|
|
252
|
+
arglist = ['--identifier', expected_identifier,]
|
|
253
|
+
verifylist = [('identifier', expected_identifier),]
|
|
254
|
+
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
|
|
255
|
+
|
|
256
|
+
columns, data = self.cmd.take_action(parsed_args)
|
|
257
|
+
|
|
258
|
+
search_opts = {
|
|
259
|
+
'status': None,
|
|
260
|
+
'host': None,
|
|
261
|
+
'project_id': None,
|
|
262
|
+
'identifier': expected_identifier,
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
self.servers_mock.list.assert_called_once_with(
|
|
266
|
+
search_opts=search_opts,
|
|
267
|
+
)
|
|
268
|
+
|
|
269
|
+
self.assertEqual(self.columns, columns)
|
|
270
|
+
self.assertEqual(list(self.values), list(data))
|
|
271
|
+
|
|
222
272
|
|
|
223
273
|
class TestAdoptShareServer(TestShareServer):
|
|
224
274
|
|
|
@@ -224,12 +224,15 @@ class FakeHTTPClient(fakes.FakeHTTPClient):
|
|
|
224
224
|
|
|
225
225
|
def get_shares_detail(self, **kw):
|
|
226
226
|
endpoint = "http://127.0.0.1:8786/v2"
|
|
227
|
-
|
|
227
|
+
share_id1234 = '1234'
|
|
228
|
+
share_id1111 = '1111'
|
|
229
|
+
share_id2222 = '2222'
|
|
230
|
+
share_id3333 = '3333'
|
|
228
231
|
|
|
229
232
|
shares = {
|
|
230
233
|
'shares': [
|
|
231
234
|
{
|
|
232
|
-
'id':
|
|
235
|
+
'id': share_id1234,
|
|
233
236
|
'name': 'sharename',
|
|
234
237
|
'status': 'fake_status',
|
|
235
238
|
'size': 1,
|
|
@@ -237,9 +240,52 @@ class FakeHTTPClient(fakes.FakeHTTPClient):
|
|
|
237
240
|
'export_location': 'fake_export_location',
|
|
238
241
|
'snapshot_id': 'fake_snapshot_id',
|
|
239
242
|
'links': [
|
|
240
|
-
{"href": endpoint + "/fake_project/shares/"
|
|
241
|
-
"rel": "self"},
|
|
243
|
+
{"href": endpoint + "/fake_project/shares/"
|
|
244
|
+
+ share_id1234, "rel": "self"},
|
|
245
|
+
],
|
|
246
|
+
'metadata': {}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
'id': share_id1111,
|
|
250
|
+
'name': 'sharename1',
|
|
251
|
+
'status': 'fake_status1',
|
|
252
|
+
'size': 1,
|
|
253
|
+
'host': 'fake_host',
|
|
254
|
+
'export_location': 'fake_export_location',
|
|
255
|
+
'snapshot_id': 'fake_snapshot_id',
|
|
256
|
+
'links': [
|
|
257
|
+
{"href": endpoint + "/fake_project/shares/"
|
|
258
|
+
+ share_id1111, "rel": "self"},
|
|
259
|
+
],
|
|
260
|
+
'metadata': {}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
'id': share_id2222,
|
|
264
|
+
'name': 'sharename2',
|
|
265
|
+
'status': 'fake_status2',
|
|
266
|
+
'size': 1,
|
|
267
|
+
'host': 'fake_host',
|
|
268
|
+
'export_location': 'fake_export_location',
|
|
269
|
+
'snapshot_id': 'fake_snapshot_id',
|
|
270
|
+
'links': [
|
|
271
|
+
{"href": endpoint + "/fake_project/shares/"
|
|
272
|
+
+ share_id2222, "rel": "self"},
|
|
273
|
+
],
|
|
274
|
+
'metadata': {'key1': 'value1'}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
'id': share_id3333,
|
|
278
|
+
'name': 'sharename3',
|
|
279
|
+
'status': 'fake_status3',
|
|
280
|
+
'size': 1,
|
|
281
|
+
'host': 'fake_host',
|
|
282
|
+
'export_location': 'fake_export_location',
|
|
283
|
+
'snapshot_id': 'fake_snapshot_id',
|
|
284
|
+
'links': [
|
|
285
|
+
{"href": endpoint + "/fake_project/shares/"
|
|
286
|
+
+ share_id3333, "rel": "self"},
|
|
242
287
|
],
|
|
288
|
+
'metadata': {'key1': 'value1', 'key2': 'value2'}
|
|
243
289
|
},
|
|
244
290
|
],
|
|
245
291
|
}
|
{python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_client.py
RENAMED
|
@@ -139,7 +139,7 @@ class ClientTest(utils.TestCase):
|
|
|
139
139
|
|
|
140
140
|
def _get_client_args(self, **kwargs):
|
|
141
141
|
client_args = {
|
|
142
|
-
'auth_url': '
|
|
142
|
+
'auth_url': 'http://identity.example.com',
|
|
143
143
|
'api_version': manilaclient.API_DEPRECATED_VERSION,
|
|
144
144
|
'username': 'fake_username',
|
|
145
145
|
'service_type': 'sharev2',
|
|
@@ -160,17 +160,17 @@ class ClientTest(utils.TestCase):
|
|
|
160
160
|
return client_args
|
|
161
161
|
|
|
162
162
|
@ddt.data(
|
|
163
|
-
{'auth_url': '
|
|
164
|
-
'
|
|
163
|
+
{'auth_url': 'http://identity.example.com',
|
|
164
|
+
'password': 'password_backward_compat',
|
|
165
|
+
'endpoint_type': 'publicURL',
|
|
166
|
+
'project_id': 'foo_tenant_project_id'},
|
|
165
167
|
{'password': 'renamed_api_key', 'endpoint_type': 'public',
|
|
166
168
|
'tenant_id': 'foo_tenant_project_id'},
|
|
167
169
|
)
|
|
168
|
-
def
|
|
170
|
+
def test_client_init_no_session_no_auth_token(self, kwargs):
|
|
169
171
|
def fake_url_for(version):
|
|
170
172
|
if version == 'v3.0':
|
|
171
173
|
return 'url_v3.0'
|
|
172
|
-
elif version == 'v2.0' and self.auth_url == 'both':
|
|
173
|
-
return 'url_v2.0'
|
|
174
174
|
else:
|
|
175
175
|
return None
|
|
176
176
|
|
|
@@ -232,55 +232,6 @@ class ClientTest(utils.TestCase):
|
|
|
232
232
|
client_args['service_type'])
|
|
233
233
|
mocked_ks_client.authenticate.assert_called_with()
|
|
234
234
|
|
|
235
|
-
@ddt.data(
|
|
236
|
-
{'auth_url': 'only_v2', 'password': 'foo', 'project_id': 'bar'},
|
|
237
|
-
{'password': 'foo', 'tenant_id': 'bar'},
|
|
238
|
-
)
|
|
239
|
-
def test_client_init_no_session_no_auth_token_v2(self, kwargs):
|
|
240
|
-
self.mock_object(client.httpclient, 'HTTPClient')
|
|
241
|
-
self.mock_object(client.ks_client, 'Client')
|
|
242
|
-
self.mock_object(client.session.discover, 'Discover')
|
|
243
|
-
self.mock_object(client.session, 'Session')
|
|
244
|
-
client_args = self._get_client_args(**kwargs)
|
|
245
|
-
client_args['api_version'] = manilaclient.API_MIN_VERSION
|
|
246
|
-
self.auth_url = client_args['auth_url']
|
|
247
|
-
catalog = {
|
|
248
|
-
'share': [
|
|
249
|
-
{'region': 'SecondRegion', 'publicUrl': 'http://4.4.4.4'},
|
|
250
|
-
],
|
|
251
|
-
'sharev2': [
|
|
252
|
-
{'region': 'FirstRegion', 'publicUrl': 'http://1.1.1.1'},
|
|
253
|
-
{'region': 'secondregion', 'publicUrl': 'http://2.2.2.2'},
|
|
254
|
-
{'region': 'SecondRegion', 'internalUrl': 'http://3.3.3.1',
|
|
255
|
-
'publicUrl': 'http://3.3.3.3', 'adminUrl': 'http://3.3.3.2'},
|
|
256
|
-
],
|
|
257
|
-
}
|
|
258
|
-
client.session.discover.Discover.return_value.url_for.side_effect = (
|
|
259
|
-
lambda v: 'url_v2.0' if v == 'v2.0' else None)
|
|
260
|
-
client.ks_client.Client.return_value.auth_token.return_value = (
|
|
261
|
-
'fake_token')
|
|
262
|
-
mocked_ks_client = client.ks_client.Client.return_value
|
|
263
|
-
mocked_ks_client.service_catalog.get_endpoints.return_value = catalog
|
|
264
|
-
|
|
265
|
-
client.Client(**client_args)
|
|
266
|
-
|
|
267
|
-
client.httpclient.HTTPClient.assert_called_with(
|
|
268
|
-
'http://3.3.3.3', mock.ANY, 'python-manilaclient', insecure=False,
|
|
269
|
-
cacert=None, cert=client_args['cert'], timeout=None, retries=None,
|
|
270
|
-
http_log_debug=False, api_version=manilaclient.API_MIN_VERSION)
|
|
271
|
-
client.ks_client.Client.assert_called_with(
|
|
272
|
-
session=mock.ANY, version=(2, 0), auth_url='url_v2.0',
|
|
273
|
-
username=client_args['username'],
|
|
274
|
-
password=client_args.get('password'),
|
|
275
|
-
tenant_id=client_args.get('tenant_id',
|
|
276
|
-
client_args.get('project_id')),
|
|
277
|
-
tenant_name=client_args['project_name'],
|
|
278
|
-
region_name=client_args['region_name'], cert=client_args['cert'],
|
|
279
|
-
use_keyring=False, force_new_token=False, stale_duration=300)
|
|
280
|
-
mocked_ks_client.service_catalog.get_endpoints.assert_called_with(
|
|
281
|
-
client_args['service_type'])
|
|
282
|
-
mocked_ks_client.authenticate.assert_called_with()
|
|
283
|
-
|
|
284
235
|
@mock.patch.object(client.ks_client, 'Client', mock.Mock())
|
|
285
236
|
@mock.patch.object(client.session.discover, 'Discover', mock.Mock())
|
|
286
237
|
@mock.patch.object(client.session, 'Session', mock.Mock())
|
{python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_shares.py
RENAMED
|
@@ -421,7 +421,7 @@ class SharesTest(utils.TestCase):
|
|
|
421
421
|
cs.assert_called(
|
|
422
422
|
'GET', '/shares/detail?is_public=True&with_count=True')
|
|
423
423
|
self.assertEqual(2, count)
|
|
424
|
-
self.assertEqual(
|
|
424
|
+
self.assertEqual(4, len(shares))
|
|
425
425
|
|
|
426
426
|
def test_list_shares_detailed_with_count(self):
|
|
427
427
|
cs.shares.list(detailed=True)
|
{python-manilaclient-4.9.1 → python-manilaclient-5.0.0}/manilaclient/tests/unit/v2/test_shell.py
RENAMED
|
@@ -231,8 +231,65 @@ class ShellTest(test_utils.TestCase):
|
|
|
231
231
|
|
|
232
232
|
def test_list_filter_by_metadata(self):
|
|
233
233
|
self.run_command('list --metadata key=value')
|
|
234
|
+
# /shares/detail?metadata={'key': 'value'}
|
|
234
235
|
self.assert_called(
|
|
235
|
-
'GET', '/shares/detail?metadata
|
|
236
|
+
'GET', '/shares/detail?metadata='
|
|
237
|
+
'%7B%27key%27%3A+%27value%27%7D')
|
|
238
|
+
|
|
239
|
+
def test_list_filter_by_metadata_with_multiple_key_values(self):
|
|
240
|
+
self.run_command('list --metadata key1=value1 '
|
|
241
|
+
'key2=value2 key3=value3')
|
|
242
|
+
# /shares/detail?metadata={'key1': 'value1',
|
|
243
|
+
# 'key2': 'value2', 'key3': 'value3'}
|
|
244
|
+
self.assert_called(
|
|
245
|
+
'GET', '/shares/detail?metadata='
|
|
246
|
+
'%7B%27key1%27%3A+%27value1%27%2C+%27key2%27%3A+'
|
|
247
|
+
'%27value2%27%2C+%27key3%27%3A+%27value3%27%7D')
|
|
248
|
+
|
|
249
|
+
@mock.patch.object(cliutils, 'print_list', mock.Mock())
|
|
250
|
+
def test_list_filter_by_metadata_with_empty_metadata(self):
|
|
251
|
+
self.run_command('list --metadata \'\'')
|
|
252
|
+
|
|
253
|
+
self.assert_called(
|
|
254
|
+
'GET', '/shares/detail')
|
|
255
|
+
cliutils.print_list.assert_called()
|
|
256
|
+
args, _ = cliutils.print_list.call_args
|
|
257
|
+
shares = args[0]
|
|
258
|
+
# All 4 shares irrespective of metadata values printed
|
|
259
|
+
self.assertEqual(len(shares), 4)
|
|
260
|
+
|
|
261
|
+
@mock.patch.object(cliutils, 'print_list', mock.Mock())
|
|
262
|
+
def test_list_filter_by_metadata_set_to_None(self):
|
|
263
|
+
self.run_command('list --metadata None')
|
|
264
|
+
|
|
265
|
+
self.assert_called(
|
|
266
|
+
'GET', '/shares/detail')
|
|
267
|
+
cliutils.print_list.assert_called()
|
|
268
|
+
args, _ = cliutils.print_list.call_args
|
|
269
|
+
shares = args[0]
|
|
270
|
+
# Check that the size of shares is 2(shares with metadata={})
|
|
271
|
+
self.assertEqual(len(shares), 2)
|
|
272
|
+
for share in shares:
|
|
273
|
+
self.assertEqual(share.metadata, {})
|
|
274
|
+
|
|
275
|
+
def test_list_filter_by_metadata_with_one_empty_of_many_metadata(self):
|
|
276
|
+
self.run_command('list --metadata key=value \'\'')
|
|
277
|
+
# /shares/detail?metadata={'key': 'value'}
|
|
278
|
+
self.assert_called(
|
|
279
|
+
'GET', '/shares/detail?metadata='
|
|
280
|
+
'%7B%27key%27%3A+%27value%27%7D')
|
|
281
|
+
|
|
282
|
+
@mock.patch.object(cliutils, 'print_list', mock.Mock())
|
|
283
|
+
def test_list_filter_by_metadata_with_no_metadata(self):
|
|
284
|
+
self.run_command('list --metadata')
|
|
285
|
+
# /shares/detail
|
|
286
|
+
self.assert_called(
|
|
287
|
+
'GET', '/shares/detail')
|
|
288
|
+
cliutils.print_list.assert_called()
|
|
289
|
+
args, _ = cliutils.print_list.call_args
|
|
290
|
+
shares = args[0]
|
|
291
|
+
# All 4 shares printed
|
|
292
|
+
self.assertEqual(len(shares), 4)
|
|
236
293
|
|
|
237
294
|
def test_list_filter_by_extra_specs_and_its_aliases(self):
|
|
238
295
|
aliases = ['--extra-specs', '--extra_specs', ]
|
|
@@ -3086,6 +3143,7 @@ class ShellTest(test_utils.TestCase):
|
|
|
3086
3143
|
'--description my_fake_description --name fake_name fake-sg-id',
|
|
3087
3144
|
)
|
|
3088
3145
|
@mock.patch.object(shell_v2, '_find_share_group', mock.Mock())
|
|
3146
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3089
3147
|
def test_share_group_snapshot_create(self, data):
|
|
3090
3148
|
fake_sg = type('FakeShareGroup', (object,), {'id': '1234'})
|
|
3091
3149
|
shell_v2._find_share_group.return_value = fake_sg
|
|
@@ -3094,6 +3152,21 @@ class ShellTest(test_utils.TestCase):
|
|
|
3094
3152
|
|
|
3095
3153
|
shell_v2._find_share_group.assert_called_with(mock.ANY, 'fake-sg-id')
|
|
3096
3154
|
self.assert_called('POST', '/share-group-snapshots')
|
|
3155
|
+
self.assertEqual(0, shell_v2._wait_for_resource_status.call_count)
|
|
3156
|
+
|
|
3157
|
+
@mock.patch.object(shell_v2, '_find_share_group', mock.Mock())
|
|
3158
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3159
|
+
def test_share_group_snapshot_create_with_wait(self):
|
|
3160
|
+
fake_sg = type('FakeShareGroup', (object,), {'id': '1234'})
|
|
3161
|
+
shell_v2._find_share_group.return_value = fake_sg
|
|
3162
|
+
self.run_command('share-group-snapshot-create fake-sg-id --wait')
|
|
3163
|
+
|
|
3164
|
+
shell_v2._find_share_group.assert_called_with(mock.ANY, 'fake-sg-id')
|
|
3165
|
+
self.assert_called('POST', '/share-group-snapshots')
|
|
3166
|
+
# _wait_for_resource_status should be triggered once
|
|
3167
|
+
shell_v2._wait_for_resource_status.assert_called_once_with(
|
|
3168
|
+
self.shell.cs, mock.ANY, resource_type='share_group_snapshot',
|
|
3169
|
+
expected_status='available')
|
|
3097
3170
|
|
|
3098
3171
|
@mock.patch.object(cliutils, 'print_list', mock.Mock())
|
|
3099
3172
|
def test_share_group_snapshot_list(self):
|
|
@@ -3195,6 +3268,7 @@ class ShellTest(test_utils.TestCase):
|
|
|
3195
3268
|
self.run_command, 'share-group-snapshot-update 1234')
|
|
3196
3269
|
|
|
3197
3270
|
@mock.patch.object(shell_v2, '_find_share_group_snapshot', mock.Mock())
|
|
3271
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3198
3272
|
def test_share_group_snapshot_delete(self):
|
|
3199
3273
|
fake_sg_snapshot = type('FakeSGSnapshot', (object,), {'id': '1234'})
|
|
3200
3274
|
shell_v2._find_share_group_snapshot.return_value = fake_sg_snapshot
|
|
@@ -3202,6 +3276,22 @@ class ShellTest(test_utils.TestCase):
|
|
|
3202
3276
|
self.run_command('share-group-snapshot-delete fake-group-snapshot')
|
|
3203
3277
|
|
|
3204
3278
|
self.assert_called('DELETE', '/share-group-snapshots/1234')
|
|
3279
|
+
self.assertEqual(0, shell_v2._wait_for_resource_status.call_count)
|
|
3280
|
+
|
|
3281
|
+
@mock.patch.object(shell_v2, '_find_share_group_snapshot', mock.Mock())
|
|
3282
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3283
|
+
def test_share_group_snapshot_delete_with_wait(self):
|
|
3284
|
+
fake_sg_snapshot = type('FakeSGSnapshot', (object,), {'id': '1234'})
|
|
3285
|
+
shell_v2._find_share_group_snapshot.return_value = fake_sg_snapshot
|
|
3286
|
+
|
|
3287
|
+
self.run_command('share-group-snapshot-delete fake-group-snapshot'
|
|
3288
|
+
' --wait')
|
|
3289
|
+
|
|
3290
|
+
self.assert_called('DELETE', '/share-group-snapshots/1234')
|
|
3291
|
+
# _wait_for_resource_status should be triggered once
|
|
3292
|
+
shell_v2._wait_for_resource_status.assert_called_once_with(
|
|
3293
|
+
self.shell.cs, mock.ANY, resource_type='share_group_snapshot',
|
|
3294
|
+
expected_status='deleted')
|
|
3205
3295
|
|
|
3206
3296
|
@mock.patch.object(shell_v2, '_find_share_group_snapshot', mock.Mock())
|
|
3207
3297
|
def test_share_group_snapshot_delete_force(self):
|
|
@@ -3420,6 +3510,7 @@ class ShellTest(test_utils.TestCase):
|
|
|
3420
3510
|
|
|
3421
3511
|
@ddt.data(True, False)
|
|
3422
3512
|
@mock.patch.object(shell_v2, '_find_share_replica', mock.Mock())
|
|
3513
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3423
3514
|
def test_share_replica_delete_force(self, force):
|
|
3424
3515
|
|
|
3425
3516
|
fake_replica = type('FakeShareReplica', (object,), {'id': '1234'})
|
|
@@ -3433,6 +3524,23 @@ class ShellTest(test_utils.TestCase):
|
|
|
3433
3524
|
body={'force_delete': None})
|
|
3434
3525
|
else:
|
|
3435
3526
|
self.assert_called('DELETE', '/share-replicas/1234')
|
|
3527
|
+
self.assertEqual(0, shell_v2._wait_for_resource_status.call_count)
|
|
3528
|
+
|
|
3529
|
+
@mock.patch.object(shell_v2, '_find_share_replica', mock.Mock())
|
|
3530
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3531
|
+
def test_share_replica_delete_with_wait(self):
|
|
3532
|
+
|
|
3533
|
+
fake_replica = type('FakeShareReplica', (object,), {'id': '1234'})
|
|
3534
|
+
shell_v2._find_share_replica.return_value = fake_replica
|
|
3535
|
+
|
|
3536
|
+
self.run_command('share-replica-delete fake-replica --wait')
|
|
3537
|
+
|
|
3538
|
+
self.assert_called('DELETE', '/share-replicas/1234')
|
|
3539
|
+
|
|
3540
|
+
# _wait_for_resource_status should be triggered once
|
|
3541
|
+
shell_v2._wait_for_resource_status.assert_called_once_with(
|
|
3542
|
+
self.shell.cs, mock.ANY, resource_type='share_replica',
|
|
3543
|
+
expected_status='deleted')
|
|
3436
3544
|
|
|
3437
3545
|
@ddt.data([1, 0], [1, 1], [2, 0], [2, 1], [2, 2])
|
|
3438
3546
|
@ddt.unpack
|
|
@@ -3504,6 +3612,7 @@ class ShellTest(test_utils.TestCase):
|
|
|
3504
3612
|
'fake-share-id --availability-zone fake-az',
|
|
3505
3613
|
)
|
|
3506
3614
|
@mock.patch.object(shell_v2, '_find_share', mock.Mock())
|
|
3615
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3507
3616
|
def test_share_replica_create(self, data):
|
|
3508
3617
|
|
|
3509
3618
|
fshare = type('FakeShare', (object,), {'id': 'fake-share-id'})
|
|
@@ -3515,6 +3624,26 @@ class ShellTest(test_utils.TestCase):
|
|
|
3515
3624
|
|
|
3516
3625
|
shell_v2._find_share.assert_called_with(mock.ANY, fshare.id)
|
|
3517
3626
|
self.assert_called('POST', '/share-replicas')
|
|
3627
|
+
self.assertEqual(0, shell_v2._wait_for_resource_status.call_count)
|
|
3628
|
+
|
|
3629
|
+
@mock.patch.object(shell_v2, '_find_share', mock.Mock())
|
|
3630
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3631
|
+
def test_share_replica_create_with_wait(self):
|
|
3632
|
+
|
|
3633
|
+
fshare = type('FakeShare', (object,), {'id': 'fake-share-id'})
|
|
3634
|
+
shell_v2._find_share.return_value = fshare
|
|
3635
|
+
|
|
3636
|
+
cmd = ('share-replica-create fake-share-id '
|
|
3637
|
+
'--availability-zone fake-az --wait')
|
|
3638
|
+
|
|
3639
|
+
self.run_command(cmd)
|
|
3640
|
+
|
|
3641
|
+
shell_v2._find_share.assert_called_with(mock.ANY, fshare.id)
|
|
3642
|
+
self.assert_called('POST', '/share-replicas')
|
|
3643
|
+
# _wait_for_resource_status should be triggered once
|
|
3644
|
+
shell_v2._wait_for_resource_status.assert_called_once_with(
|
|
3645
|
+
self.shell.cs, mock.ANY, resource_type='share_replica',
|
|
3646
|
+
expected_status='available')
|
|
3518
3647
|
|
|
3519
3648
|
def test_share_replica_show(self):
|
|
3520
3649
|
|
|
@@ -3523,6 +3652,7 @@ class ShellTest(test_utils.TestCase):
|
|
|
3523
3652
|
self.assert_called_anytime('GET', '/share-replicas/5678')
|
|
3524
3653
|
|
|
3525
3654
|
@mock.patch.object(shell_v2, '_find_share_replica', mock.Mock())
|
|
3655
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3526
3656
|
def test_share_replica_promote_quiesce_wait_time(self):
|
|
3527
3657
|
fake_replica = type('FakeShareReplica', (object,), {'id': '1234'})
|
|
3528
3658
|
shell_v2._find_share_replica.return_value = fake_replica
|
|
@@ -3532,6 +3662,21 @@ class ShellTest(test_utils.TestCase):
|
|
|
3532
3662
|
self.assert_called(
|
|
3533
3663
|
'POST', '/share-replicas/1234/action',
|
|
3534
3664
|
body={'promote': {'quiesce_wait_time': '5'}})
|
|
3665
|
+
self.assertEqual(0, shell_v2._wait_for_resource_status.call_count)
|
|
3666
|
+
|
|
3667
|
+
@mock.patch.object(shell_v2, '_find_share_replica', mock.Mock())
|
|
3668
|
+
@mock.patch.object(shell_v2, '_wait_for_resource_status', mock.Mock())
|
|
3669
|
+
def test_share_replica_promote_with_wait_(self):
|
|
3670
|
+
fake_replica = type('FakeShareReplica', (object,), {'id': '1234'})
|
|
3671
|
+
shell_v2._find_share_replica.return_value = fake_replica
|
|
3672
|
+
cmd = ('share-replica-promote ' + fake_replica.id + ' --wait')
|
|
3673
|
+
self.run_command(cmd)
|
|
3674
|
+
self.assert_called(
|
|
3675
|
+
'POST', '/share-replicas/1234/action')
|
|
3676
|
+
# _wait_for_resource_status should be triggered once
|
|
3677
|
+
shell_v2._wait_for_resource_status.assert_called_once_with(
|
|
3678
|
+
self.shell.cs, mock.ANY, resource_type='share_replica',
|
|
3679
|
+
expected_status='active', status_attr='replica_state')
|
|
3535
3680
|
|
|
3536
3681
|
@ddt.data('promote', 'resync')
|
|
3537
3682
|
@mock.patch.object(shell_v2, '_find_share_replica', mock.Mock())
|