summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/system/cinder/volume/backend/lvm.yml')
-rw-r--r--mcp/reclass/classes/system/cinder/volume/backend/lvm.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml b/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml
new file mode 100644
index 000000000..768fb6b8b
--- /dev/null
+++ b/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml
@@ -0,0 +1,18 @@
+parameters:
+ _param:
+ cinder_lvm_devices: [ "/dev/loop0" ]
+ linux:
+ storage:
+ lvm:
+ cinder-vg:
+ enabled: true
+ name: cinder-volume
+ devices: ${_param:cinder_lvm_devices}
+ cinder:
+ volume:
+ default_volume_type: lvm-driver
+ backend:
+ lvm-driver:
+ engine: lvm
+ type_name: lvm-driver
+ volume_group: cinder-volume