Tweaks to SIAB Makefile
Change-Id: I170de420da641bbd5b89c2de499f79ea22761961
diff --git a/seba-in-a-box/Makefile b/seba-in-a-box/Makefile
index b103908..c43eb61 100644
--- a/seba-in-a-box/Makefile
+++ b/seba-in-a-box/Makefile
@@ -108,6 +108,7 @@
touch $@
$(M)/ponsim: | $(M)/voltha
+ sudo iptables -P FORWARD ACCEPT
cd $(WORKSPACE)/cord/helm-charts; helm upgrade --install ponnet ponnet
$(WORKSPACE)/cord/helm-charts/scripts/wait_for_pods.sh kube-system
cd $(WORKSPACE)/cord/helm-charts; helm upgrade --install ponsimv2 ponsimv2 -f $(SEBAVALUES)
@@ -164,7 +165,6 @@
touch $@
$(M)/dhclient: $(M)/authenticate
- sudo iptables -P FORWARD ACCEPT
timeout 60s bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/fabric-crossconnect/fabriccrossconnectserviceinstances |jq '.items[0].backend_status'|grep OK; do echo 'waiting for fabric-crossconnect to be synchronized';sleep 5; done"
kubectl -n voltha exec $(shell kubectl -n voltha get pod|grep "^rg-"|cut -d' ' -f1) -- dhclient
kubectl -n voltha exec $(shell kubectl -n voltha get pod|grep "^rg-"|cut -d' ' -f1) -- dhclient -r
@@ -189,6 +189,6 @@
helm delete --purge $(shell helm ls -q)
reset-kubeadm: remove-chart-milestones remove-kube-milestones
- sudo kubeadm reset
+ sudo kubeadm reset -f
sudo iptables -F && sudo iptables -t nat -F && sudo iptables -t mangle -F && sudo iptables -X