summaryrefslogtreecommitdiffstats
path: root/qtip/scripts/quickstart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/scripts/quickstart.sh')
-rw-r--r--qtip/scripts/quickstart.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/qtip/scripts/quickstart.sh b/qtip/scripts/quickstart.sh
index b430aa3f..f9becda8 100644
--- a/qtip/scripts/quickstart.sh
+++ b/qtip/scripts/quickstart.sh
@@ -30,7 +30,7 @@ verify_connectivity(){
}
#Getoptions
-while getopts ":t:i:p:s:r:he" optchar; do
+while getopts ":t:i:p:s:r:u:he" optchar; do
case "${optchar}" in
q) test_suite=${OPTARG} ;;
t) installer_type=${OPTARG} ;;
@@ -38,6 +38,7 @@ while getopts ":t:i:p:s:r:he" optchar; do
p) pod_name=${OPTARG} ;;
s) scenario=${OPTARG} ;;
r) testapi_url=${OPTARG} ;;
+ u) sut=${OPTARG} ;;
h) usage
exit 0
;;
@@ -55,6 +56,7 @@ test_suite=${test_suite:-$TEST_SUITE}
pod_name=${pod_name:-$NODE_NAME}
scenario=${scenario:-$SCENARIO}
testapi_url=${testapi_url:-$TESTAPI_URL}
+sut=${sut:-host}
# we currently support fuel, apex and mcp
if [[ ! "$installer_type" =~ (fuel|apex|mcp) ]]; then
@@ -76,9 +78,9 @@ esac
cd /home/opnfv
qtip create --project-template ${test_suite} --pod-name ${pod_name} --installer-type ${installer_type} \
---installer-host ${installer_ip} --scenario ${scenario} ${test_suite}
+--installer-host ${installer_ip} --scenario ${scenario} --sut ${sut} ${test_suite}-${sut}
-cd ${test_suite}
+cd ${test_suite}-${sut}
qtip setup
eval `ssh-agent`