Extend K8S and RIC installation instructions
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / a1mediator / templates / config.yaml
1 ################################################################################
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #
3 #   Copyright (c) 2019 Nokia.                                                  #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17
18 ---
19 apiVersion: v1
20 kind: ConfigMap
21 metadata:
22   name: {{ include "common.configmapname.a1mediator" . }}-a1conf
23 data:
24   local.rt: |
25     newrt|start
26     # Warning! this is not a functioning table because the subscription manager and route manager are now involved in a1 flows
27     # 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
28     # there is a single message type for all messages a1 sends out now, subid is the other necessary piece of info
29     # there are two message types a1 listens for; 20011 (instance response) and 20012 (query)
30     # xapps likely use rts to reply with 20012 so the routing entry isn't needed for that in most cases
31     mse|20010|SUBID|service-ricxapp-admctrl-rmr.{{ include "common.namespace.xapp" . }}:4563
32     rte|20011|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }}
33     rte|20012|{{ include "common.servicename.a1mediator.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.a1mediator.rmr.data" . }}
34     newrt|end