python-manilaclient 5.5.0__tar.gz → 5.7.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-5.5.0 → python_manilaclient-5.7.0}/.pre-commit-config.yaml +15 -16
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/AUTHORS +6 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/ChangeLog +30 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/PKG-INFO +11 -13
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/cli/osc_plugin_cli.rst +7 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/conf.py +13 -6
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/__init__.py +2 -1
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/api_versions.py +137 -80
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/base.py +69 -52
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/client.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/apiclient/exceptions.py +65 -16
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/apiclient/utils.py +14 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/cliutils.py +25 -11
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/constants.py +32 -15
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/httpclient.py +46 -30
- python_manilaclient-5.7.0/manilaclient/config.py +328 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/exceptions.py +4 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/extension.py +1 -1
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/plugin.py +56 -32
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/utils.py +24 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/availability_zones.py +8 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/messages.py +71 -41
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/quotas.py +191 -109
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/resource_locks.py +118 -82
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/security_services.py +192 -124
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/services.py +50 -33
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share.py +590 -404
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_access_rules.py +181 -124
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_backups.py +185 -102
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_group_snapshots.py +114 -86
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_group_type_access.py +65 -41
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_group_types.py +113 -77
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_groups.py +155 -119
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_instance_export_locations.py +16 -17
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_instances.py +62 -42
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_limits.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_network_subnets.py +166 -93
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_networks.py +304 -186
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_pools.py +42 -22
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_replica_export_locations.py +17 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_replicas.py +157 -110
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_servers.py +244 -166
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_snapshot_instance_export_locations.py +22 -15
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_snapshot_instances.py +60 -33
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_snapshots.py +303 -241
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_transfers.py +107 -66
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_type_access.py +27 -18
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/share_types.py +163 -105
- python_manilaclient-5.7.0/manilaclient/shell.py +858 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/base.py +210 -99
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/client.py +848 -584
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/exceptions.py +8 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/base.py +211 -122
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_availability_zones.py +1 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_messages.py +66 -36
- python_manilaclient-5.7.0/manilaclient/tests/functional/osc/test_resource_locks.py +191 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_access_rules.py +87 -69
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_backups.py +71 -49
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_group_type_access.py +30 -16
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_limits.py +17 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_network_subnets.py +3 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_networks.py +46 -33
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_pools.py +9 -17
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_replica_export_locations.py +26 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_replicas.py +23 -18
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_services.py +25 -23
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_snapshot_instances.py +47 -34
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_snapshots.py +80 -78
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_transfers.py +45 -25
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_share_types.py +48 -51
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_shares.py +61 -45
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/test_shares_group_type.py +62 -51
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_availability_zones.py +2 -2
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_common.py +16 -6
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_export_locations.py +34 -23
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_limits.py +0 -1
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_messages.py +17 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_quotas.py +141 -76
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_scheduler_stats.py +8 -8
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_security_services.py +1 -2
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_services.py +0 -1
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_access.py +138 -77
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_network_subnets.py +27 -17
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_networks.py +231 -123
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_replica_export_locations.py +39 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_replicas.py +6 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_servers.py +102 -61
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_transfers.py +13 -8
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_share_types.py +243 -130
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_shares.py +90 -57
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_shares_listing.py +105 -61
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_shares_metadata.py +17 -17
- python_manilaclient-5.7.0/manilaclient/tests/functional/test_snapshot_access.py +221 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_snapshot_instances.py +50 -29
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_snapshot_instances_export_locations.py +39 -25
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/test_snapshots_export_locations.py +23 -17
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/utils.py +50 -25
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/common/test_httpclient.py +75 -51
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/fakes.py +18 -14
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/osc_fakes.py +20 -24
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/osc_utils.py +10 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/fakes.py +185 -190
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_availability_zones.py +9 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_messages.py +52 -64
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_quotas.py +130 -147
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_resource_locks.py +80 -82
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_security_services.py +205 -132
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_services.py +77 -69
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share.py +586 -582
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_access_rules.py +104 -155
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_backups.py +140 -153
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_group_snapshots.py +167 -214
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_group_type.py +144 -131
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_group_type_access.py +33 -46
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_groups.py +172 -253
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_instance_export_locations.py +37 -45
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_instances.py +88 -117
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_limits.py +14 -22
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_network_subnets.py +265 -100
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_networks.py +374 -218
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_pools.py +37 -37
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_replica_export_locations.py +30 -43
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_replicas.py +171 -254
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_servers.py +258 -253
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_snapshot_instance_export_locations.py +66 -56
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_snapshot_instances.py +90 -77
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_snapshots.py +330 -432
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_transfers.py +77 -93
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_type.py +146 -176
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/test_share_type_access.py +35 -51
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/test_api_versions.py +91 -70
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/test_base.py +5 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/test_client.py +25 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/test_functional_utils.py +105 -72
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/test_shell.py +187 -100
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/utils.py +14 -8
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_limits.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_quota_classes.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_quotas.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_scheduler_stats.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_security_services.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_services.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_share_networks.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_share_servers.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_share_snapshots.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_share_type_access.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_share_types.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v1/test_shares.py +5 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/fake_clients.py +34 -26
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/fakes.py +358 -228
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_availability_zones.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_client.py +137 -54
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_limits.py +62 -38
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_messages.py +43 -27
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_quota_classes.py +22 -13
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_quotas.py +113 -75
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_scheduler_stats.py +13 -12
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_security_services.py +70 -48
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_services.py +12 -12
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_backups.py +31 -14
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_export_locations.py +5 -10
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_group_snapshots.py +94 -52
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_group_type_access.py +32 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_group_types.py +68 -37
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_groups.py +73 -41
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_instance_export_locations.py +14 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_instances.py +27 -20
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_network_subnets.py +17 -15
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_networks.py +82 -78
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_replica_export_locations.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_replicas.py +32 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_servers.py +115 -70
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_snapshot_export_locations.py +6 -8
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_snapshot_instance_export_locations.py +16 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_snapshot_instances.py +15 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_snapshots.py +70 -49
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_share_transfers.py +9 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_shares.py +461 -227
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_shell.py +1999 -1315
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_type_access.py +19 -14
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/test_types.py +203 -117
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/utils.py +3 -2
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/__init__.py +1 -1
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/client.py +75 -48
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/contrib/list_extensions.py +5 -3
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/limits.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/quota_classes.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/quotas.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/scheduler_stats.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/security_services.py +10 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/services.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/share_networks.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/share_servers.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/share_snapshots.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/share_type_access.py +10 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/share_types.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/shares.py +7 -5
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/__init__.py +1 -1
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/availability_zones.py +2 -2
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/client.py +102 -60
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/limits.py +26 -19
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/messages.py +12 -5
- python_manilaclient-5.7.0/manilaclient/v2/quota_classes.py +204 -0
- python_manilaclient-5.7.0/manilaclient/v2/quotas.py +431 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/resource_locks.py +25 -14
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/scheduler_stats.py +4 -10
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/security_services.py +127 -46
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/services.py +15 -11
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_access_rules.py +3 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_backups.py +26 -15
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_export_locations.py +16 -14
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_group_snapshots.py +50 -26
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_group_type_access.py +11 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_group_types.py +23 -14
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_groups.py +84 -34
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_instance_export_locations.py +11 -9
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_instances.py +6 -4
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_network_subnets.py +57 -33
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_networks.py +82 -41
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_replica_export_locations.py +18 -13
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_replicas.py +34 -17
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_servers.py +83 -38
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_snapshot_export_locations.py +11 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_snapshot_instance_export_locations.py +11 -7
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_snapshot_instances.py +7 -6
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_snapshots.py +59 -33
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_transfers.py +26 -16
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_type_access.py +5 -6
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/share_types.py +105 -55
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/shares.py +362 -137
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/shell.py +2331 -1506
- python_manilaclient-5.7.0/pyproject.toml +213 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/PKG-INFO +11 -13
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/SOURCES.txt +11 -0
- python_manilaclient-5.7.0/python_manilaclient.egg-info/pbr.json +1 -0
- python_manilaclient-5.7.0/releasenotes/notes/add-encryption-key-ref-option-for-share-create-api-035aec5b31d7c37b.yaml +11 -0
- python_manilaclient-5.7.0/releasenotes/notes/add-support-of-api-endpoint-override-e36e75246d39a367.yaml +6 -0
- python_manilaclient-5.7.0/releasenotes/notes/add-wait-flag-share-server-unmanage-819dd42abc2a4d2b.yaml +6 -0
- python_manilaclient-5.7.0/releasenotes/notes/bug-2051394-fix-validate-neutron-info-ebe679675111eec9.yaml +12 -0
- python_manilaclient-5.7.0/releasenotes/notes/bug-2057951-fix-client-region-name-67fed93b76429b63.yaml +9 -0
- python_manilaclient-5.7.0/releasenotes/notes/bug-2108991-fix-task-state-none-handling-in-osc-share-set-307f3f4a2b232dd8.yaml +7 -0
- python_manilaclient-5.7.0/releasenotes/notes/bug-2109376-fix-ensure-shares-command-69feb1794fea418a.yaml +5 -0
- python_manilaclient-5.7.0/releasenotes/notes/remove-py39-5278e896dc045854.yaml +5 -0
- python_manilaclient-5.7.0/releasenotes/notes/share-backup-out-of-place-restore-98740badef59ba32.yaml +7 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/2024.1.rst +1 -1
- python_manilaclient-5.7.0/releasenotes/source/2025.2.rst +6 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/conf.py +23 -13
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/index.rst +1 -0
- python_manilaclient-5.7.0/setup.cfg +7 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/setup.py +1 -3
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/tox.ini +13 -18
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/zuul.d/python-manilaclient-jobs.yaml +0 -1
- python_manilaclient-5.5.0/manilaclient/config.py +0 -243
- python_manilaclient-5.5.0/manilaclient/shell.py +0 -783
- python_manilaclient-5.5.0/manilaclient/tests/functional/osc/test_resource_locks.py +0 -167
- python_manilaclient-5.5.0/manilaclient/tests/functional/test_snapshot_access.py +0 -184
- python_manilaclient-5.5.0/manilaclient/v2/quota_classes.py +0 -139
- python_manilaclient-5.5.0/manilaclient/v2/quotas.py +0 -268
- python_manilaclient-5.5.0/python_manilaclient.egg-info/pbr.json +0 -1
- python_manilaclient-5.5.0/setup.cfg +0 -193
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/.stestr.conf +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/CONTRIBUTING.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/HACKING +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/LICENSE +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/README.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/bindep.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/.gitignore +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/Makefile +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/requirements.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/cli/decoder.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/cli/osc/manila.csv +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/cli/osc/v2/index.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/contributor/adding_release_notes.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/contributor/contributing.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/contributor/functional-tests.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/contributor/index.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/index.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/user/api.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/doc/source/user/shell.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/etc/manilaclient/README.manilaclient.conf +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/etc/oslo-config-generator/manilaclient.conf +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/_i18n.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/common/apiclient/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/osc/v2/data/manila.csv +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/functional/osc/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/common/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/common/apiclient/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/osc/v2/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/tests/unit/v2/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v1/contrib/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/contrib/__init__.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/manilaclient/v2/contrib/list_extensions.py +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/playbooks/enable-fips.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/playbooks/python-manilaclient-functional/post.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/playbooks/python-manilaclient-functional/run.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/dependency_links.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/entry_points.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/not-zip-safe +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/requires.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/python_manilaclient.egg-info/top_level.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/rally-jobs/rally-manila-no-ss.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/rally-jobs/rally-manila.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/.placeholder +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/Bug-1990013-fix-share-grou-from-snapshot-create-fa3629cf1417ba20.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-access-visibility-and-deletion-locks-69978f052e25334c.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-count-info-in-share-21a6b36c0f4c87b2.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-count-info-in-snapshot-c9600adad648a486.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-dash-dash-help-subcomand-ad4226454aa07bc6.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-defaultadsite-to-security-service-33fd0a5d1b865b11.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-ensure-shares-command-6cd854408de1979b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-export-location-filter-4cf3114doe40k598.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-ipv6-access-type-4dko90r1a9a1e0b8.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-like-filter-591572762357ef4b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-message-list-and-delete-41b3323edd63d894.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-metadata-for-share-access-rule-11a6b36c0f4c87c2.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-per-share-gigabytes-quotas-40bc404bd3cbdd89.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-query-params-pools-list-api-12cf1s14ddf40kdd.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-quiesce-wait-time-for-replica-promote-30d9fa66afc854f2.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-quota-per-share-type-support-3b2708ea232e69bc.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-scheduler-hints-to-share-create-70d429cb0aaf8f11.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-scheduler-hints-to-share-replica-create-d152a3934e5ad3a7.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-share-group-quotas-support-b6563cec58209a1d.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-share-group-support-a3166f6ca4d06a81.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-share-network-sec-service-add-update-to-in-use-networks-ec7a60d07ebceaf4.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-share-replicas-and-replica-gigabytes-quotas-909436c2b2420f2c.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-snapshot-instances-admin-api-3cf3114doe40k598.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-snapshot-metadata-49b0288bf2f12bf0.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-subnet-metadata-82426986431b0179.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-support-filter-search-for-share-type-fdbaaa9510cc59dd.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add-support-to-check-quota-usage-scfdg14dod40k71a.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add_export_location_metadata-e023dccf4c28bd76.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/add_support_multiple_subnet_per_az-46145c3e90e097be.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-allow-locking-shares-against-deletion-89e51e27368cda46.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-export-locations-replica-az-commands-03aa32c08f59c42d.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-integrate-os-profiler-4818066dc2fbf7b7.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-ocata-migration-improvements-f63c5d233856fbee.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-pass-share-network-subnet-metadata-updates-to-backend-drivers-61135da17758d9f2.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-support-group-spec-search-share-group-type-api-d5d9a6096f084b91.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-support-query-user-messages-by-timestamp-34b70bba2d1b4d13.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-support-share-transfer-between-project-faefead551380eca.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bp-update-share-type-name-or-description-32d98b5a42cd8090.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1558995-fix-endpoint-not-found.yaml-a06a3b0ba5006718.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1608664-add-support-columns-share-replica-list-885bd8c8b4bfa8f1.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1611506-allow-deletion-multiple-resources +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1622540-add-missing-az-list-command-f90265de5c2f261b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1650774-share-instance-reset-state-9c4b26f44b5da0e9.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1664877-c462bfad92ce03e5.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1674915-allow-user-access-fix-495b3e42bdc985ec.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1682726-remove-sort-key-export-location-from-list-885des26bd5ea2de.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1707303-fix-list-command-when-not-given-search-opts-c06af7b344e9cb91.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1709746-add-group-specs-in-share-group-type-create-command-f91265de5c2f251b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1717940-dash-dash-column-reports-nothing-for-capabilities-db8c1234fae91af5.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1724183-add-share-type-description-8c4b26f44b5da1e9.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1733494-allow-user-group-name-with-blank-access-fix-885a3e42bdc985ec.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1738917-and-1738918-fix-access-share-group-type-by-name-3a8760522c147f28.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1782847-filter-list-resources-with-empty-metadata-key-value-cc6f858994f6e9ee.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1798229-fix-create-share-from-snap-using-name-44100b907ea6a040.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1799934-add-ou-parameter-260f9aaf939d1919.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1802059-fix-is_default-a8d3d95ffa0aede9.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1811516-bug-1811627-python3-fixes-4b26130027b2c076.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1814094-fix-_get_base_url-method-168e12292aeec8f1.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1830677-fix-13b30d6a89f43246.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1855391-support-force-extend-share-6b5ebcfe1de0ca7b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1871252-update-default-quotas-via-quota-class-share-groups-share-group-snapshots-20ec1dfcc0a7e81c.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898304-add-wait-to-share-create-delete-f121073f2f4402ff.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898307-add-wait-to-create-revert-delete-a-snapshot-20271b8ebb60ade5.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898308-add-wait-to-share-extend-shrink-c9cc413c50d9832a.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898309-add-wait-to-share-manage-unmanage-d2060c61cc295bfd.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898310-add-wait-to-create-promote-delete-share-replica-35f17e4a51b8f62e.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898315-add-wait-flag-to-manage-share-server-operation-be6488c2a57536e1.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898316-add-wait-option-for-deleting-a-share-server-e2228018585de5cb.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898317-add-wait-option-for-force-deleting-share-snapshot-share-instance-fb2531b6033f0ae5.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898318-add-wait-flag-for-deleting-a-share-group-operation-c602ba9faad411be.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898318-add-wait-flag-to-create-sharee-group-operation-cd8310b241d377b0.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1898319-add-wait-to-create-delete-a-share-group-snapshot-f789e324f66ad1b6.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1899325-implement-usage-of-c-or-column-without-additional-logic-2970ee294f32bd31.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1902873-fix-py-raw-error-msg-a839fee2ac7b9d3d.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1909477-fix-forbid-users-to-create-shares-with-the-name-none-cfb0a59baa597803.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1920888-fix-error-in-cli-manila-list-with-sorting-key-availabilityzone-cea5a1f5d8a38fc3.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1925486-add-share-network-option-to-replica-create-api-7d2ff3628e93fc77.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1953670-fix-id-attr-for-share-group-type-access-repr-008338a53d7a6a50.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1959329-fix-server-listing-by-subnets-fa6447fd43093cae.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1960422-fix-no-default-share-type-d6191ea0aa1e57fa.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1960490-use-suitable-version-for-osc-b375a32273b56522.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1962288-fixed-share-network-create-command-879dc3deca131ef9.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1975488-skip-force-kwarg-if-unspecified-f98c717df1d6e364.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1980985-dont-use-share-type-with-snapshot-ref-de0331c640afbbd3.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1989818-fix-share-network-output-format-93d997f0f4a33fab.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-1999775-add-os-key-0cfc95c7b480df05.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-2030686-fix-default-share-lookup-cc7e592a0dc855e1.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-2065769-fix-share-network-create-fa76f38f1b640001.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-2066871-allow-to-update-access-level-for-access-rule-adb5d572454c01e8.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-2068631-add-filter-by-source-share-server-id-d40500dcf184c321.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-913201-add-wait-to-manage-unmanage-snapshot-9cc017a15733120f.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug-share-access-list-3cf3114doe40k599.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug_1570085_fix-905786b797379309.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug_1603387_fix_env_variable_8ed5450aab41aa5f.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug_1606168_fix-54d3c3bb78389f01.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug_1715769_fix-3ec701b0fb9d7910.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug_1777849_1779935_fix-344cb8f09b7df502.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/bug_1782672-1954059b373f03de.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/deprecate-manila-shell-0061cbcab5d3d75b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/deprecate-v1-a0cfa6fd723c2f46.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/drop-py36-and-py37-85cf389b2842f045.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/drop-python2-support-71c7b9e1dcf8c890.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/expose-access-key-in-access-list-API-b57c386c9048ae55.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/fix-and-improve-access-rules-a118a7f8e22f65bb.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/fix-is-default-empty-557844001e0401e2.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/graduate-share-replication-feature-49770e921b4338fb.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/handle-missing-api-minor-version-5a6d242f28883442.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/human-readable-export-location-share-support-d156f23669e458fa.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/manage-unmanage-share-servers-8c7b27a1fe80e5fa.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/manila-client-support-recycle-bin-4ecb5de770bd525f.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/manila-openstackclient-bf61ceb270d3afb7.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/migration-share-type-4fc3b7c6187f5201.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/mountable_snapshot-ced01da7dffc6d7e.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/newton-migration-improvements-166a03472948bdef.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/remove-experimental-flag-from-share-groups-feature-dcf2b0b67fe4cac4.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/remove-identity-v2-f62956e7d54b8c53.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/remove-nova-net-id-arg-5b01f0077be171ed.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/remove-nova-net-id-option-for-share-nets-82e424b75221528b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/remove-py38-0326744b43229e21.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/share-backup-98e11c6a28897e94.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/share-network-multiple-subnets-732309abfbf5987c.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/share-revert-to-snapshot-e899a4b7e1126749.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/share_type-skip-format-119595e62900e571.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/start-using-reno-b744cd0259c7a88c.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/support-create-share-from-snapshot-extra-spec-cdba92f179c1c5c6.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/support-share-server-migration-9804752270c6b153.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/support-show-type-6380b7c539c95ba8.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/type-create-extra-specs-691572762357ef3b.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/update-api-version-create-share-from-snapshot-another-pool-or-backend-694cfda84a41c4ff.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/notes/v2-0-0-deprecated-opts-removal-863565618535733d.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/2023.1.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/2023.2.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/2024.2.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/2025.1.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/_static/.placeholder +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/_templates/.placeholder +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/newton.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/ocata.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/pike.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/queens.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/rocky.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/stein.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/train.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/unreleased.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/ussuri.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/victoria.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/wallaby.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/xena.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/yoga.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/releasenotes/source/zed.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/requirements.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/roles/populate-manilaclient-config/README.rst +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/roles/populate-manilaclient-config/defaults/main.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/roles/populate-manilaclient-config/tasks/main.yaml +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/test-requirements.txt +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/tools/manila.bash_completion +0 -0
- {python_manilaclient-5.5.0 → python_manilaclient-5.7.0}/zuul.d/project.yaml +0 -0
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
---
|
|
2
|
-
default_language_version:
|
|
3
|
-
# force all unspecified python hooks to run python3
|
|
4
|
-
python: python3
|
|
5
2
|
repos:
|
|
6
3
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
7
|
-
rev:
|
|
4
|
+
rev: v6.0.0
|
|
8
5
|
hooks:
|
|
9
6
|
- id: trailing-whitespace
|
|
10
7
|
- id: mixed-line-ending
|
|
11
8
|
args: ['--fix', 'lf']
|
|
12
9
|
exclude: '.*\.(svg)$'
|
|
13
|
-
- id:
|
|
10
|
+
- id: fix-byte-order-marker
|
|
14
11
|
- id: check-executables-have-shebangs
|
|
15
12
|
- id: check-merge-conflict
|
|
16
13
|
- id: debug-statements
|
|
17
14
|
- id: check-yaml
|
|
18
15
|
files: .*\.(yaml|yml)$
|
|
19
16
|
exclude: '^(zuul.d|rally-jobs)/.*$'
|
|
17
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
18
|
+
rev: v0.14.0
|
|
19
|
+
hooks:
|
|
20
|
+
- id: ruff-check
|
|
21
|
+
args: ['--fix', '--unsafe-fixes']
|
|
22
|
+
- id: ruff-format
|
|
23
|
+
- repo: https://opendev.org/openstack/hacking
|
|
24
|
+
rev: 7.0.0
|
|
25
|
+
hooks:
|
|
26
|
+
- id: hacking
|
|
27
|
+
additional_dependencies: []
|
|
28
|
+
exclude: '^(doc|releasenotes|tools)/.*$'
|
|
20
29
|
- repo: https://github.com/PyCQA/doc8
|
|
21
|
-
rev:
|
|
30
|
+
rev: v2.0.0
|
|
22
31
|
hooks:
|
|
23
32
|
- id: doc8
|
|
24
33
|
args: ['--ignore', 'D001']
|
|
@@ -27,13 +36,3 @@ repos:
|
|
|
27
36
|
hooks:
|
|
28
37
|
- id: bashate
|
|
29
38
|
args: ['--ignore', 'E006,E042,E043']
|
|
30
|
-
- repo: local
|
|
31
|
-
hooks:
|
|
32
|
-
- id: flake8
|
|
33
|
-
name: flake8
|
|
34
|
-
additional_dependencies:
|
|
35
|
-
- hacking>=6.1.0,<6.2.0
|
|
36
|
-
language: python
|
|
37
|
-
entry: flake8
|
|
38
|
-
files: '^.*\.py$'
|
|
39
|
-
exclude: '^(doc|releasenotes|tools)/.*$'
|
|
@@ -23,6 +23,7 @@ ChangBo Guo(gcb) <eric.guo@easystack.cn>
|
|
|
23
23
|
Chen <dstbtgagt@foxmail.com>
|
|
24
24
|
Chris MacNaughton <chris.macnaughton@canonical.com>
|
|
25
25
|
Christian Berendt <berendt@b1-systems.de>
|
|
26
|
+
Chuan Miao <chuan.miao@sap.com>
|
|
26
27
|
Chuck Fouts <fchuck@netapp.com>
|
|
27
28
|
Clifford <emclidon@gmail.com>
|
|
28
29
|
Clifford Emeka <emclidon@gmail.com>
|
|
@@ -90,7 +91,9 @@ Ondřej Nový <ondrej.novy@firma.seznam.cz>
|
|
|
90
91
|
OpenStack Release Bot <infra-root@openstack.org>
|
|
91
92
|
Pete Zaitcev <zaitcev@kotori.zaitcev.us>
|
|
92
93
|
Pierre Riteau <pierre@stackhpc.com>
|
|
94
|
+
Premlata <premlata84277@gmail.com>
|
|
93
95
|
Ramana Raja <rraja@redhat.com>
|
|
96
|
+
Riane Torres <riane.torres@gmail.com>
|
|
94
97
|
Rodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br>
|
|
95
98
|
Rodrigo Barbieri <rodrigob@netapp.com>
|
|
96
99
|
Sascha Peilicke <speilicke@suse.com>
|
|
@@ -120,6 +123,7 @@ Xing Yang <xing.yang@emc.com>
|
|
|
120
123
|
Your Name <vponomaryov@mirantis.com>
|
|
121
124
|
YuehuiLei <leiyuehui-s@inspur.com>
|
|
122
125
|
Yulia Portnova <yportnova@mirantis.com>
|
|
126
|
+
Zachary Goggin <zachary.goggin@cern.ch>
|
|
123
127
|
altanai <tara181989@gmail.com>
|
|
124
128
|
andrebeltrami <andreluizbeltrami@hotmail.com>
|
|
125
129
|
annwesha.das <annwesha.das@ndsu.edu>
|
|
@@ -135,6 +139,7 @@ daiki kato <d-kato@wr.jp.nec.com>
|
|
|
135
139
|
debeltrami <debeltrami@gmail.com>
|
|
136
140
|
deepak_mourya <deepak.mourya@india.nec.com>
|
|
137
141
|
dengzhaosen <dengzhaosen@inspur.com>
|
|
142
|
+
denver-baraka <denverbaraka@gmail.com>
|
|
138
143
|
devin <genghang888@gmail.com>
|
|
139
144
|
dineshbhor <dinesh.bhor@nttdata.com>
|
|
140
145
|
drngsl <drngsl@qq.com>
|
|
@@ -162,6 +167,7 @@ lingyongxu <lyxu@fiberhome.com>
|
|
|
162
167
|
liusheng <liusheng@huawei.com>
|
|
163
168
|
liuyamin <liuyamin@fiberhome.com>
|
|
164
169
|
lkuchlan <lkuchlan@redhat.com>
|
|
170
|
+
llmtech-dev <llm.tech.developer@gmail.com>
|
|
165
171
|
luke.li <lilu7189@fiberhome.com>
|
|
166
172
|
maaoyu <maaoyu@inspur.com>
|
|
167
173
|
mark.sturdevant <mark.sturdevant@hpe.com>
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
5.7.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* reno: Update master for unmaintained/2024.1
|
|
8
|
+
* Remove unnecessary call
|
|
9
|
+
* Re-enable E501 errors
|
|
10
|
+
* Fix outstanding hacking issues
|
|
11
|
+
* Fix outstanding ruff issues
|
|
12
|
+
* Add ruff
|
|
13
|
+
* pre-commit: Bump versions
|
|
14
|
+
* Migrate setup configuration to pyproject.toml
|
|
15
|
+
* Fix neutron validation in share network creation
|
|
16
|
+
* fix respect region name in client initialization
|
|
17
|
+
* Allow settings --task-state without value (to send null) or None
|
|
18
|
+
* Add --wait flag to share-server-unmanage
|
|
19
|
+
* Update master for stable/2025.2
|
|
20
|
+
* Fixes an issue that prevented ensure shares to be run
|
|
21
|
+
|
|
22
|
+
5.6.0
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
* Add support for out of place share backup restores
|
|
26
|
+
* Add support of encryption\_key\_ref option for share create
|
|
27
|
+
* Add option to override API endpoint
|
|
28
|
+
* Fixed negative user messages test names
|
|
29
|
+
* Add negative functional test for message
|
|
30
|
+
* Zuul: do not use USE\_PYTHON3
|
|
31
|
+
* Remove Python 3.9 support
|
|
32
|
+
* pre-commit: Bump hacking and use native flake8 hook
|
|
33
|
+
|
|
4
34
|
5.5.0
|
|
5
35
|
-----
|
|
6
36
|
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-manilaclient
|
|
3
|
-
Version: 5.
|
|
4
|
-
Summary: Client library for OpenStack
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Classifier: Environment :: Console
|
|
3
|
+
Version: 5.7.0
|
|
4
|
+
Summary: Client library for OpenStack Shared File System Storage
|
|
5
|
+
Author-email: OpenStack <openstack-discuss@lists.openstack.org>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://docs.openstack.org/python-manilaclient/
|
|
8
|
+
Project-URL: Repository, https://opendev.org/openstack/python-manilaclient/
|
|
10
9
|
Classifier: Environment :: OpenStack
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
10
|
Classifier: Intended Audience :: Information Technology
|
|
11
|
+
Classifier: Intended Audience :: System Administrators
|
|
13
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
-
Classifier: Operating System ::
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
15
14
|
Classifier: Programming Language :: Python
|
|
16
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
15
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Description-Content-Type: text/x-rst
|
|
23
22
|
License-File: LICENSE
|
|
24
23
|
Requires-Dist: pbr>=3.0.0
|
|
25
24
|
Requires-Dist: oslo.config>=5.2.0
|
|
@@ -139,4 +138,3 @@ Quick-start using keystone::
|
|
|
139
138
|
.. _Source: https://opendev.org/openstack/python-manilaclient
|
|
140
139
|
.. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html
|
|
141
140
|
.. _Release Notes: https://docs.openstack.org/releasenotes/python-manilaclient
|
|
142
|
-
|
|
@@ -31,6 +31,13 @@ environment variables::
|
|
|
31
31
|
export OS_AUTH_URL=http://...
|
|
32
32
|
export OS_SHARE_API_VERSION=2.51
|
|
33
33
|
|
|
34
|
+
It is possible to use different Manila endpoint while using Openstack
|
|
35
|
+
Client. In this case, you can use configuration option
|
|
36
|
+
``--os-endpoint-override`` or set the corresponding environment
|
|
37
|
+
variable::
|
|
38
|
+
|
|
39
|
+
export OS_ENDPOINT_OVERRIDE=http://...
|
|
40
|
+
|
|
34
41
|
|
|
35
42
|
Getting help
|
|
36
43
|
============
|
|
@@ -29,10 +29,12 @@ sys.path.insert(0, ROOT)
|
|
|
29
29
|
# Add any Sphinx extension module names here, as strings. They can be
|
|
30
30
|
# extensions
|
|
31
31
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
|
32
|
-
extensions = [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
extensions = [
|
|
33
|
+
'sphinx.ext.autodoc',
|
|
34
|
+
'openstackdocstheme',
|
|
35
|
+
'sphinxcontrib.programoutput',
|
|
36
|
+
'cliff.sphinxext',
|
|
37
|
+
]
|
|
36
38
|
|
|
37
39
|
# Add any paths that contain templates here, relative to this directory.
|
|
38
40
|
templates_path = ['_templates']
|
|
@@ -87,8 +89,13 @@ latex_use_xindy = False
|
|
|
87
89
|
# (source start file, target name, title, author, documentclass
|
|
88
90
|
# [howto/manual]).
|
|
89
91
|
latex_documents = [
|
|
90
|
-
(
|
|
91
|
-
|
|
92
|
+
(
|
|
93
|
+
'index',
|
|
94
|
+
'Manila-client.tex',
|
|
95
|
+
'Manila Python Client Documentation',
|
|
96
|
+
'Manila contributors',
|
|
97
|
+
'manual',
|
|
98
|
+
),
|
|
92
99
|
]
|
|
93
100
|
|
|
94
101
|
# The name of an image file (relative to this directory) to place at the top of
|
|
@@ -32,4 +32,5 @@ except AttributeError:
|
|
|
32
32
|
API_MAX_VERSION = api_versions.APIVersion(api_versions.MAX_VERSION)
|
|
33
33
|
API_MIN_VERSION = api_versions.APIVersion(api_versions.MIN_VERSION)
|
|
34
34
|
API_DEPRECATED_VERSION = api_versions.APIVersion(
|
|
35
|
-
api_versions.DEPRECATED_VERSION
|
|
35
|
+
api_versions.DEPRECATED_VERSION
|
|
36
|
+
)
|
|
@@ -27,13 +27,13 @@ from manilaclient import utils
|
|
|
27
27
|
|
|
28
28
|
LOG = logging.getLogger(__name__)
|
|
29
29
|
|
|
30
|
-
MAX_VERSION = '2.
|
|
30
|
+
MAX_VERSION = '2.91'
|
|
31
31
|
MIN_VERSION = '2.0'
|
|
32
32
|
DEPRECATED_VERSION = '1.0'
|
|
33
33
|
_VERSIONED_METHOD_MAP = {}
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
class APIVersion
|
|
36
|
+
class APIVersion:
|
|
37
37
|
"""Top level object to support Manila API Versioning.
|
|
38
38
|
|
|
39
39
|
This class represents an API Version with convenience
|
|
@@ -54,44 +54,57 @@ class APIVersion(object):
|
|
|
54
54
|
self.ver_major = int(match.group(1))
|
|
55
55
|
self.ver_minor = int(match.group(2))
|
|
56
56
|
else:
|
|
57
|
-
msg =
|
|
57
|
+
msg = (
|
|
58
|
+
_(
|
|
59
|
+
"Invalid format of client version '%s'. "
|
|
58
60
|
"Expected format 'X.Y', where X is a major part and Y "
|
|
59
|
-
"is a minor part of version."
|
|
61
|
+
"is a minor part of version."
|
|
62
|
+
)
|
|
63
|
+
% version_str
|
|
64
|
+
)
|
|
60
65
|
raise exceptions.UnsupportedVersion(msg)
|
|
61
66
|
|
|
62
67
|
def __str__(self):
|
|
63
68
|
"""Debug/Logging representation of object."""
|
|
64
|
-
return
|
|
65
|
-
% (self.ver_major, self.ver_minor))
|
|
69
|
+
return f"API Version Major: {self.ver_major}, Minor: {self.ver_minor}"
|
|
66
70
|
|
|
67
71
|
def __repr__(self):
|
|
68
72
|
if self.is_null():
|
|
69
73
|
return "<APIVersion: null>"
|
|
70
74
|
else:
|
|
71
|
-
return "<APIVersion:
|
|
75
|
+
return f"<APIVersion: {self.get_string()}>"
|
|
72
76
|
|
|
73
77
|
def __lt__(self, other):
|
|
74
78
|
if not isinstance(other, APIVersion):
|
|
75
|
-
raise TypeError(
|
|
76
|
-
|
|
79
|
+
raise TypeError(
|
|
80
|
+
self.TYPE_ERROR_MSG % {"other": other, "cls": self.__class__}
|
|
81
|
+
)
|
|
77
82
|
|
|
78
|
-
return (
|
|
79
|
-
|
|
83
|
+
return (self.ver_major, self.ver_minor) < (
|
|
84
|
+
other.ver_major,
|
|
85
|
+
other.ver_minor,
|
|
86
|
+
)
|
|
80
87
|
|
|
81
88
|
def __eq__(self, other):
|
|
82
89
|
if not isinstance(other, APIVersion):
|
|
83
|
-
raise TypeError(
|
|
84
|
-
|
|
90
|
+
raise TypeError(
|
|
91
|
+
self.TYPE_ERROR_MSG % {"other": other, "cls": self.__class__}
|
|
92
|
+
)
|
|
85
93
|
|
|
86
|
-
return (
|
|
87
|
-
|
|
94
|
+
return (self.ver_major, self.ver_minor) == (
|
|
95
|
+
other.ver_major,
|
|
96
|
+
other.ver_minor,
|
|
97
|
+
)
|
|
88
98
|
|
|
89
99
|
def __gt__(self, other):
|
|
90
100
|
if not isinstance(other, APIVersion):
|
|
91
|
-
raise TypeError(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
101
|
+
raise TypeError(
|
|
102
|
+
self.TYPE_ERROR_MSG % {"other": other, "cls": self.__class__}
|
|
103
|
+
)
|
|
104
|
+
return (self.ver_major, self.ver_minor) > (
|
|
105
|
+
other.ver_major,
|
|
106
|
+
other.ver_minor,
|
|
107
|
+
)
|
|
95
108
|
|
|
96
109
|
def __le__(self, other):
|
|
97
110
|
return self < other or self == other
|
|
@@ -139,15 +152,15 @@ class APIVersion(object):
|
|
|
139
152
|
"""String representation of an APIVersion object."""
|
|
140
153
|
if self.is_null():
|
|
141
154
|
raise ValueError(
|
|
142
|
-
_("Null APIVersion cannot be converted to string.")
|
|
143
|
-
|
|
155
|
+
_("Null APIVersion cannot be converted to string.")
|
|
156
|
+
)
|
|
157
|
+
return f"{self.ver_major}.{self.ver_minor}"
|
|
144
158
|
|
|
145
159
|
def get_major_version(self):
|
|
146
|
-
return "
|
|
160
|
+
return f"{self.ver_major}"
|
|
147
161
|
|
|
148
162
|
|
|
149
|
-
class VersionedMethod
|
|
150
|
-
|
|
163
|
+
class VersionedMethod:
|
|
151
164
|
def __init__(self, name, start_version, end_version, func):
|
|
152
165
|
"""Versioning information for a single method
|
|
153
166
|
|
|
@@ -164,11 +177,13 @@ class VersionedMethod(object):
|
|
|
164
177
|
self.func = func
|
|
165
178
|
|
|
166
179
|
def __str__(self):
|
|
167
|
-
return (
|
|
168
|
-
|
|
180
|
+
return (
|
|
181
|
+
f"Version Method {self.name}: min: {self.start_version}, "
|
|
182
|
+
f"max: {self.end_version}"
|
|
183
|
+
)
|
|
169
184
|
|
|
170
185
|
def __repr__(self):
|
|
171
|
-
return "<VersionedMethod
|
|
186
|
+
return f"<VersionedMethod {self.name}>"
|
|
172
187
|
|
|
173
188
|
|
|
174
189
|
def check_version_supported(api_version):
|
|
@@ -176,23 +191,27 @@ def check_version_supported(api_version):
|
|
|
176
191
|
|
|
177
192
|
:warn Sends warning if version is not supported.
|
|
178
193
|
"""
|
|
179
|
-
if
|
|
180
|
-
|
|
194
|
+
if check_version_matches_min_max(api_version) or check_version_deprecated(
|
|
195
|
+
api_version
|
|
196
|
+
):
|
|
181
197
|
return True
|
|
182
198
|
return False
|
|
183
199
|
|
|
184
200
|
|
|
185
201
|
def check_version_matches_min_max(api_version):
|
|
186
202
|
"""Returns True if the API version is within the supported range."""
|
|
187
|
-
if
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
msg = _(
|
|
191
|
-
|
|
192
|
-
|
|
203
|
+
if not api_version.matches(
|
|
204
|
+
manilaclient.API_MIN_VERSION, manilaclient.API_MAX_VERSION
|
|
205
|
+
):
|
|
206
|
+
msg = _(
|
|
207
|
+
"Invalid client version '%(version)s'. "
|
|
208
|
+
"Current version range is '%(min)s' through "
|
|
209
|
+
" '%(max)s'"
|
|
210
|
+
) % {
|
|
193
211
|
"version": api_version.get_string(),
|
|
194
212
|
"min": manilaclient.API_MIN_VERSION.get_string(),
|
|
195
|
-
"max": manilaclient.API_MAX_VERSION.get_string()
|
|
213
|
+
"max": manilaclient.API_MAX_VERSION.get_string(),
|
|
214
|
+
}
|
|
196
215
|
warnings.warn(msg)
|
|
197
216
|
return False
|
|
198
217
|
return True
|
|
@@ -202,7 +221,8 @@ def check_version_deprecated(api_version):
|
|
|
202
221
|
"""Returns True if API version is deprecated."""
|
|
203
222
|
if api_version == manilaclient.API_DEPRECATED_VERSION:
|
|
204
223
|
msg = _("Client version '%(version)s' is deprecated.") % {
|
|
205
|
-
"version": api_version.get_string()
|
|
224
|
+
"version": api_version.get_string()
|
|
225
|
+
}
|
|
206
226
|
warnings.warn(msg)
|
|
207
227
|
return True
|
|
208
228
|
return False
|
|
@@ -249,27 +269,29 @@ def discover_version(client, requested_version):
|
|
|
249
269
|
:returns: APIVersion
|
|
250
270
|
"""
|
|
251
271
|
server_start_version, server_end_version = _get_server_version_range(
|
|
252
|
-
client
|
|
272
|
+
client
|
|
273
|
+
)
|
|
253
274
|
|
|
254
275
|
valid_version = requested_version
|
|
255
276
|
if server_start_version.is_null() and server_end_version.is_null():
|
|
256
|
-
msg = (
|
|
257
|
-
|
|
277
|
+
msg = (
|
|
278
|
+
"Server does not support microversions. Changing server "
|
|
279
|
+
"version to %(min_version)s."
|
|
280
|
+
)
|
|
258
281
|
LOG.debug(msg, {"min_version": DEPRECATED_VERSION})
|
|
259
282
|
valid_version = APIVersion(DEPRECATED_VERSION)
|
|
260
283
|
else:
|
|
261
284
|
valid_version = _validate_requested_version(
|
|
262
|
-
requested_version,
|
|
263
|
-
|
|
264
|
-
server_end_version)
|
|
285
|
+
requested_version, server_start_version, server_end_version
|
|
286
|
+
)
|
|
265
287
|
|
|
266
288
|
_validate_server_version(server_start_version, server_end_version)
|
|
267
289
|
return valid_version
|
|
268
290
|
|
|
269
291
|
|
|
270
|
-
def _validate_requested_version(
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
def _validate_requested_version(
|
|
293
|
+
requested_version, server_start_version, server_end_version
|
|
294
|
+
):
|
|
273
295
|
"""Validates the requested version.
|
|
274
296
|
|
|
275
297
|
Checks 'requested_version' is within the min/max range supported by the
|
|
@@ -284,21 +306,34 @@ def _validate_requested_version(requested_version,
|
|
|
284
306
|
valid_version = requested_version
|
|
285
307
|
if not requested_version.matches(server_start_version, server_end_version):
|
|
286
308
|
if server_end_version <= requested_version:
|
|
287
|
-
if (
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
"
|
|
294
|
-
"
|
|
309
|
+
if (
|
|
310
|
+
manilaclient.API_MIN_VERSION <= server_end_version
|
|
311
|
+
and server_end_version <= manilaclient.API_MAX_VERSION
|
|
312
|
+
):
|
|
313
|
+
msg = _(
|
|
314
|
+
"Requested version %(requested_version)s is "
|
|
315
|
+
"not supported. Downgrading requested version "
|
|
316
|
+
"to %(server_end_version)s."
|
|
317
|
+
)
|
|
318
|
+
LOG.debug(
|
|
319
|
+
msg,
|
|
320
|
+
{
|
|
321
|
+
"requested_version": requested_version,
|
|
322
|
+
"server_end_version": server_end_version,
|
|
323
|
+
},
|
|
324
|
+
)
|
|
295
325
|
valid_version = server_end_version
|
|
296
326
|
else:
|
|
297
327
|
raise exceptions.UnsupportedVersion(
|
|
298
|
-
_(
|
|
299
|
-
|
|
328
|
+
_(
|
|
329
|
+
"The specified version isn't supported by server. "
|
|
330
|
+
"The valid version range is '%(min)s' to '%(max)s'"
|
|
331
|
+
)
|
|
332
|
+
% {
|
|
300
333
|
"min": server_start_version.get_string(),
|
|
301
|
-
"max": server_end_version.get_string()
|
|
334
|
+
"max": server_end_version.get_string(),
|
|
335
|
+
}
|
|
336
|
+
)
|
|
302
337
|
|
|
303
338
|
return valid_version
|
|
304
339
|
|
|
@@ -316,22 +351,34 @@ def _validate_server_version(server_start_version, server_end_version):
|
|
|
316
351
|
"""
|
|
317
352
|
if manilaclient.API_MIN_VERSION > server_end_version:
|
|
318
353
|
raise exceptions.UnsupportedVersion(
|
|
319
|
-
_(
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
354
|
+
_(
|
|
355
|
+
"Server's version is too old. "
|
|
356
|
+
"The client's valid version range "
|
|
357
|
+
"is '%(client_min)s' to '%(client_max)s'. The server valid "
|
|
358
|
+
"version range is '%(server_min)s' to '%(server_max)s'."
|
|
359
|
+
)
|
|
360
|
+
% {
|
|
361
|
+
'client_min': manilaclient.API_MIN_VERSION.get_string(),
|
|
362
|
+
'client_max': manilaclient.API_MAX_VERSION.get_string(),
|
|
363
|
+
'server_min': server_start_version.get_string(),
|
|
364
|
+
'server_max': server_end_version.get_string(),
|
|
365
|
+
}
|
|
366
|
+
)
|
|
326
367
|
elif manilaclient.API_MAX_VERSION < server_start_version:
|
|
327
368
|
raise exceptions.UnsupportedVersion(
|
|
328
|
-
_(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
369
|
+
_(
|
|
370
|
+
"Server's version is too new. "
|
|
371
|
+
"The client's valid version range "
|
|
372
|
+
"is '%(client_min)s' to '%(client_max)s'. The server valid "
|
|
373
|
+
"version range is '%(server_min)s' to '%(server_max)s'."
|
|
374
|
+
)
|
|
375
|
+
% {
|
|
376
|
+
'client_min': manilaclient.API_MIN_VERSION.get_string(),
|
|
377
|
+
'client_max': manilaclient.API_MAX_VERSION.get_string(),
|
|
378
|
+
'server_min': server_start_version.get_string(),
|
|
379
|
+
'server_max': server_end_version.get_string(),
|
|
380
|
+
}
|
|
381
|
+
)
|
|
335
382
|
|
|
336
383
|
|
|
337
384
|
def add_versioned_method(versioned_method):
|
|
@@ -342,8 +389,11 @@ def add_versioned_method(versioned_method):
|
|
|
342
389
|
def get_versioned_methods(func_name, api_version=None):
|
|
343
390
|
versioned_methods = _VERSIONED_METHOD_MAP.get(func_name, [])
|
|
344
391
|
if api_version and not api_version.is_null():
|
|
345
|
-
return [
|
|
346
|
-
|
|
392
|
+
return [
|
|
393
|
+
m
|
|
394
|
+
for m in versioned_methods
|
|
395
|
+
if api_version.matches(m.start_version, m.end_version)
|
|
396
|
+
]
|
|
347
397
|
return versioned_methods
|
|
348
398
|
|
|
349
399
|
|
|
@@ -353,11 +403,13 @@ def experimental_api(f):
|
|
|
353
403
|
@functools.wraps(f)
|
|
354
404
|
def _wrapper(*args, **kwargs):
|
|
355
405
|
client = args[0]
|
|
356
|
-
if
|
|
357
|
-
|
|
406
|
+
if isinstance(client, manilaclient.v2.client.Client) or hasattr(
|
|
407
|
+
client, 'client'
|
|
408
|
+
):
|
|
358
409
|
dh = client.client.default_headers
|
|
359
410
|
dh[constants.EXPERIMENTAL_HTTP_HEADER] = 'true'
|
|
360
411
|
return f(*args, **kwargs)
|
|
412
|
+
|
|
361
413
|
return _wrapper
|
|
362
414
|
|
|
363
415
|
|
|
@@ -378,8 +430,9 @@ def wraps(start_version, end_version=MAX_VERSION):
|
|
|
378
430
|
def decor(func):
|
|
379
431
|
func.versioned = True
|
|
380
432
|
name = utils.get_function_name(func)
|
|
381
|
-
versioned_method = VersionedMethod(
|
|
382
|
-
|
|
433
|
+
versioned_method = VersionedMethod(
|
|
434
|
+
name, start_version, end_version, func
|
|
435
|
+
)
|
|
383
436
|
add_versioned_method(versioned_method)
|
|
384
437
|
|
|
385
438
|
@functools.wraps(func)
|
|
@@ -388,11 +441,15 @@ def wraps(start_version, end_version=MAX_VERSION):
|
|
|
388
441
|
|
|
389
442
|
if not methods:
|
|
390
443
|
raise exceptions.UnsupportedVersion(
|
|
391
|
-
_(
|
|
392
|
-
|
|
444
|
+
_(
|
|
445
|
+
"API version '%(version)s' is not supported on "
|
|
446
|
+
"'%(method)s' method."
|
|
447
|
+
)
|
|
448
|
+
% {
|
|
393
449
|
"version": obj.api_version.get_string(),
|
|
394
450
|
"method": name,
|
|
395
|
-
}
|
|
451
|
+
}
|
|
452
|
+
)
|
|
396
453
|
|
|
397
454
|
method = max(methods, key=lambda f: f.start_version)
|
|
398
455
|
|