manila/manila/tests/api
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
..
contrib Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
extensions Remove vim headers 2014-10-06 15:00:27 +02:00
middleware Fix string/binary conversions for py34 compatibility 2015-08-07 15:33:36 +03:00
openstack Manila experimental REST APIs 2015-08-25 16:21:07 +00:00
v1 Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
views Implement Manila REST API microversions 2015-08-13 19:51:19 +00:00
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
common.py Remove vim headers 2014-10-06 15:00:27 +02:00
fakes.py Implement Manila REST API microversions 2015-08-13 19:51:19 +00:00
test_common.py Wrap iterators and 'dict_items' for py34 compatibitity 2015-08-06 12:06:47 +03:00
test_extensions.py Remove Limited XML API Support from Manila 2015-04-13 15:43:47 +03:00
test_versions.py Manila experimental REST APIs 2015-08-25 16:21:07 +00:00
test_wsgi.py Fix string/binary conversions for py34 compatibility 2015-08-07 15:33:36 +03:00