summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-06-12 22:24:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-12 22:24:13 +0000
commit9705226e4b6f530508697a2206a758a522b5e97b (patch)
tree0191003bfaf8698d356e7ca5296c1eb3a0fb4004
parent7d6d7362966db61f94db6f1035a258468cf6efdc (diff)
parentc302b20ec4772d04488ab2ff325a8fdeb67d3a36 (diff)
Merge "Remove obsolete iptable rules"
-rwxr-xr-xjjb/functest/functest-alpine.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh
index 392f192..24a28c6 100755
--- a/jjb/functest/functest-alpine.sh
+++ b/jjb/functest/functest-alpine.sh
@@ -109,11 +109,6 @@ fi
rc_file_vol="-v ${rc_file}:${FUNCTEST_DIR}/conf/env_file"
-# Set iptables rule to allow forwarding return traffic for container
-if ! sudo iptables -C FORWARD -j RETURN 2> ${redirect} || ! sudo iptables -L FORWARD | awk 'NR==3' | grep RETURN 2> ${redirect}; then
- sudo iptables -I FORWARD -j RETURN
-fi
-
echo "Functest: Start Docker and prepare environment"
echo "Functest: Download images that will be used by test cases"