manila/manila/tests/api/contrib
Valeriy Ponomaryov af6814f9ca Add possibility to filter back ends by snapshot support
On last midcycle meetup was decided to make snapshots optional feature.

Features:
 - Add new boolean capability 'snapshot_support' to base share driver
   so every existing share driver will inherit it. Make value of it be
   calculated from the fact of redefinition of three main driver
   methods for snapshots 'create_snapshot', 'delete_snapshot' and
   'create_share_from_snapshot'.
- Set extra spec 'snapshot_support' with share type creation by default
  to 'True'
- Restrict deletion of extra spec 'snapshot_support' that is expected
  to exist
- Allow to redefine new extra spec 'snapshot_support'
- Restrict API 'snapshot create' for share created with
  share type that has extra spec 'snapshot_support' equal to 'False'.
- Add migration where new extra spec 'snapshot_support' is added
  to all share types that do not have it yet.

Partially implements bp snapshots-optional
Change-Id: I069d9e911c7d7a708fa518b38ed10572a45e5f42
2015-08-26 23:05:37 +03:00
..
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
stubs.py Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
test_admin_actions.py Fix string/binary conversions for py34 compatibility 2015-08-07 15:33:36 +03:00
test_availability_zones.py Add availability zones support 2015-08-26 18:48:16 +03:00
test_services.py Add availability zones support 2015-08-26 18:48:16 +03:00
test_share_actions.py Add share shrink API 2015-06-04 09:46:24 +03:00
test_share_manage.py Fix setting of share name and description with manage API 2015-03-26 16:24:00 +02:00
test_share_type_access.py Replace dict.iteritems() with six.iteritems() 2015-07-31 06:23:35 -04:00
test_share_unmanage.py Forbid unmanage operation for shares with snapshots 2015-03-27 19:46:03 +02:00
test_types_extra_specs.py Fix setting of extra specs for share types 2015-03-24 19:55:56 +02:00
test_types_manage.py Implement private share_types 2015-03-10 12:17:26 +02:00
test_used_limits.py py33: use six.iteritems for item iterations (part2) 2014-07-09 09:54:06 -04:00