summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/functest/functest.yml')
-rw-r--r--jjb/functest/functest.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
index 9e3ff5196..2d57102ad 100644
--- a/jjb/functest/functest.yml
+++ b/jjb/functest/functest.yml
@@ -607,7 +607,22 @@
# ODL
echo "Functest: run ODL suite"
- $WORKSPACE/testcases/Controllers/ODL/CI/start_tests.sh
+
+ if [ $INSTALLER_TYPE == "fuel" ]; then
+ odl_ip=$(keystone catalog --service network | grep publicURL | cut -f3 -d"/" | cut -f1 -d":")
+ neutron_ip=$(keystone catalog --service identity | grep publicURL | cut -f3 -d"/" | cut -f1 -d":")
+ usr_name=$(env | grep OS | grep OS_USERNAME | cut -f2 -d'=')
+ pass=$(env | grep OS | grep OS_PASSWORD | cut -f2 -d'=')
+ odl_port=8181
+ ODL_PORT=$odl_port ODL_IP=$odl_ip NEUTRON_IP=$neutron_ip USR_NAME=$usr_name PASS=$pass \
+ $WORKSPACE/testcases/Controllers/ODL/CI/start_tests.sh
+ elif [ $INSTALLER_TYPE == "foreman" ]; then
+ #odl_port=8081
+ $WORKSPACE/testcases/Controllers/ODL/CI/start_tests.sh
+ else
+ echo "INSTALLER_TYPE not valid."
+ exit 1
+ fi
# rally
echo "Functest: run Functest Rally Bench suites"