Add initial ping to access and core gateways to make fabric to learn hosts
Change-Id: I972e722bd1d7774d0dd3d135a02ab90643f408dd
diff --git a/omec/omec-user-plane/Chart.yaml b/omec/omec-user-plane/Chart.yaml
index 4a10cb1..2e75de8 100644
--- a/omec/omec-user-plane/Chart.yaml
+++ b/omec/omec-user-plane/Chart.yaml
@@ -7,4 +7,4 @@
name: omec-user-plane
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.3.15
+version: 0.3.16
diff --git a/omec/omec-user-plane/templates/statefulset-upf.yaml b/omec/omec-user-plane/templates/statefulset-upf.yaml
index 28cf0e4..20d05d6 100644
--- a/omec/omec-user-plane/templates/statefulset-upf.yaml
+++ b/omec/omec-user-plane/templates/statefulset-upf.yaml
@@ -62,6 +62,8 @@
- ip route replace {{ .Values.config.upf.enb.subnet }} via {{ .Values.config.upf.access.gateway }};
ip route replace default via {{ .Values.config.upf.core.gateway }} metric 110;
iptables -I OUTPUT -p icmp --icmp-type port-unreachable -j DROP;
+ ping {{ .Values.config.upf.access.gateway }} -c 5;
+ ping {{ .Values.config.upf.core.gateway }} -c 5;
securityContext:
capabilities:
add: