aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ODL/CI/start_tests.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-01-26 15:03:44 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-26 14:32:28 +0000
commitca5f6106bc2a07a960cfa607ad1c35a8d93c69ce (patch)
treeb9e681458ca1ffa6c1ada9f79a9b261d86fb49c9 /testcases/Controllers/ODL/CI/start_tests.sh
parentc552e04dc359e87f06ba9127218c0921757c87e8 (diff)
Patch ODL scenario to support joid (different keystone and neutron API IP)
JIRA: FUNCTEST-124 Change-Id: I84834fcb78e652f3b39696f0e17bf54cb5804559 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 1a40722cd446af5416029dc0f3b371a835fa444c)
Diffstat (limited to 'testcases/Controllers/ODL/CI/start_tests.sh')
-rwxr-xr-xtestcases/Controllers/ODL/CI/start_tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/Controllers/ODL/CI/start_tests.sh b/testcases/Controllers/ODL/CI/start_tests.sh
index 4d600224e..5b45a2e92 100755
--- a/testcases/Controllers/ODL/CI/start_tests.sh
+++ b/testcases/Controllers/ODL/CI/start_tests.sh
@@ -51,6 +51,7 @@ ODL_PORT=${ODL_PORT:-8081}
USR_NAME=${USR_NAME:-'neutron'}
PASS=${PASS:-'octopus'}
NEUTRON_IP=${NEUTRON_IP:-192.168.0.68}
+KEYSTONE_IP=${NEUTRON_IP:-192.168.0.69}
set +x
init_file=${REPO_DIR}/test/csit/suites/openstack/neutron/__init__.robot
@@ -80,7 +81,7 @@ do
((test_num++))
echo -e "${light_green}Starting test: $line ${nc}"
- pybot -v OPENSTACK:${NEUTRON_IP} -v PORT:${ODL_PORT} -v CONTROLLER:${ODL_IP} ${REPO_DIR}/$line
+ pybot -v OPENSTACK:${KEYSTONE_IP} -v NEUTRON:${NEUTRON_IP} -v PORT:${ODL_PORT} -v CONTROLLER:${ODL_IP} ${REPO_DIR}/$line
mkdir -p $RESULTS_DIR/logs/${test_num}
mv log.html $RESULTS_DIR/logs/${test_num}/
mv report.html $RESULTS_DIR/logs/${test_num}/