aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc/server_presetup_CI.bash
diff options
context:
space:
mode:
authorManuel Buil <manuel.buil@ericsson.com>2016-08-01 10:09:10 +0200
committerManuel Buil <manuel.buil@ericsson.com>2016-08-01 11:25:10 +0200
commit7076c6c1943b60e3fefffc9941f9ae36be394727 (patch)
tree8f7df3b25cf8d57d98ef276c60ee007509922aa9 /testcases/features/sfc/server_presetup_CI.bash
parent479ce09a9bd5649435dad5caeb0d7e338bb3affb (diff)
Several bug fixes in ODL-SFC functest testcase
JIRA: SFC-42 - SSH options added so that the ssh key is not needed - IPTABLES change done before contacting nova, neutron... - Fix a problem in the CI test (we need to CD the BASEDIR) Change-Id: Id63c02a614bf31e5a33637c2bf95270bd1399ff8 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
Diffstat (limited to 'testcases/features/sfc/server_presetup_CI.bash')
-rwxr-xr-xtestcases/features/sfc/server_presetup_CI.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/testcases/features/sfc/server_presetup_CI.bash b/testcases/features/sfc/server_presetup_CI.bash
index 785e7a7fc..f959ced5b 100755
--- a/testcases/features/sfc/server_presetup_CI.bash
+++ b/testcases/features/sfc/server_presetup_CI.bash
@@ -4,6 +4,7 @@ ssh_options='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
BASEDIR=`dirname $0`
INSTALLER_IP=${INSTALLER_IP:-10.20.0.2}
+pushd $BASEDIR
ip=`sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'fuel node'|grep controller|awk '{print $10}' | head -1`
echo $ip
sshpass -p r00tme scp $ssh_options set-up-tacker.sh ${INSTALLER_IP}:/root