cinder/cinder/tests/api/contrib
Walter A. Boring IV 10d5421687 Add volume multi attach support
This patch includes the Cinder changes needed
to support volume multiple attaches.  Nova and
python-cinderclient also need patches associated
to provide support for multiple attachments.

This adds the multiattach flag to volumes.  When a
volume is created, a multiattach flag can be set,
which allows a volume to be attached to more than
one Nova instance or host.  If the multiattach flag is
not set on a volume, it cannot be attached to more
than one Nova instance or host

Each volume attachment is tracked in a
new volume_attachment table.  The attachment id is
the unique identifier for each attachment to an
instance or host.

When a volume is to be detached the attachment
uuid must be passed in to the detach call in
order to determine which attachment should be
removed.  Since a volume can be attached to an
instance and a host, the attachment id is used
as the attachment identifier.

Nova:
https://review.openstack.org/#/c/153033/
https://review.openstack.org/#/c/153038/

python-cinderclient:
https://review.openstack.org/#/c/85856/

Change-Id: I950fa00ed5a30e7758245d5b0557f6df42dc58a3
Implements: blueprint multi-attach-volume
APIImpact
2015-03-10 08:36:58 -07:00
..
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
test_admin_actions.py Add volume multi attach support 2015-03-10 08:36:58 -07:00
test_availability_zones.py Move oslo.utils to oslo_utils namespace 2015-01-19 21:50:34 -06:00
test_backups.py Add support to incremental backups in cinder 2015-03-05 21:14:44 -05:00
test_cgsnapshots.py Add unit test to cinder cgsnapshot api 2014-09-22 17:40:52 +09:00
test_consistencygroups.py Create Consistency Group from CG Snapshot API 2015-03-03 01:01:32 -05:00
test_extended_snapshot_attributes.py Snapshot and volume objects 2015-03-01 17:47:54 -05:00
test_hosts.py Move oslo.utils to oslo_utils namespace 2015-01-19 21:50:34 -06:00
test_qos_specs_manage.py Clean up QoSSpecManageApiTest setup 2015-01-09 09:42:48 -06:00
test_quotas.py Support Volume Backup Quota 2014-09-02 18:09:04 +08:00
test_quotas_classes.py Support Volume Backup Quota 2014-09-02 18:09:04 +08:00
test_scheduler_hints.py Move oslo.serialization to oslo_serialization namespace 2015-01-22 16:51:26 -06:00
test_scheduler_stats.py Allow scheduler pool information to be retrieved 2014-09-20 11:04:12 -07:00
test_services.py Import only modules: H302 2015-02-25 11:50:09 +02:00
test_snapshot_actions.py Move oslo.serialization to oslo_serialization namespace 2015-01-22 16:51:26 -06:00
test_types_extra_specs.py Volume type access extension 2014-12-01 18:46:31 -05:00
test_types_manage.py Fix the continuation line indent to pass flake8 2015-01-06 15:26:50 +08:00
test_used_limits.py Add hacking check for vim headers 2014-07-28 22:26:25 -05:00
test_volume_actions.py Add volume multi attach support 2015-03-10 08:36:58 -07:00
test_volume_encryption_metadata.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_volume_host_attribute.py Deprecate the V1 API 2014-09-04 20:24:37 -07:00
test_volume_image_metadata.py Import only modules: H302 2015-02-25 11:50:09 +02:00
test_volume_manage.py Move oslo.serialization to oslo_serialization namespace 2015-01-22 16:51:26 -06:00
test_volume_migration_status_attribute.py Utilizes assertIn and assertNotIn 2013-08-30 22:52:31 +08:00
test_volume_replication.py Move oslo.config to oslo_config namespace 2015-01-17 10:33:37 -06:00
test_volume_tenant_attribute.py Deprecate the V1 API 2014-09-04 20:24:37 -07:00
test_volume_transfer.py Import only modules: H302 2015-02-25 11:50:09 +02:00
test_volume_type_access.py Added volume type description for volume type API 2014-12-16 18:13:24 -08:00
test_volume_type_encryption.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_volume_unmanage.py Move oslo.serialization to oslo_serialization namespace 2015-01-22 16:51:26 -06:00