bugfix for vstf stack name 13/15413/2
authorMatthewLi <matthew.lijun@huawei.com>
Sun, 12 Jun 2016 03:38:56 +0000 (23:38 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Sun, 12 Jun 2016 06:18:22 +0000 (02:18 -0400)
JIRA: BOTTLENECK-70

Change-Id: I768be0a0b30df266f6f130bf616d6d808cf1849c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
testsuites/vstf/run_vstf.py
utils/infra_setup/heat_template/vstf_heat_template/launch_vstf.sh
utils/infra_setup/heat_template/vstf_heat_template/vstf_test.sh

index b9c782d..319f005 100755 (executable)
@@ -195,6 +195,7 @@ def get_instances(nova_client):
 def vstf_run(launch_file=None, test_file=None):
     print "================run vstf==============="
 
+    heat = _get_heat_client()
     nova = _get_nova_client()
     print(nova.servers.list())
     print "## neutruon net-list:"
@@ -272,7 +273,7 @@ def main():
     time.sleep(300)
 
     launchfile = Bottlenecks_repo_dir + "/utils/infra_setup/heat_template/vstf_heat_template/launch_vstf.sh"
-    testfile = Bottlenecks_repo_dir + "/utils/infra_setup/heat_template/vstf_heat_template/test_vstf.sh"
+    testfile = Bottlenecks_repo_dir + "/utils/infra_setup/heat_template/vstf_heat_template/vstf_test.sh"
     vstf_run(launch_file=launchfile, test_file=testfile)
 
     vstf_env_cleanup()
index f2a0aea..ec615ec 100644 (file)
@@ -9,7 +9,7 @@
 ##############################################################################
 set -x
 
-STACK_NAME="vstf"
+STACK_NAME="bottlenecks_vstf_stack"
 VM_MANAGER_USER="root"
 VM_MANAGER_PASSWD="root"
 VM_TARGET_USER="root"
@@ -19,8 +19,8 @@ VM_TESTER_PASSWD="root"
 RABBITMQ_PORT="5672"
 
 #load func
-source ./ssh.sh
-source ./scp.sh
+#source ./ssh.sh
+#source ./scp.sh
 
 function fn_parser_ipaddress(){
     #parser and get output ipaddress
index d13a6de..94e42e2 100644 (file)
@@ -11,7 +11,7 @@ set -x
 
 VM_MANAGER_USER="root"
 VM_MANAGER_PASSWD="root"
-STACK_NAME="vstf"
+STACK_NAME="bottlenecks_vstf_stack"
 
 function fn_parser_ipaddress(){
     #parser and get output ipaddress