summaryrefslogtreecommitdiffstats
path: root/ci/generate-environment.sh
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2017-10-11 07:30:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-11 07:30:30 +0000
commit477957139b2b782b899c9cb5603389ff0802b741 (patch)
treedabed9bdb900d9c352825beccbb13a7bab057566 /ci/generate-environment.sh
parenteb138c529c3cb1a7223bd970685db874f5a62690 (diff)
parent237664a32c2212953733f0f808810543c440d123 (diff)
Merge "Adding FUEL Support"
Diffstat (limited to 'ci/generate-environment.sh')
-rwxr-xr-xci/generate-environment.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/ci/generate-environment.sh b/ci/generate-environment.sh
index c65dc17..79bd20f 100755
--- a/ci/generate-environment.sh
+++ b/ci/generate-environment.sh
@@ -16,6 +16,7 @@ fi
ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
export INSTALLER=`./detect_installer.sh`
+TARGET="/dev/vdb"
case $INSTALLER in
joid)
@@ -36,6 +37,12 @@ case $INSTALLER in
# juju status | grep hardware: | grep tags | grep -v virtual
NETWORK=ext-net
;;
+ fuel)
+ CINDER_BACKEND=LVM
+ CINDER_NODES=4
+ NETWORK=floating_net
+ TARGET="/dev/vdc"
+ ;;
apex)
INSTALLER_IP=`sudo virsh domifaddr undercloud | grep ipv4 | awk '{print $4}' | cut -d/ -f1`
CINDER_BACKEND=ceph
@@ -54,4 +61,5 @@ export CINDER_BACKEND=$CINDER_BACKEND
export CINDER_NODES=$CINDER_NODES
export INSTALLER=$INSTALLER
export NETWORK=$NETWORK
-EOF \ No newline at end of file
+export TARGET=$TARGET
+EOF