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/Chart.yaml b/mcord/mcord-control-plane/Chart.yaml
index edbb6c2..e4ad5cc 100644
--- a/mcord/mcord-control-plane/Chart.yaml
+++ b/mcord/mcord-control-plane/Chart.yaml
@@ -18,4 +18,4 @@
appVersion: "1.0"
description: A Helm chart for MCORD Control Plane Services
name: mcord-control-plane
-version: 0.1.3
+version: 0.1.4
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;
diff --git a/mcord/mcord-control-plane/values.yaml b/mcord/mcord-control-plane/values.yaml
index c61a6f8..5e3ef5b 100644
--- a/mcord/mcord-control-plane/values.yaml
+++ b/mcord/mcord-control-plane/values.yaml
@@ -23,6 +23,8 @@
mme_hostname: "mme"
spgwc_hostname: "ngic-cp"
spgwu_hostname: "ngic-dp"
+# Need to get SPGW-U interface IP address to put at here
+spgwu_s1u_ip: "119.0.0.45"
spgwu_port: 20
hss: