Fix Connection problem between eNB and EPC
* RRU to NAT: Change REDIS to use `116.0.0.0/24` in database
* SPGW-C to SPGW-U: Change SGW-S1U-IP to Dataplane hostname
Change-Id: Ic9c5abf447591773de1c4758a5303b5e0edb71de
diff --git a/mcord/mcord-control-plane/templates/cp.yaml b/mcord/mcord-control-plane/templates/cp.yaml
index 563336f..c6dee13 100644
--- a/mcord/mcord-control-plane/templates/cp.yaml
+++ b/mcord/mcord-control-plane/templates/cp.yaml
@@ -64,10 +64,10 @@
image: {{ .Values.ngic_cp.images.cp }}
imagePullPolicy: IfNotPresent
stdin: true
- command: [ "bash", "-xc"]
+ command: [ "bash", "-xc" ]
args:
- - export HOSTIP=$(ip route get 1 | awk '{print $NF;exit}');
- echo "$HOSTIP" > /opt/ngic/config/shared/SGW_S1U_IP;
+ - export DP_S1U_IP="{{ .Values.spgwu_s1u_ip }}";
+ echo "$DP_S1U_IP" > /opt/ngic/config/shared/SGW_S1U_IP;
. /opt/ngic/config/cp_config.cfg;
sleep 20;
./ngic_controlplane $EAL_ARGS -- $APP_ARGS;