X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fa1mediator%2Ftemplates%2Fconfig.yaml;h=97a07b3a312409187c886093b4bb088949cb3b5f;hb=8195fb061b7fd8b9d1fabea509ed841b885655b3;hp=afac492bf17c3e39dd1493af533bddbd8e159938;hpb=a397399c6ae05e03a4fe112ed1b29ecd311c264f;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/a1mediator/templates/config.yaml b/ric-platform/50-RIC-Platform/helm/a1mediator/templates/config.yaml index afac492b..97a07b3a 100644 --- a/ric-platform/50-RIC-Platform/helm/a1mediator/templates/config.yaml +++ b/ric-platform/50-RIC-Platform/helm/a1mediator/templates/config.yaml @@ -1,12 +1,34 @@ +################################################################################ +# Copyright (c) 2019 AT&T Intellectual Property. # +# Copyright (c) 2019 Nokia. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + +--- apiVersion: v1 kind: ConfigMap metadata: - name: a1conf + name: {{ include "common.configmapname.a1mediator" . }}-a1conf data: local.rt: | newrt|start - rte|20000|ADM_CONTROL_GOES_HERE:4563 - rte|20001|{{ .Values.rmrservice.name }}:{{ .Values.rmrservice.port }} + # Warning! this is not a functioning table because the subscription manager and route manager are now involved in a1 flows + # the real routing table requires subscription ids as routing is now done over sub ids, but this isn't known until xapp deploy time, it's a dynamic process triggered by the xapp manager + # there is a single message type for all messages a1 sends out now, subid is the other necessary piece of info + # there are two message types a1 listens for; 20011 (instance response) and 20012 (query) + # xapps likely use rts to reply with 20012 so the routing entry isn't needed for that in most cases + mse|20010|SUBID|service-ricxapp-admctrl-rmr.{{ include "common.namespace.xapp" . }}:4563 + rte|20011|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }} + rte|20012|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }} newrt|end - rmr_string_int_mapping.txt: {{ tpl (.Files.Get "files/rmr_string_int_mapping.txt") . | quote }} - ricmanifest.json: {{ tpl (.Files.Get "files/ricmanifest.json") . | quote }}