Add A1 STD V2 simulators
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
1 ################################################################################
2 #   Copyright (c) 2020 Nordix Foundation.                                      #
3 #                                                                              #
4 #   Licensed under the Apache License, Version 2.0 (the "License");            #
5 #   you may not use this file except in compliance with the License.           #
6 #   You may obtain a copy of the License at                                    #
7 #                                                                              #
8 #       http://www.apache.org/licenses/LICENSE-2.0                             #
9 #                                                                              #
10 #   Unless required by applicable law or agreed to in writing, software        #
11 #   distributed under the License is distributed on an "AS IS" BASIS,          #
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
13 #   See the License for the specific language governing permissions and        #
14 #   limitations under the License.                                             #
15 ################################################################################
16
17 #-------------------------------------------------------------------------
18 # Global common setting
19 #-------------------------------------------------------------------------
20
21 common:
22   releasePrefix: r2-dev-nonrtric
23 # Change the namespaces using the following options
24   namespace:
25     nonrtric: nonrtric
26
27 component: nonrtric
28
29 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
30 a1controller:
31   a1controller:
32     imagePullPolicy: IfNotPresent
33     image:
34       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
35       name: nonrtric-a1-controller
36       tag: 2.0.1
37     replicaCount: 1
38     service:
39       allowHttp: true
40       httpName: http
41       internalPort1: 8282
42       targetPort1: 8181
43       httpsName: https
44       internalPort2: 8383
45       targetPort2: 8443
46     liveness:
47       initialDelaySeconds: 300
48       periodSeconds: 10
49     readiness:
50       initialDelaySeconds: 60
51       periodSeconds: 10
52
53 a1simulator:
54   a1simulator:
55     name: a1-sim
56     imagePullPolicy: IfNotPresent
57     image:
58       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
59       name: a1-simulator
60       tag: 2.1.0
61     service:
62       allowHttp: true
63       httpName: http
64       internalPort1: 8085
65       targetPort1: 8085
66       httpsName: https
67       internalPort2: 8185
68       targetPort2: 8185
69     liveness:
70       initialDelaySeconds: 20
71       periodSeconds: 10
72     readiness:
73       initialDelaySeconds: 20
74       periodSeconds: 10
75     oscVersion:
76       name: a1-sim-osc
77       replicaCount: 2
78     stdVersion:
79       name: a1-sim-std
80       replicaCount: 2
81     stdVersion2:
82       name: a1-sim-std2
83       replicaCount: 2
84
85 # image registry and tag to be changed after first release of controlpanel
86 # Need to check the external port Availability
87 controlpanel:
88   controlpanel:
89     imagePullPolicy: IfNotPresent
90     image:
91       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
92       name: nonrtric-controlpanel
93       tag: 2.1.0
94     replicaCount: 1
95     service:
96       allowHttp: true
97       httpName: http
98       internalPort1: 8080
99       targetPort1: 8080
100       externalPort1: 30091
101       httpsName: https
102       internalPort2: 8081
103       targetPort2: 8082
104       externalPort2: 30092
105     liveness:
106       initialDelaySeconds: 20
107       periodSeconds: 10
108     readiness:
109       initialDelaySeconds: 20
110       periodSeconds: 10
111
112 # Need to check the external port Availability
113 policymanagementservice:
114   policymanagementservice:
115     imagePullPolicy: IfNotPresent
116     image:
117       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
118       name: nonrtric-policy-agent
119       tag: 2.1.0
120     service:
121       allowHttp: true
122       httpName: http
123       internalPort1: 9080
124       targetPort1: 8081
125       externalPort1: 30093
126       httpsName: https
127       internalPort2: 9081
128       targetPort2: 8433
129       externalPort2: 30094
130     liveness:
131       initialDelaySeconds: 20
132       periodSeconds: 10
133     readiness:
134       initialDelaySeconds: 20
135       periodSeconds: 10
136     ric: |
137       [
138         {
139              "name":"ric1",
140              "baseUrl":"https://a1-sim-osc-0.a1-sim:8185",
141              "controller": "controller1",
142              "managedElementIds":[
143                 "kista_1",
144                 "kista_2"
145              ]
146           },
147           {
148             "name":"ric2",
149             "baseUrl":"https://a1-sim-osc-1.a1-sim:8185",
150             "controller": "controller1",
151             "managedElementIds":[
152                "kista_1",
153                "kista_2"
154             ]
155           },
156           {
157             "name":"ric3",
158             "baseUrl":"https://a1-sim-std-0.a1-sim:8185",
159             "controller": "controller1",
160             "managedElementIds":[
161                "kista_1",
162                "kista_2"
163             ]
164           },
165           {
166             "name":"ric4",
167             "baseUrl":"https://a1-sim-std-1.a1-sim:8185",
168             "controller": "controller1",
169             "managedElementIds":[
170                "kista_1",
171                "kista_2"
172             ]
173           },
174           {
175             "name":"ric5",
176             "baseUrl":"https://a1-sim-std2-0.a1-sim:8185",
177             "controller": "controller1",
178             "managedElementIds":[
179                "kista_1",
180                "kista_2"
181             ]
182           },
183           {
184             "name":"ric6",
185             "baseUrl":"https://a1-sim-std2-1.a1-sim:8185",
186             "controller": "controller1",
187             "managedElementIds":[
188                "kista_1",
189                "kista_2"
190             ]
191           }
192       ]
193     streams_publishes: |
194       {
195         "dmaap_publisher": {
196           "type":"message_router",
197           "dmaap_info":{
198             "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-WRITE"
199           }
200         }
201       }
202     streams_subscribes: |
203       {
204         "dmaap_subscriber":{
205           "type":"message_router",
206           "dmaap_info":{
207             "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100"
208           }
209         }
210       }
211 enrichmentservice:
212   enrichmentservice:
213     imagePullPolicy: IfNotPresent
214     image:
215       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
216       name: 'nonrtric-enrichment-coordinator-service'
217       tag: 1.0.0
218     service:
219       allowHttp: true
220       httpName: http
221       internalPort1: 9082
222       targetPort1: 8083
223       externalPort1: 30095
224       httpsName: https
225       internalPort2: 9083
226       targetPort2: 8434
227       externalPort2: 30096
228     liveness:
229       initialDelaySeconds: 20
230       periodSeconds: 10
231     readiness:
232       initialDelaySeconds: 20
233       periodSeconds: 10
234     persistence:
235       enabled: true
236       volumeReclaimPolicy: Retain
237       accessMode: ReadWriteOnce
238       size: 2Gi
239       mountPath: /dockerdata-nfs
240       mountSubPath: nonrtric/enrichmentservice
241 rappcatalogueservice:
242   rappcatalogueservice:
243     imagePullPolicy: IfNotPresent
244     image:
245       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
246       name: nonrtric-r-app-catalogue
247       tag: 1.0.0
248     service:
249       allowHttp: true
250       httpName: http
251       internalPort1: 9085
252       targetPort1: 8080
253       externalPort1: 30097
254       httpsName: https
255       internalPort2: 9086
256       targetPort2: 8433
257       externalPort2: 30098
258     liveness:
259       initialDelaySeconds: 20
260       periodSeconds: 10
261     readiness:
262       initialDelaySeconds: 20
263       periodSeconds: 10