af6814f9ca
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 |
||
---|---|---|
.. | ||
1f0bd302c1a6_add_availability_zones_table.py | ||
3a482171410f_add_drivers_private_data_table.py | ||
3db9992c30f3_transform_statuses_to_lowercase.py | ||
4ee2cf4be19a_remove_share_snapshots_export_location.py | ||
30cb96d995fa_add_is_public_column_for_share.py | ||
38e632621e5a_change_volume_type_to_share_type.py | ||
56cdbe267881_add_share_export_locations_table.py | ||
59eb64046740_add_required_extra_spec.py | ||
162a3e673105_manila_init.py | ||
579c267fbb4d_add_share_instances_access_map.py | ||
5077ffcc5f1c_add_share_instances.py | ||
55761e5f59c5_add_snapshot_support_extra_spec_to_share_types.py | ||
211836bf835c_add_access_level.py | ||
533646c7af38_remove_unused_attr_status.py | ||
17115072e1c3_add_nova_net_id_column_to_share_networks.py | ||
ef0c02b4366_add_share_type_projects.py |