manila/manila/db/migrations/alembic/versions
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
..
1f0bd302c1a6_add_availability_zones_table.py Add availability zones support 2015-08-26 18:48:16 +03:00
3a482171410f_add_drivers_private_data_table.py Provide private data storage API for drivers 2015-05-26 17:53:00 +03:00
3db9992c30f3_transform_statuses_to_lowercase.py Remove models usage from migrations 2015-07-13 11:58:15 +03:00
4ee2cf4be19a_remove_share_snapshots_export_location.py Remove copypasted export_location field from snapshots 2015-03-03 10:46:48 +00:00
30cb96d995fa_add_is_public_column_for_share.py Add public attr for shares 2015-03-12 15:27:57 +03:00
38e632621e5a_change_volume_type_to_share_type.py Use oslo_log instead of oslo-incubator code 2015-04-21 13:04:45 +03:00
56cdbe267881_add_share_export_locations_table.py Close DB migration sessions explicitly for compatibility with PyMySQL 2015-07-14 12:39:00 +03:00
59eb64046740_add_required_extra_spec.py Close DB migration sessions explicitly for compatibility with PyMySQL 2015-07-14 12:39:00 +03:00
162a3e673105_manila_init.py Use oslo_log lib 2015-02-08 10:42:40 +00:00
579c267fbb4d_add_share_instances_access_map.py Add methods for share instances in Share API 2015-08-26 11:09:39 +03:00
5077ffcc5f1c_add_share_instances.py Fix compatibility with sqlalchemy 0.9.7 2015-08-25 13:09:41 +00:00
55761e5f59c5_add_snapshot_support_extra_spec_to_share_types.py Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
211836bf835c_add_access_level.py Add access levels for shares 2015-01-29 10:56:15 +03:00
533646c7af38_remove_unused_attr_status.py Remove unused attr status from models 2015-05-28 19:07:45 +03:00
17115072e1c3_add_nova_net_id_column_to_share_networks.py Add support of nova network for share-networks API and DB 2015-02-16 14:41:00 +02:00
ef0c02b4366_add_share_type_projects.py Fix fields 'deleted' in various DB models for PostgreSQL compatibility 2015-04-05 17:56:48 +03:00