manila/contrib/tempest/tempest
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
..
api/share Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
scenario Use new manila-service-image with public-key auth 2015-06-22 16:03:13 +03:00
services/share Add tempest tests for REST API microversions 2015-08-25 19:48:17 +00:00
clients_share.py Sync tempest plugin 2015-02-23 18:27:07 +02:00
config_share.py Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
share_exceptions.py Raise error immediately for undeletable share in tempest 2014-12-30 20:57:25 +00:00