[COMAC-185] enable ProgRAN to use with Accelleran CU

Change-Id: I9bdc1865541ea98ad738b20b148017eeb2d8b247
diff --git a/comac-cu/Chart.yaml b/comac-cu/Chart.yaml
index ef46cc8..3e8d4ea 100644
--- a/comac-cu/Chart.yaml
+++ b/comac-cu/Chart.yaml
@@ -17,5 +17,5 @@
 description: A Helm chart to install CU/BBU in COMAC
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 0.0.4
-appVersion: 0.0.4
+version: 0.0.5
+appVersion: 0.0.5
diff --git a/comac-cu/templates/statefulset-accelleran.yaml b/comac-cu/templates/statefulset-accelleran.yaml
index c47266c..b6630a3 100644
--- a/comac-cu/templates/statefulset-accelleran.yaml
+++ b/comac-cu/templates/statefulset-accelleran.yaml
@@ -111,6 +111,11 @@
           sqlite3 /mnt/app/datastoreRemRw.db "update FapServiceFapControlLteGateway set S1SigLinkPort={{ .Values.mme.port }};";
           sqlite3 /mnt/app/datastore.db "insert into enbSctpSocketInterface ('interfaceName') values ('{{ .Values.enb.socket_interface }}');";
           sqlite3 /mnt/app/datastore.db "update logging set severity=7 where id=25;";
+{{- if .Values.cu.accelleran.progran.enabled }}
+          sqlite3 /mnt/app/datastore.db "update featureActivation set mmeSlicingEnabled=1;";
+          sqlite3 /mnt/app/datastore.db "update featureActivation set ranSlicingEnabled=1;";
+          sqlite3 /mnt/app/datastore.db "insert into pranServerAddress (pranServerIpAddress,pranServerPort) values ('{{ .Values.cu.accelleran.progran.ip }}', {{ .Values.cu.accelleran.progran.port }});";
+{{- end}}
           sleep 10;
           /l3/l3start;
         volumeMounts:
diff --git a/comac-cu/values.yaml b/comac-cu/values.yaml
index 3092051..b3e5302 100644
--- a/comac-cu/values.yaml
+++ b/comac-cu/values.yaml
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 mme:
-  nodeport_ip_addr: "10.90.0.152"
+  nodeport_ip_addr: "10.90.0.132"
   port: 36412
 
 enb:
@@ -42,6 +42,10 @@
     resources:
       cpu: 3
       mem: "1Gi"
+    progran:
+      enabled: false
+      ip: "10.90.0.132"
+      port: 30410
 
 network:
   sriov: