]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Move create_cloned_volume() to LVMVolumeDriver.
authorAvishay Traeger <avishay@il.ibm.com>
Thu, 7 Feb 2013 09:11:03 +0000 (11:11 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Thu, 7 Feb 2013 09:11:03 +0000 (11:11 +0200)
commit033d21f6f0a93ab664d7615e2c71486c7fbce03a
treef4439b20b6c10886bf77faf4fe57be60360c5d83
parent30ba792859eaae4967ebe5084b6c4c489a8f3e5d
Move create_cloned_volume() to LVMVolumeDriver.

The implementation of create_cloned_volume() that was in driver.py
relied on functions that aren't declared there, such as
_create_volume(), _copy_volume(), and _sizestr().  Moved the function
to LVMVolumeDriver in lvm.py, where those functions exist.

Change-Id: I5ab77a119b3af0a152a3b5e0c2ff6a5ce196ad0f
Fixes: bug #1112485
cinder/volume/driver.py
cinder/volume/drivers/lvm.py