summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-09-25 20:05:43 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2015-09-25 20:25:30 +0200
commit74ce441e693bba457e8e484f4694004ff37f071b (patch)
treed66e8827c39e55e3904066a0114c758c3d3ba15e /jjb
parent6d29bbb710bf700bbcd173498227f41824221ba5 (diff)
Fixed call to ODL test suite adding needed parameters
Change-Id: Id5971d3c006434f9cff145c3a0333dcb09e45a7a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/functest/functest.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
index 9e3ff5196..468c88283 100644
--- a/jjb/functest/functest.yml
+++ b/jjb/functest/functest.yml
@@ -607,6 +607,17 @@
# ODL
echo "Functest: run ODL suite"
+ public_ip=$(env | grep OS_AUTH_URL | cut -f3 -d"/" | cut -f1 -d":")
+ echo "Functest: public IP is ${public_ip}"
+ if [ $INSTALLER_TYPE == "fuel" ]; then
+ odl_port=8181
+ elif [ $INSTALLER_TYPE == "foreman" ]; then
+ odl_port=8081
+ else
+ echo "INSTALLER_TYPE not valid."
+ exit 1
+ fi
+ ODL_PORT=$odl_port ODL_IP=$public_ip NEUTRON_IP=$public_ip USR_NAME=admin PASS=admin \
$WORKSPACE/testcases/Controllers/ODL/CI/start_tests.sh
# rally