summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-03-18 21:01:02 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-24 16:41:59 -0400
commit9d2da32a9c7a3630c01c0e2360ee452860a5bdb7 (patch)
treef89c4b991759bc3928fc3ae7e59bd5dd9d8da786 /meta-openstack/recipes-devtools/python/python-cinder
parent3b5ec214c506a47cbd8abf7bd6557246980ddea5 (diff)
downloadmeta-cloud-services-9d2da32a9c7a3630c01c0e2360ee452860a5bdb7.tar.gz
cinder: add script for creating volume type
Add a convenient script for creating Cinder volume types which are currently supported. Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/add-cinder-volume-types.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/add-cinder-volume-types.sh b/meta-openstack/recipes-devtools/python/python-cinder/add-cinder-volume-types.sh
new file mode 100644
index 0000000..bc8f3a1
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-cinder/add-cinder-volume-types.sh
@@ -0,0 +1,10 @@
1#! /bin/bash
2
3cinder type-create lvm_iscsi
4cinder type-key lvm_iscsi set volume_backend_name=LVM_iSCSI
5cinder type-create nfs
6cinder type-key nfs set volume_backend_name=Generic_NFS
7cinder type-create glusterfs
8cinder type-key glusterfs set volume_backend_name=GlusterFS
9cinder type-create cephrbd
10cinder type-key cephrbd set volume_backend_name=RBD_CEPH