Helm Chart cleanup for spgw. Removal of dpdk related parameters,
config files are removed.
Change-Id: Ib347afb5c37bea11b39aac555b1dc4a1d177e848
diff --git a/omec/omec-control-plane/templates/bin/_spgwc-run.sh.tpl b/omec/omec-control-plane/templates/bin/_spgwc-run.sh.tpl
index b7f6cb0..fd1096d 100644
--- a/omec/omec-control-plane/templates/bin/_spgwc-run.sh.tpl
+++ b/omec/omec-control-plane/templates/bin/_spgwc-run.sh.tpl
@@ -9,22 +9,18 @@
mkdir -p /opt/cp/config
cd /opt/cp/config
-cp /etc/cp/config/{*.cfg,*.json,*.conf} .
+cp /etc/cp/config/{*.json,*.conf} .
case $APPLICATION in
"ngic_controlplane")
echo "Starting ngic controlplane app"
- if [ ! -d "/dev/hugepages" ]; then
- MEMORY="--no-huge -m $((MEM_LIMIT-1024))"
- fi
- CORES="-c $(taskset -p $$ | awk '{print $NF}')"
- EAL_ARGS="${CORES} ${MEMORY} --no-pci"
+ cat /opt/cp/config/cp.json
cat /opt/cp/config/subscriber_mapping.json
{{- if .Values.config.coreDump.enabled }}
cp /bin/ngic_controlplane /tmp/coredump/
{{- end }}
- ngic_controlplane $EAL_ARGS -- -f /etc/cp/config/
+ ngic_controlplane -f /etc/cp/config/
;;
"gx-app")