]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Attach snapshot - driver only
authorXing Yang <xing.yang@emc.com>
Fri, 7 Aug 2015 18:49:30 +0000 (14:49 -0400)
committerXing Yang <xing.yang@emc.com>
Sat, 8 Aug 2015 15:44:46 +0000 (11:44 -0400)
commit2143b39da53d3c1cd48e85ab73ca0ecfd0410107
tree3d3a8e81725d082a932274147eb8dabd869643bd
parent693ad7ce16a5fff34252ee7518a553f094a9356a
Attach snapshot - driver only

This patch is a continuation of adding support for
non-disruptive backup. It provides a more efficient way
to backup an attached volume by creating a temp snapshot.
Since this is used internally for backup, the attach
snapshot interface is added in the driver only. For
drivers not implementing the attach snapshot interface,
backup will still be done using a volume.

Partial-implements blueprint non-disruptive-backup
Change-Id: I3649ef1d7c8a18f9d6ed0543d463354273d5f62a
cinder/db/sqlalchemy/migrate_repo/versions/052_add_provider_auth_column_to_snapshots.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/objects/snapshot.py
cinder/tests/unit/fake_driver.py
cinder/tests/unit/test_migrations.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/utils.py
cinder/volume/driver.py
cinder/volume/drivers/lvm.py