nova/etc/nova/rootwrap.d
Pádraig Brady 7194685559 libvirt: support configurable wipe methods for LVM backed instances
Provide configurable methods to clear these volumes.
The new 'volume_clear' and 'volume_clear_size' options
are the same as currently supported by cinder.

* nova/virt/libvirt/imagebackend.py: Define the new options.
* nova/virt/libvirt/utils.py (clear_logical_volume): Support the
new options. Refactor the existing dd method out to
_zero_logic_volume().
* nova/tests/virt/libvirt/test_libvirt_utils.py: Add missing test cases
for the existing clear_logical_volume code, and for the new code
supporting the new clearing methods.
* etc/nova/nova.conf.sample: Add the 2 new config descriptions
to the [libvirt] section.

Change-Id: I5551197f9ec89ae2f9b051696bccdeb1af2c031f
Closes-Bug: #889299
2014-02-17 10:20:00 +00:00
..
api-metadata.filters Configurable exec_dirs to find rootwrap commands 2012-12-03 15:12:06 +01:00
baremetal-compute-ipmi.filters Strip exec_dirs prefix from rootwrap filters 2013-05-18 00:01:57 +02:00
baremetal-deploy-helper.filters Allow different paths for deploy-helper helpers. 2013-05-11 08:59:10 +12:00
compute.filters libvirt: support configurable wipe methods for LVM backed instances 2014-02-17 10:20:00 +00:00
docker.filters Added new hypervisor to support Docker containers 2013-08-29 16:12:18 -07:00
network.filters Plug Vif into Midonet using Neutron port binding 2013-10-07 02:48:56 +00:00