From c325227465e5b31936bbab888d2a282be097d01e Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Tue, 13 Aug 2013 00:32:20 -0700 Subject: [PATCH] VMware: Add cinder support to devstack The patch set adds cinder support to devstack. VMware cinder support can be found at: - Nova - https://review.openstack.org/#/c/40245/ - Cinder - https://review.openstack.org/#/c/41600/ Change-Id: I0a05643010ea6cfb6635505accc3dcf411fdd419 --- lib/cinder | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/cinder b/lib/cinder index 14950c7f4d..b7f765b391 100644 --- a/lib/cinder +++ b/lib/cinder @@ -287,6 +287,14 @@ function configure_cinder() { CINDER_GLUSTERFS_SHARES=$(echo $CINDER_GLUSTERFS_SHARES | tr ";" "\n") echo "$CINDER_GLUSTERFS_SHARES" > $CINDER_CONF_DIR/glusterfs_shares fi + elif [ "$CINDER_DRIVER" == "vsphere" ]; then + echo_summary "Using VMware vCenter driver" + iniset $CINDER_CONF DEFAULT enabled_backends vmware + iniset $CINDER_CONF vmware host_ip "$VMWAREAPI_IP" + iniset $CINDER_CONF vmware host_username "$VMWAREAPI_USER" + iniset $CINDER_CONF vmware host_password "$VMWAREAPI_PASSWORD" + iniset $CINDER_CONF vmware cluster_name "$VMWAREAPI_CLUSTER" + iniset $CINDER_CONF vmware volume_driver "cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDriver" fi if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then