diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2018-03-01 05:20:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-01 05:20:00 +0000 |
commit | 8890340e3ef985f937d4f9f3982ddb110174303c (patch) | |
tree | a306d387cb95fdc71193c722510648bd9a443746 /qtip/scripts/quickstart.sh | |
parent | ce37a4fa011c253465f6485dbd05f2c2e99f5109 (diff) | |
parent | 46b3aa5c929bdce4526b13dda59e0787c81bdf3d (diff) |
Merge "bugfix about sut"
Diffstat (limited to 'qtip/scripts/quickstart.sh')
-rw-r--r-- | qtip/scripts/quickstart.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/qtip/scripts/quickstart.sh b/qtip/scripts/quickstart.sh index f9becda8..22257f5b 100644 --- a/qtip/scripts/quickstart.sh +++ b/qtip/scripts/quickstart.sh @@ -13,7 +13,8 @@ set -o pipefail set -x usage(){ - echo "usage: $0 -q <qtip_test_suite> -t <installer_type> -i <installer_ip> -p <pod_name> -s <scenario> -r <report_url>" >&2 + echo "usage: $0 -q <qtip_test_suite> -t <installer_type> -i <installer_ip> -p <pod_name> -s <scenario> -r <report_url> + -u <sut>" >&2 } verify_connectivity(){ @@ -56,7 +57,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} +sut=${sut:-node} # we currently support fuel, apex and mcp if [[ ! "$installer_type" =~ (fuel|apex|mcp) ]]; then @@ -78,9 +79,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} --sut ${sut} ${test_suite}-${sut} +--installer-host ${installer_ip} --scenario ${scenario} --sut ${sut} ${test_suite} -cd ${test_suite}-${sut} +cd ${test_suite} qtip setup eval `ssh-agent` |