X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fe2mgr%2Ftemplates%2Fconfigmap.yaml;h=04dc74dcf70d23fc770be3fd455abe38971d7c17;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=fcfe9a0cc01aeb6604fe39987296d348aeab1c6a;hpb=431ae3c7eab922223215b52f2a347029eb95335b;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/e2mgr/templates/configmap.yaml b/ric-platform/50-RIC-Platform/helm/e2mgr/templates/configmap.yaml index fcfe9a0c..04dc74dc 100644 --- a/ric-platform/50-RIC-Platform/helm/e2mgr/templates/configmap.yaml +++ b/ric-platform/50-RIC-Platform/helm/e2mgr/templates/configmap.yaml @@ -14,16 +14,101 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ - --- apiVersion: v1 kind: ConfigMap metadata: name: {{ include "common.configmapname.e2mgr" . }}-router-configmap - namespace: {{ include "common.namespace" . }} + namespace: {{ include "common.namespace.platform" . }} data: + rmr_verbose: | + 0 router.txt: | newrt|start - rte|1001|{{ include "common.servicename.e2term" .}}:38000 - rte|2002|{{ include "common.servicename.e2mgr" .}}:3801 + rte|1080|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|1090|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|1100|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|1200|{{ include "common.servicename.rsm.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.rsm.rmr.data" . }} + rte|1210|{{ include "common.servicename.rsm.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.rsm.rmr.data" . }} + rte|1220|{{ include "common.servicename.rsm.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.rsm.rmr.data" . }} + rte|10020|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10060|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|10061|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10062|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10070|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|10071|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|10080|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10360|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|10361|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10362|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10370|{{ include "common.servicename.e2mgr.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2mgr.rmr.data" . }} + rte|10371|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|12010|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|12020|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} + rte|20001|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }} newrt|end + +--- + +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.configmapname.e2mgr" . }}-configuration-configmap + namespace: {{ include "common.namespace.platform" . }} +data: + configuration.yaml: | + logging: + {{- if hasKey .Values.e2mgr "logLevel" }} + logLevel: {{ .Values.e2mgr.logLevel }} + {{- else }} + logLevel: "info" + {{- end }} + http: + {{- if hasKey .Values.e2mgr "httpPort" }} + port: {{ .Values.e2mgr.httpPort }} + {{- else }} + port: 3800 + {{- end }} + rmr: + {{- if hasKey .Values.e2mgr "rmrPort" }} + port: {{ .Values.e2mgr.rmrPort }} + {{- else }} + port: 3801 + {{- end }} + {{- if hasKey .Values.e2mgr "maxMsgSize" }} + maxMsgSize: {{ .Values.e2mgr.maxMsgSize }} + {{- else }} + maxMsgSize: 4096 + {{- end }} + + {{- if hasKey .Values.e2mgr "notificationResponseBuffer" }} + notificationResponseBuffer: {{ .Values.e2mgr.notificationResponseBuffer }} + {{- else }} + notificationResponseBuffer: 100 + {{- end }} + + {{- if hasKey .Values.e2mgr "bigRedButtonTimeoutSec" }} + bigRedButtonTimeoutSec: {{ .Values.e2mgr.bigRedButtonTimeoutSec }} + {{- else }} + bigRedButtonTimeoutSec: 5 + {{- end }} + + {{- if hasKey .Values.e2mgr "maxConnectionAttempts" }} + maxConnectionAttempts: {{ .Values.e2mgr.maxConnectionAttempts }} + {{- else }} + maxConnectionAttempts: 3 + {{- end }} + + {{- if hasKey .Values.e2mgr "maxRnibConnectionAttempts" }} + maxRnibConnectionAttempts: {{ .Values.e2mgr.maxRnibConnectionAttempts }} + {{- else }} + maxRnibConnectionAttempts: 3 + {{- end }} + + {{- if hasKey .Values.e2mgr "rnibRetryIntervalMs" }} + rnibRetryIntervalMs: {{ .Values.e2mgr.rnibRetryIntervalMs }} + {{- else }} + rnibRetryIntervalMs: 10 + {{- end }} + +---