cinder/cinder/tests/api/v1
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 Moving api v1 implementation into v1 directory 2012-11-21 21:26:40 -08:00
stubs.py Add volume multi attach support 2015-03-10 08:36:58 -07:00
test_limits.py Fix comments style according to the Hacking Rules 2015-02-18 14:10:19 +02:00
test_snapshot_metadata.py Snapshot and volume objects 2015-03-01 17:47:54 -05:00
test_snapshots.py Snapshot and volume objects 2015-03-01 17:47:54 -05:00
test_types.py Move oslo.utils to oslo_utils namespace 2015-01-19 21:50:34 -06:00
test_volume_metadata.py Fix comments style according to the Hacking Rules 2015-02-18 14:10:19 +02:00
test_volumes.py Add volume multi attach support 2015-03-10 08:36:58 -07:00