summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/cinder/control/backend
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/system/cinder/control/backend')
-rw-r--r--mcp/reclass/classes/system/cinder/control/backend/ceph.yml13
-rw-r--r--mcp/reclass/classes/system/cinder/control/backend/lvm.yml9
-rw-r--r--mcp/reclass/classes/system/cinder/control/backend/nfs.yml15
3 files changed, 37 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/cinder/control/backend/ceph.yml b/mcp/reclass/classes/system/cinder/control/backend/ceph.yml
new file mode 100644
index 000000000..1026f6840
--- /dev/null
+++ b/mcp/reclass/classes/system/cinder/control/backend/ceph.yml
@@ -0,0 +1,13 @@
+parameters:
+ cinder:
+ controller:
+ default_volume_type: standard-iops
+ backend:
+ ceph:
+ type_name: standard-iops
+ backend: ceph
+ pool: ${_param:cinder_storage_pool}
+ engine: ceph
+ user: ${_param:cinder_storage_user}
+ secret_uuid: ${_param:cinder_storage_secret_uuid}
+ client_cinder_key: ${_param:cinder_storage_client_key}
diff --git a/mcp/reclass/classes/system/cinder/control/backend/lvm.yml b/mcp/reclass/classes/system/cinder/control/backend/lvm.yml
new file mode 100644
index 000000000..976a80eaa
--- /dev/null
+++ b/mcp/reclass/classes/system/cinder/control/backend/lvm.yml
@@ -0,0 +1,9 @@
+parameters:
+ cinder:
+ controller:
+ default_volume_type: lvm-driver
+ backend:
+ lvm-driver:
+ engine: lvm
+ type_name: lvm-driver
+ volume_group: cinder-volume
diff --git a/mcp/reclass/classes/system/cinder/control/backend/nfs.yml b/mcp/reclass/classes/system/cinder/control/backend/nfs.yml
new file mode 100644
index 000000000..1e5d5eb77
--- /dev/null
+++ b/mcp/reclass/classes/system/cinder/control/backend/nfs.yml
@@ -0,0 +1,15 @@
+parameters:
+ _param:
+ cinder_nfs_local_path: /var/lib/cinder/nfs
+ cinder:
+ controller:
+ default_volume_type: nfs-driver
+ backend:
+ nfs-driver:
+ engine: nfs
+ type_name: nfs-driver
+ volume_group: cinder-volume
+ path: ${_param:cinder_nfs_local_path}
+ devices:
+ - ${_param:cinder_nfs_host}:${_param:cinder_nfs_remote_path}
+ options: ${_param:cinder_nfs_mount_options} \ No newline at end of file