summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-15 16:13:30 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-15 16:14:32 +0100
commit29b8e3440d04fbe3c448d0598f85e8c09c83e929 (patch)
tree6cc2a211e532955d54feb16b4ba76ae3d7f2138c /jjb
parent65bcd191470b2f338f05db0d760ddd601fd0fb07 (diff)
Add removal of iptables rules in LF POD1 to let the container ping the deployment
Change-Id: I8eb5758093303018b6fc673bc59e725af6a1c1de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/functest/functest.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
index e1dff72e4..1a9ba6239 100644
--- a/jjb/functest/functest.yml
+++ b/jjb/functest/functest.yml
@@ -194,6 +194,8 @@
INSTALLER_IP=$(grep instack /var/lib/libvirt/dnsmasq/default.leases \
|awk '{print $3}' | head -n 1)
sshkey="-v /root/.ssh/id_rsa:/root/.ssh/id_rsa"
+ sudo iptables -D FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable
+ sudo iptables -D FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable
fi
echo "Functest: Start Docker and prepare environment"
envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} -e NODE_NAME=${NODE_NAME}"