summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-29 19:11:42 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-05-29 19:11:42 +0800
commit5d2a14c7c9aef5e31609ae8ebcc16a2485ac8b4d (patch)
tree4f85b1a8eaaeaed4aebd95b3224ff7829a3ab670 /ci
parent90760673c80a79fd5570d43fb06e0322301f7efc (diff)
bugfix: delete extra firewalls in virtual deployment
Change-Id: I179b5aab51958c0cd4653e65bbd74df5cfd7c53e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy/deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh
index 3118d083..050219bf 100755
--- a/ci/deploy/deploy.sh
+++ b/ci/deploy/deploy.sh
@@ -369,6 +369,12 @@ fi
echo "====== post deploy ======"
ssh $SSH_PARAS $DAISY_IP "bash $REMOTE_SPACE/deploy/post.sh -n $NETWORK"
+echo "====== disable iptable rules ======"
+sudo iptables -D FORWARD -o daisy1 -j REJECT --reject-with icmp-port-unreachable
+sudo iptables -D FORWARD -i daisy1 -j REJECT --reject-with icmp-port-unreachable
+sudo iptables -D FORWARD -o daisy2 -j REJECT --reject-with icmp-port-unreachable
+sudo iptables -D FORWARD -i daisy2 -j REJECT --reject-with icmp-port-unreachable
+
echo "====== deploy successfully ======"
exit 0