New O1 tests for python SDK
[it/dep.git] / smo-install / test / pythonsdk / src / orantests / resources / 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       rus:
192         - name: o-ru-11211
193           administrativeState: LOCKED
194           operationalState: ENABLED
195           status: disconnected
196
197       simulatedFaults:
198         - name: o-ru-11211
199           condition: "O-RU Port Down"
200           severity: CRITICAL
201           specificProblem: "O-RU Port Down"
202           faultSeverity: CRITICAL
203           cleared: false
204           text: "O-RU Port Down"
205         - name: o-ru-11211
206           condition: "O-RU Port Down"
207           severity: NORMAL
208           specificProblem: "O-RU Port Down"
209           faultSeverity: CRITICAL
210           cleared: true
211           text: "O-RU Port Down"
212
213     - name: o-du-1122
214       rus:
215         - name: o-ru-11221
216           administrativeState: LOCKED
217           operationalState: ENABLED
218           status: disconnected
219         - name: o-ru-11222
220           administrativeState: UNLOCKED
221           operationalState: ENABLED
222           status: connected
223         - name: o-ru-11223
224           administrativeState: LOCKED
225           operationalState: DISABLED
226           status: unable-to-connect
227
228       simulatedFaults:
229         - name: o-ru-11221
230           condition: "O-RU Port Down"
231           severity: CRITICAL
232           specificProblem: "O-RU Port Down"
233           faultSeverity: CRITICAL
234           cleared: false
235           text: "O-RU Port Down"
236         - name: o-ru-11221
237           condition: "O-RU Port Down"
238           severity: NORMAL
239           specificProblem: "O-RU Port Down"
240           faultSeverity: CRITICAL
241           cleared: true
242           text: "O-RU Port Down"
243
244         - name: o-ru-11222
245           condition: "O-RU Port Down"
246           severity: CRITICAL
247           specificProblem: "O-RU Port Down"
248           faultSeverity: CRITICAL
249           cleared: false
250           text: "O-RU Port Down"
251         - name: o-ru-11222
252           condition: "O-RU Port Down"
253           severity: NORMAL
254           specificProblem: "O-RU Port Down"
255           faultSeverity: CRITICAL
256           cleared: true
257           text: "O-RU Port Down"
258
259         - name: o-ru-11223
260           condition: "O-RU Port Down"
261           severity: CRITICAL
262           specificProblem: "O-RU Port Down"
263           faultSeverity: CRITICAL
264           cleared: false
265           text: "O-RU Port Down"
266         - name: o-ru-11223
267           condition: "O-RU Port Down"
268           severity: NORMAL
269           specificProblem: "O-RU Port Down"
270           faultSeverity: CRITICAL
271           cleared: true
272           text: "O-RU Port Down"
273
274 topology-server:
275   simulatedFaults:
276     - name: fault1
277       condition: "CPRI Port Down"
278       severity: MAJOR
279       object: "Slot-0-Port-A"
280       specificProblem: "CPRI Port Down"
281       faultSeverity: MAJOR
282       cleared: false
283       text: "CPRI Port Down"
284     - name: fault1-close
285       condition: "CPRI Port Down"
286       severity: NORMAL
287       object: "Slot-0-Port-A"
288       specificProblem: "CPRI Port Down"
289       faultSeverity: MAJOR
290       cleared: true
291       text: "CPRI Port Down"
292
293     - name: fault2
294       condition: "CPRI Port Down"
295       severity: MAJOR
296       object: "Slot-0-Port-C"
297       specificProblem: "CPRI Port Down"
298       faultSeverity: MAJOR
299       cleared: false
300       text: "CPRI Port Down"
301     - name: fault2-close
302       condition: "CPRI Port Down"
303       severity: NORMAL
304       object: "Slot-0-Port-C"
305       specificProblem: "CPRI Port Down"
306       faultSeverity: MAJOR
307       cleared: true
308       text: "CPRI Port Down"
309
310     - name: fault3
311       condition: "CPRI Port Down"
312       severity: MAJOR
313       object: "Slot-2-Port-B"
314       specificProblem: "CPRI Port Down"
315       faultSeverity: MAJOR
316       cleared: false
317       text: "CPRI Port Down"
318     - name: fault3-close
319       condition: "CPRI Port Down"
320       severity: NORMAL
321       object: "Slot-2-Port-B"
322       specificProblem: "CPRI Port Down"
323       faultSeverity: MAJOR
324       cleared: false
325       text: "CPRI Port Down"
326   nodes:
327     - name: o-du-1121
328       uuid: bc089635-7a85-4197-9310-9b14f476a4b9
329       nodeEdgePointUuid: 639f24cb-a5e9-454f-b05d-6307be419aff
330       interfaceName: "O-DU-interface-1"
331       interfaceDescription: "Simulated interface for O-DU"
332     - name: o-ru-11211
333       uuid: 6b0d3930-100b-466c-9f44-2748ffb6baa2
334       nodeEdgePointUuid: bb7e5882-6e4a-46a7-a95b-0bb7310ede24
335       interfaceName: "09a95e08-5b53-4834-815f-a9c12300fc63"
336       interfaceDescription: "Simulated interface for O-RU"
337
338     - name: o-du-1122
339       uuid: ac089635-7a85-4197-9310-9b14f476a4a9
340       nodeEdgePointUuid: 539f24cb-a5e9-454f-b05d-6307be419afe
341       interfaceName: "O-DU-interface-1"
342       interfaceDescription: "Simulated interface for O-DU"
343     - name: o-ru-11221
344       uuid: 6b0d3930-100b-466c-9f44-2748ffb6aaa1
345       nodeEdgePointUuid: bb7e5882-6e3a-46a7-a95b-0bb7310ede22
346       interfaceName: "09a95e08-5b53-4734-815f-a9c12300fc62"
347       interfaceDescription: "Simulated interface for O-RU"
348     - name: o-ru-11222
349       uuid: 69a8fdf0-2bdd-44a2-9bc4-8813640fa02c
350       nodeEdgePointUuid: 124488fc-05d0-421b-8a16-4eaf86cbc89b
351       interfaceName: "0d242150-33a6-4e7c-9988-ae3b01e8a7ea"
352       interfaceDescription: "Simulated interface for O-RU"
353     - name: o-ru-11223
354       uuid: c8499a83-211e-4cef-be30-a1cc2208bbb6
355       nodeEdgePointUuid: 5f01a4c2-9067-4b05-a1a5-7d8998f4f11f
356       interfaceName: "d3ea2f17-a841-4e71-9ef9-9549159aabe7"
357       interfaceDescription: "Simulated interface for O-RU"
358
359   topologyUuid: 7adfee73-44be-4813-a0dc-89f657f0a436
360   links:
361     - duNode: o-du-1121
362       ruNode: o-ru-11211
363       uuid: ac78b69f-22df-46fd-ae76-cc989bc30bbd
364
365     - duNode: o-du-1122
366       ruNode: o-ru-11221
367       uuid: ac78b69f-22df-46fd-ae76-cc989bc30abc
368     - duNode: o-du-1122
369       ruNode: o-ru-11222
370       uuid: ac78b69f-22df-46fd-ae76-cc989bc30ae9
371     - duNode: o-du-1122
372       ruNode: o-ru-11223
373       uuid: bc98b69f-22df-46fd-ae76-cc989bc30ae9