manila/manila/db
yogesh 53364e07a3 Handle manage/unmanage for replicated shares
Managing a share with a share type that has replication_type
extra_spec must be allowed. Drivers are expected to fail
this operation if the share was part of a replication relationship
that Manila does not know about.

Unmanaging a share with replicas must not be permitted
until all replicas are removed.

Managing and unmanaging of snapshots must not
be permitted for a share that has replicas.

Modify the NetApp driver for manage_existing to check
for existing replicas.

Also fix issue with manage retry where the share
data was being altered inappropriately by a DB API.

Closes-Bug: #1561641
Closes-Bug: #1565903

Co-Authored-By: Goutham Pacha Ravi <gouthamr@netapp.com>

Change-Id: I82f1fef1e30114e017efd00fa7da70aceecab94c
2016-04-15 19:00:23 +00:00
..
migrations Manage and unmanage snapshot 2016-02-18 04:09:05 -05:00
sqlalchemy Handle manage/unmanage for replicated shares 2016-04-15 19:00:23 +00:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
api.py Fix Manage API synchronous call 2016-03-29 16:57:25 -03:00
base.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
migration.py Remove vim headers 2014-10-06 15:00:27 +02:00