Merge "[RIC-213] Add olmnId and nearRtRicId to HelmChart + remove env var RIC_ID"
authorLusheng Ji <lji@research.att.com>
Thu, 26 Mar 2020 17:36:23 +0000 (17:36 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Thu, 26 Mar 2020 17:36:23 +0000 (17:36 +0000)
RECIPE_EXAMPLE/example_recipe.yaml
helm/e2mgr/templates/configmap.yaml
helm/e2mgr/values.yaml

index c86a166..d72e25d 100644 (file)
@@ -101,8 +101,9 @@ e2mgr:
     name: ric-plt-e2mgr
     tag: 2.0.10
   privilegedmode: false
-  env:
-    RIC_ID: "bbbccc-abcd0e/20"
+  globalRicId:
+    plmnId: 131014
+    ricNearRtId: 556670
 
 
 e2term:
index 57ecf4f..fd7ae2d 100644 (file)
@@ -130,4 +130,16 @@ data:
     {{- else }}
     keepAliveDelayMs: 120000
     {{- end }}
+
+    globalRicId:
+      {{- if hasKey .Values.e2mgr "plmnId" }}
+      plmnId: {{ .Values.e2mgr.plmnId }}
+      {{- else }}
+      plmnId: 131014
+      {{- end }}
+      {{- if hasKey .Values.e2mgr "ricNearRtId" }}
+      ricNearRtId: {{ .Values.e2mgr.ricNearRtId }}
+      {{- else }}
+      ricNearRtId: 556670
+      {{- end }}
 ---
index 7de686c..c86b3bd 100644 (file)
@@ -31,8 +31,9 @@ e2mgr:
   
   replicaCount: 1
   
-  env:
-    RIC_ID: "bbbccc-abcd0e/20"
+  globalRicId:
+    plmnId: 131014
+    ricNearRtId: 556670
 
 
   # Service ports are now defined in