diff options
author | 2016-12-13 12:31:39 +0100 | |
---|---|---|
committer | 2016-12-15 12:37:52 +0100 | |
commit | acf339f2840d0fe7a46187a0597704cf5b486214 (patch) | |
tree | de114d6482bcd7cfd9d057f756d8b6f8864911cb /tests/functest/odl-sfc/setup_scripts/compute_presetup_CI.bash | |
parent | 1350624dbcf49c27ae0333719c2d7dda86ca7b0e (diff) |
Make SFC installable as a python module
New directory structure:
<root>/sfc
<root>/sfc/lib/
<root>/sfc/tests
<root>/sfc/tests/functest
JIRA: SFC-60
After installing sfc, the imports would be:
import sfc.tests.functest.x
import sfc.lib.x
Change-Id: Ib15172239aefdef65056d6598210a1b28a4b2eff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'tests/functest/odl-sfc/setup_scripts/compute_presetup_CI.bash')
-rwxr-xr-x | tests/functest/odl-sfc/setup_scripts/compute_presetup_CI.bash | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/functest/odl-sfc/setup_scripts/compute_presetup_CI.bash b/tests/functest/odl-sfc/setup_scripts/compute_presetup_CI.bash deleted file mode 100755 index 36148aa1..00000000 --- a/tests/functest/odl-sfc/setup_scripts/compute_presetup_CI.bash +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# This script must be use with vxlan-gpe + nsh. Once we have eth + nsh support -# in ODL, we will not need it anymore - -set -e -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 compute|\ -#awk '{print $10}' | head -1` - -ip=$1 -echo $ip -#sshpass -p r00tme scp $ssh_options correct_classifier.bash ${INSTALLER_IP}:/root -#sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'scp correct_classifier.bash '"$ip"':/root' - -sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'ssh root@'"$ip"' ifconfig br-int up' -output=$(sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'ssh root@'"$ip"' ip route | \ -cut -d" " -f1 | grep 11.0.0.0' ; exit 0) - -if [ -z "$output" ]; then -sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'ssh root@'"$ip"' ip route add 11.0.0.0/24 \ -dev br-int' -fi |