]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add execute wrapper to brick LVM code.
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 2 Jul 2013 19:16:28 +0000 (13:16 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Tue, 2 Jul 2013 22:46:53 +0000 (16:46 -0600)
commit62fb1ac44a384016e81223de179f79cede6f8fad
tree1855c2b8c61a3fc2b53af8249cf45e7649183f3a
parent1410af4214379da13b10baec3ddb37cbce7e5eb6
Add execute wrapper to brick LVM code.

Add an execute wrapper to the brick lvm code and
enable the ability to pass in a desired executor other
than just using the default common/processutils executor
if there's some reason to do so.

This will enable the switch of the cinder/volume/drivers/lvm.py
driver to continue using cinder/utils execute until we switch over
to common/processutils and also helps immensely with the tests.

Change-Id: Iaecba475debb2100d0c40b5e54ece6d4420271c5
cinder/brick/local_dev/lvm.py
cinder/tests/brick/test_brick_lvm.py