Add odu tests and enable k8s oru test
[it/dep.git] / smo-install / test / pythonsdk / src / orantests / oran_tests / resources / network-simulators-topology / network-simulators-topology-override.yaml
1 ###
2 # ============LICENSE_START=======================================================
3 # ORAN SMO Package
4 # ================================================================================
5 # Copyright (C) 2021 AT&T Intellectual Property. All rights
6 #                             reserved.
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 # http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END============================================
20 # ===================================================================
21
22 ###
23
24
25 ###### Sim Topology Override ########
26 ru-simulator:
27   rus:
28     - name: o-ru-11211
29       simulatedFaults:
30         - name: fault1
31           condition: "Interface Fault"
32           severity: CRITICAL
33           specificProblem: "Interface Fault"
34           faultSeverity: CRITICAL
35           cleared: false
36           text: "Interface Fault"
37           faultId: 30
38           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
39         - name: fault1-close
40           condition: "Interface Fault"
41           severity: NORMAL
42           specificProblem: "Interface Fault"
43           faultSeverity: CRITICAL
44           cleared: true
45           text: "Interface Fault"
46           faultId: 30
47           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
48
49         - name: fault2
50           condition: "C/U-plane logical Connection faulty"
51           severity: CRITICAL
52           specificProblem: "C/U-plane logical Connection faulty"
53           faultSeverity: CRITICAL
54           cleared: false
55           text: "C/U-plane logical Connection faulty"
56           faultId: 28
57           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
58         - name: fault2-close
59           condition: "C/U-plane logical Connection faulty"
60           severity: NORMAL
61           specificProblem: "C/U-plane logical Connection faulty"
62           faultSeverity: CRITICAL
63           cleared: true
64           text: "C/U-plane logical Connection faulty"
65           faultId: 28
66           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
67
68     - name: o-ru-11221
69       simulatedFaults:
70         - name: fault1
71           condition: "Interface Fault"
72           severity: CRITICAL
73           specificProblem: "Interface Fault"
74           faultSeverity: CRITICAL
75           cleared: false
76           text: "Interface Fault"
77           faultId: 30
78           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
79         - name: fault1-close
80           condition: "Interface Fault"
81           severity: NORMAL
82           specificProblem: "Interface Fault"
83           faultSeverity: CRITICAL
84           cleared: true
85           text: "Interface Fault"
86           faultId: 30
87           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
88
89         - name: fault2
90           condition: "C/U-plane logical Connection faulty"
91           severity: CRITICAL
92           specificProblem: "C/U-plane logical Connection faulty"
93           faultSeverity: CRITICAL
94           cleared: false
95           text: "C/U-plane logical Connection faulty"
96           faultId: 28
97           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
98         - name: fault2-close
99           condition: "C/U-plane logical Connection faulty"
100           severity: NORMAL
101           specificProblem: "C/U-plane logical Connection faulty"
102           faultSeverity: CRITICAL
103           cleared: true
104           text: "C/U-plane logical Connection faulty"
105           faultId: 28
106           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
107
108     - name: o-ru-11222
109       simulatedFaults:
110         - name: fault1
111           condition: "Interface Fault"
112           severity: CRITICAL
113           specificProblem: "Interface Fault"
114           faultSeverity: CRITICAL
115           cleared: false
116           text: "Interface Fault"
117           faultId: 30
118           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
119         - name: fault1-close
120           condition: "Interface Fault"
121           severity: NORMAL
122           specificProblem: "Interface Fault"
123           faultSeverity: CRITICAL
124           cleared: true
125           text: "Interface Fault" 
126           faultId: 30
127           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
128
129         - name: fault2
130           condition: "C/U-plane logical Connection faulty"
131           severity: CRITICAL
132           specificProblem: "C/U-plane logical Connection faulty"
133           faultSeverity: CRITICAL
134           cleared: false
135           text: "C/U-plane logical Connection faulty"
136           faultId: 28
137           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
138         - name: fault2-close
139           condition: "C/U-plane logical Connection faulty"
140           severity: NORMAL
141           specificProblem: "C/U-plane logical Connection faulty"
142           faultSeverity: CRITICAL
143           cleared: true
144           text: "C/U-plane logical Connection faulty"
145           faultId: 28
146           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
147
148     - name: o-ru-11223
149       simulatedFaults:
150         - name: fault1
151           condition: "Interface Fault"
152           severity: CRITICAL
153           specificProblem: "Interface Fault"
154           faultSeverity: CRITICAL
155           cleared: false
156           text: "Interface Fault"
157           faultId: 30
158           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
159         - name: fault1-close
160           condition: "Interface Fault"
161           severity: NORMAL
162           specificProblem: "Interface Fault"
163           faultSeverity: CRITICAL
164           cleared: true
165           text: "Interface Fault" 
166           faultId: 30
167           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
168
169         - name: fault2
170           condition: "C/U-plane logical Connection faulty"
171           severity: CRITICAL
172           specificProblem: "C/U-plane logical Connection faulty"
173           faultSeverity: CRITICAL
174           cleared: false
175           text: "C/U-plane logical Connection faulty"
176           faultId: 28
177           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
178         - name: fault2-close
179           condition: "C/U-plane logical Connection faulty"
180           severity: NORMAL
181           specificProblem: "C/U-plane logical Connection faulty"
182           faultSeverity: CRITICAL
183           cleared: true
184           text: "C/U-plane logical Connection faulty"
185           faultId: 28
186           object: "09a95e08-5b53-4734-815f-a9c12300fc62"
187
188 du-simulator:
189   dus:
190     - name: o-du-1121
191       operational:
192         administrativeState: locked
193         operationalState: enabled
194       running:
195         administrativeState: unlocked
196       cell:
197         name: cell-1
198         trafficState: active
199         localId: 1
200         physicalCellId: 1
201         operational:
202           administrativeState: locked
203           operationalState: enabled
204         running:
205           administrativeState: unlocked
206       radioResourcePolicy:
207         name: rrm-pol-1
208         resourceType: prb
209         operational:
210           administrativeState: locked
211           operationalState: enabled
212         running:
213           administrativeState: unlocked
214
215       simulatedFaults:
216         - name: fault1
217           condition: "CPRI Port Down"
218           severity: MAJOR
219           specificProblem: "CPRI Port Down"
220           faultSeverity: MAJOR
221           cleared: false
222           text: "CPRI Port Down"
223           object: "Slot-0-Port-A"
224         - name: fault1-close
225           condition: "CPRI Port Down"
226           severity: NORMAL
227           specificProblem: "CPRI Port Down"
228           faultSeverity: MAJOR
229           cleared: true
230           text: "CPRI Port Down"
231           object: "Slot-0-Port-A"
232
233         - name: fault2
234           condition: "CPRI Port Down"
235           severity: MAJOR
236           specificProblem: "CPRI Port Down"
237           faultSeverity: MAJOR
238           cleared: false
239           text: "CPRI Port Down"
240           object: "Slot-0-Port-C"
241         - name: fault2-close
242           condition: "CPRI Port Down"
243           severity: NORMAL
244           specificProblem: "CPRI Port Down"
245           faultSeverity: MAJOR
246           cleared: true
247           text: "CPRI Port Down"
248           object: "Slot-0-Port-C"
249
250         - name: fault3
251           condition: "CPRI Port Down"
252           severity: MAJOR
253           specificProblem: "CPRI Port Down"
254           faultSeverity: MAJOR
255           cleared: false
256           text: "CPRI Port Down"
257           object: "Slot-2-Port-B"
258         - name: fault3-close
259           condition: "CPRI Port Down"
260           severity: NORMAL
261           specificProblem: "CPRI Port Down"
262           faultSeverity: MAJOR
263           cleared: true
264           text: "CPRI Port Down"
265           object: "Slot-2-Port-B"
266
267     - name: o-du-1122
268       operational:
269         administrativeState: locked
270         operationalState: enabled
271       running:
272         administrativeState: unlocked
273       cell:
274         name: cell-2
275         trafficState: active
276         localId: 2
277         physicalCellId: 2
278         operational:
279           administrativeState: locked
280           operationalState: enabled
281         running:
282           administrativeState: unlocked
283       radioResourcePolicy:
284         name: rrm-pol-2
285         resourceType: prb
286         operational:
287           administrativeState: locked
288           operationalState: enabled
289         running:
290           administrativeState: locked
291
292       simulatedFaults:
293         - name: fault1
294           condition: "CPRI Port Down"
295           severity: MAJOR
296           specificProblem: "CPRI Port Down"
297           faultSeverity: MAJOR
298           cleared: false
299           text: "CPRI Port Down"
300           object: "Slot-0-Port-A"
301         - name: fault1-close
302           condition: "CPRI Port Down"
303           severity: NORMAL
304           specificProblem: "CPRI Port Down"
305           faultSeverity: MAJOR
306           cleared: true
307           text: "CPRI Port Down"
308           object: "Slot-0-Port-A"
309
310         - name: fault2
311           condition: "CPRI Port Down"
312           severity: MAJOR
313           specificProblem: "CPRI Port Down"
314           faultSeverity: MAJOR
315           cleared: false
316           text: "CPRI Port Down"
317           object: "Slot-0-Port-C"
318         - name: fault2-close
319           condition: "CPRI Port Down"
320           severity: NORMAL
321           specificProblem: "CPRI Port Down"
322           faultSeverity: MAJOR
323           cleared: true
324           text: "CPRI Port Down"
325           object: "Slot-0-Port-C"
326
327         - name: fault3
328           condition: "CPRI Port Down"
329           severity: MAJOR
330           specificProblem: "CPRI Port Down"
331           faultSeverity: MAJOR
332           cleared: false
333           text: "CPRI Port Down"
334           object: "Slot-2-Port-B"
335         - name: fault3-close
336           condition: "CPRI Port Down"
337           severity: NORMAL
338           specificProblem: "CPRI Port Down"
339           faultSeverity: MAJOR
340           cleared: true
341           text: "CPRI Port Down"
342           object: "Slot-2-Port-B"
343
344
345 topology-server:
346   simulatedFaults:
347     - name: fault1
348       condition: "CPRI Port Down"
349       severity: MAJOR
350       object: "Slot-0-Port-A"
351       specificProblem: "CPRI Port Down"
352       faultSeverity: MAJOR
353       cleared: false
354       text: "CPRI Port Down"
355     - name: fault1-close
356       condition: "CPRI Port Down"
357       severity: NORMAL
358       object: "Slot-0-Port-A"
359       specificProblem: "CPRI Port Down"
360       faultSeverity: MAJOR
361       cleared: true
362       text: "CPRI Port Down"
363
364     - name: fault2
365       condition: "CPRI Port Down"
366       severity: MAJOR
367       object: "Slot-0-Port-C"
368       specificProblem: "CPRI Port Down"
369       faultSeverity: MAJOR
370       cleared: false
371       text: "CPRI Port Down"
372     - name: fault2-close
373       condition: "CPRI Port Down"
374       severity: NORMAL
375       object: "Slot-0-Port-C"
376       specificProblem: "CPRI Port Down"
377       faultSeverity: MAJOR
378       cleared: true
379       text: "CPRI Port Down"
380
381     - name: fault3
382       condition: "CPRI Port Down"
383       severity: MAJOR
384       object: "Slot-2-Port-B"
385       specificProblem: "CPRI Port Down"
386       faultSeverity: MAJOR
387       cleared: false
388       text: "CPRI Port Down"
389     - name: fault3-close
390       condition: "CPRI Port Down"
391       severity: NORMAL
392       object: "Slot-2-Port-B"
393       specificProblem: "CPRI Port Down"
394       faultSeverity: MAJOR
395       cleared: false
396       text: "CPRI Port Down"
397   nodes:
398     - name: o-du-1121
399       uuid: bc089635-7a85-4197-9310-9b14f476a4b9
400       nodeEdgePointUuid: 639f24cb-a5e9-454f-b05d-6307be419aff
401       interfaceName: "O-DU-interface-1"
402       interfaceDescription: "Simulated interface for O-DU"
403     - name: o-ru-11211
404       uuid: 6b0d3930-100b-466c-9f44-2748ffb6baa2
405       nodeEdgePointUuid: bb7e5882-6e4a-46a7-a95b-0bb7310ede24
406       interfaceName: "09a95e08-5b53-4834-815f-a9c12300fc63"
407       interfaceDescription: "Simulated interface for O-RU"
408
409     - name: o-du-1122
410       uuid: ac089635-7a85-4197-9310-9b14f476a4a9
411       nodeEdgePointUuid: 539f24cb-a5e9-454f-b05d-6307be419afe
412       interfaceName: "O-DU-interface-1"
413       interfaceDescription: "Simulated interface for O-DU"
414     - name: o-ru-11221
415       uuid: 6b0d3930-100b-466c-9f44-2748ffb6aaa1
416       nodeEdgePointUuid: bb7e5882-6e3a-46a7-a95b-0bb7310ede22
417       interfaceName: "09a95e08-5b53-4734-815f-a9c12300fc62"
418       interfaceDescription: "Simulated interface for O-RU"
419     - name: o-ru-11222
420       uuid: 69a8fdf0-2bdd-44a2-9bc4-8813640fa02c
421       nodeEdgePointUuid: 124488fc-05d0-421b-8a16-4eaf86cbc89b
422       interfaceName: "0d242150-33a6-4e7c-9988-ae3b01e8a7ea"
423       interfaceDescription: "Simulated interface for O-RU"
424     - name: o-ru-11223
425       uuid: c8499a83-211e-4cef-be30-a1cc2208bbb6
426       nodeEdgePointUuid: 5f01a4c2-9067-4b05-a1a5-7d8998f4f11f
427       interfaceName: "d3ea2f17-a841-4e71-9ef9-9549159aabe7"
428       interfaceDescription: "Simulated interface for O-RU"
429
430   topologyUuid: 7adfee73-44be-4813-a0dc-89f657f0a436
431   links:
432     - duNode: o-du-1121
433       ruNode: o-ru-11211
434       uuid: ac78b69f-22df-46fd-ae76-cc989bc30bbd
435
436     - duNode: o-du-1122
437       ruNode: o-ru-11221
438       uuid: ac78b69f-22df-46fd-ae76-cc989bc30abc
439     - duNode: o-du-1122
440       ruNode: o-ru-11222
441       uuid: ac78b69f-22df-46fd-ae76-cc989bc30ae9
442     - duNode: o-du-1122
443       ruNode: o-ru-11223
444       uuid: bc98b69f-22df-46fd-ae76-cc989bc30ae9