summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/cinder/control/backend/nfs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/system/cinder/control/backend/nfs.yml')
-rw-r--r--mcp/reclass/classes/system/cinder/control/backend/nfs.yml15
1 files changed, 15 insertions, 0 deletions
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