diff options
author | Vu Tran <vu.tran@windriver.com> | 2014-03-18 21:01:02 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-24 16:41:59 -0400 |
commit | 9d2da32a9c7a3630c01c0e2360ee452860a5bdb7 (patch) | |
tree | f89c4b991759bc3928fc3ae7e59bd5dd9d8da786 /meta-openstack/recipes-devtools/python/python-cinder | |
parent | 3b5ec214c506a47cbd8abf7bd6557246980ddea5 (diff) | |
download | meta-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.sh | 10 |
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 | |||
3 | cinder type-create lvm_iscsi | ||
4 | cinder type-key lvm_iscsi set volume_backend_name=LVM_iSCSI | ||
5 | cinder type-create nfs | ||
6 | cinder type-key nfs set volume_backend_name=Generic_NFS | ||
7 | cinder type-create glusterfs | ||
8 | cinder type-key glusterfs set volume_backend_name=GlusterFS | ||
9 | cinder type-create cephrbd | ||
10 | cinder type-key cephrbd set volume_backend_name=RBD_CEPH | ||