blob: 39b0cd3f93974919152c9a6d33368e52d1ff0fe2 [file] [log] [blame]
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +02001- Testing: fill a config file with values
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +02002cnf Templates: DBG: rendering osmo-nitb.cfg.tmpl
Neels Hofmeyr3531a192017-03-28 14:30:28 +02003! Configuration rendered by osmo-gsm-tester
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +02004password foo
5!
6log stderr
7 logging filter all 1
Neels Hofmeyr6d8e4852017-05-22 20:06:07 +02008 logging color 1
9 logging print category 1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020010 logging print extended-timestamp 1
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +020011 logging level set-all debug
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020012!
13line vty
14 no login
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +020015 bind val_ip_address
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020016!
17e1_input
18 e1_line 0 driver ipa
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +020019 ipa bind val_ip_address
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020020network
21 network country code val_mcc
22 mobile network code val_mnc
Neels Hofmeyr3531a192017-03-28 14:30:28 +020023 short name val_short_name
24 long name val_long_name
25 auth policy val_auth_policy
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020026 location updating reject cause 13
Neels Hofmeyr3531a192017-03-28 14:30:28 +020027 encryption val_encryption
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020028 neci 1
29 rrlp mode none
30 mm info 1
31 handover 0
32 handover window rxlev averaging 10
33 handover window rxqual averaging 1
34 handover window rxlev neighbor averaging 10
35 handover power budget interval 6
36 handover power budget hysteresis 3
37 handover maximum distance 9999
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020038 bts 0
39 type val_type_bts0
40 band val_band_bts0
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +010041 cell_identity val_bts.cell_identity_bts0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020042 location_area_code val_bts.location_area_code_bts0
43 training_sequence_code 7
44 base_station_id_code val_bts.base_station_id_code_bts0
Neels Hofmeyrc9506b82017-05-04 15:13:41 +020045 ms max power 33
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020046 cell reselection hysteresis 4
47 rxlev access min 0
48 channel allocator ascending
49 rach tx integer 9
50 rach max transmission 7
51 ip.access unit_id val_bts.unit_id_bts0 0
52 oml ip.access stream_id val_bts.stream_id_bts0 line 0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010053 gprs mode gprs
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010054 gprs routing area val_bts.routing_area_code_bts0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010055 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010056 gprs cell bvci val_bts.bvci_bts0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010057 gprs cell timer blocking-timer 3
58 gprs cell timer blocking-retries 3
59 gprs cell timer unblocking-retries 3
60 gprs cell timer reset-timer 3
61 gprs cell timer reset-retries 3
62 gprs cell timer suspend-timer 10
63 gprs cell timer suspend-retries 3
64 gprs cell timer resume-timer 10
65 gprs cell timer resume-retries 3
66 gprs cell timer capability-update-timer 10
67 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010068 gprs nsei val_bts.bvci_bts0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010069 gprs ns timer tns-block 3
70 gprs ns timer tns-block-retries 3
71 gprs ns timer tns-reset 3
72 gprs ns timer tns-reset-retries 3
73 gprs ns timer tns-test 30
74 gprs ns timer tns-alive 3
75 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010076 gprs nsvc 0 nsvci val_bts.bvci_bts0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010077 gprs nsvc 0 local udp port 23020
78 gprs nsvc 0 remote udp port 23000
79 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020080 trx 0
81 rf_locked 0
82 arfcn val_trx_arfcn_trx0
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020083 nominal power val_trx_nominal_power_trx0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020084 max_power_red val_trx_max_power_red_trx0
85 rsl e1 tei 0
86 timeslot 0
87 phys_chan_config val_phys_chan_config_0
88 timeslot 1
89 phys_chan_config val_phys_chan_config_1
90 timeslot 2
91 phys_chan_config val_phys_chan_config_2
92 timeslot 3
93 phys_chan_config val_phys_chan_config_3
94 trx 1
95 rf_locked 0
96 arfcn val_trx_arfcn_trx1
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020097 nominal power val_trx_nominal_power_trx1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020098 max_power_red val_trx_max_power_red_trx1
99 rsl e1 tei 0
100 timeslot 0
101 phys_chan_config val_phys_chan_config_0
102 timeslot 1
103 phys_chan_config val_phys_chan_config_1
104 timeslot 2
105 phys_chan_config val_phys_chan_config_2
106 timeslot 3
107 phys_chan_config val_phys_chan_config_3
108 bts 1
109 type val_type_bts1
110 band val_band_bts1
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +0100111 cell_identity val_bts.cell_identity_bts1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200112 location_area_code val_bts.location_area_code_bts1
113 training_sequence_code 7
114 base_station_id_code val_bts.base_station_id_code_bts1
Neels Hofmeyrc9506b82017-05-04 15:13:41 +0200115 ms max power 33
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200116 cell reselection hysteresis 4
117 rxlev access min 0
118 channel allocator ascending
119 rach tx integer 9
120 rach max transmission 7
121 ip.access unit_id val_bts.unit_id_bts1 0
122 oml ip.access stream_id val_bts.stream_id_bts1 line 0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100123 gprs mode gprs
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100124 gprs routing area val_bts.routing_area_code_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100125 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100126 gprs cell bvci val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100127 gprs cell timer blocking-timer 3
128 gprs cell timer blocking-retries 3
129 gprs cell timer unblocking-retries 3
130 gprs cell timer reset-timer 3
131 gprs cell timer reset-retries 3
132 gprs cell timer suspend-timer 10
133 gprs cell timer suspend-retries 3
134 gprs cell timer resume-timer 10
135 gprs cell timer resume-retries 3
136 gprs cell timer capability-update-timer 10
137 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100138 gprs nsei val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100139 gprs ns timer tns-block 3
140 gprs ns timer tns-block-retries 3
141 gprs ns timer tns-reset 3
142 gprs ns timer tns-reset-retries 3
143 gprs ns timer tns-test 30
144 gprs ns timer tns-alive 3
145 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100146 gprs nsvc 0 nsvci val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100147 gprs nsvc 0 local udp port 23020
148 gprs nsvc 0 remote udp port 23000
149 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200150 trx 0
151 rf_locked 0
152 arfcn val_trx_arfcn_trx0
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200153 nominal power val_trx_nominal_power_trx0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200154 max_power_red val_trx_max_power_red_trx0
155 rsl e1 tei 0
156 timeslot 0
157 phys_chan_config val_phys_chan_config_0
158 timeslot 1
159 phys_chan_config val_phys_chan_config_1
160 timeslot 2
161 phys_chan_config val_phys_chan_config_2
162 timeslot 3
163 phys_chan_config val_phys_chan_config_3
164 trx 1
165 rf_locked 0
166 arfcn val_trx_arfcn_trx1
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200167 nominal power val_trx_nominal_power_trx1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200168 max_power_red val_trx_max_power_red_trx1
169 rsl e1 tei 0
170 timeslot 0
171 phys_chan_config val_phys_chan_config_0
172 timeslot 1
173 phys_chan_config val_phys_chan_config_1
174 timeslot 2
175 phys_chan_config val_phys_chan_config_2
176 timeslot 3
177 phys_chan_config val_phys_chan_config_3
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200178smpp
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200179 local-tcp-ip val_ip_address 2775
Pau Espin Pedrol2d16f6f2017-05-30 15:33:57 +0200180 system-id test-nitb
181 policy val_smsc_policy
182 esme val_system_id_esme0
183 password val_password_esme0
184 default-route
185 esme val_system_id_esme1
186 no password
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200187 default-route
188ctrl
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200189 bind val_ip_address
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200190
191- Testing: expect to fail on invalid templates dir
Neels Hofmeyr112da032020-12-04 18:03:22 +0100192success: setting non-existing templates dir raised RuntimeError
Pau Espin Pedrol4ddcdaf2020-06-04 17:23:23 +0200193- Testing: template directory overlay (still can find default one?)
194cnf Templates: DBG: rendering osmo-nitb.cfg.tmpl
195! Configuration rendered by osmo-gsm-tester
196password foo
197!
198log stderr
199 logging filter all 1
200 logging color 1
201 logging print category 1
202 logging print extended-timestamp 1
203 logging level set-all debug
204!
205line vty
206 no login
207 bind val_ip_address
208!
209e1_input
210 e1_line 0 driver ipa
211 ipa bind val_ip_address
212network
213 network country code val_mcc
214 mobile network code val_mnc
215 short name val_short_name
216 long name val_long_name
217 auth policy val_auth_policy
218 location updating reject cause 13
219 encryption val_encryption
220 neci 1
221 rrlp mode none
222 mm info 1
223 handover 0
224 handover window rxlev averaging 10
225 handover window rxqual averaging 1
226 handover window rxlev neighbor averaging 10
227 handover power budget interval 6
228 handover power budget hysteresis 3
229 handover maximum distance 9999
230 bts 0
231 type val_type_bts0
232 band val_band_bts0
233 cell_identity val_bts.cell_identity_bts0
234 location_area_code val_bts.location_area_code_bts0
235 training_sequence_code 7
236 base_station_id_code val_bts.base_station_id_code_bts0
237 ms max power 33
238 cell reselection hysteresis 4
239 rxlev access min 0
240 channel allocator ascending
241 rach tx integer 9
242 rach max transmission 7
243 ip.access unit_id val_bts.unit_id_bts0 0
244 oml ip.access stream_id val_bts.stream_id_bts0 line 0
245 gprs mode gprs
246 gprs routing area val_bts.routing_area_code_bts0
247 gprs network-control-order nc1
248 gprs cell bvci val_bts.bvci_bts0
249 gprs cell timer blocking-timer 3
250 gprs cell timer blocking-retries 3
251 gprs cell timer unblocking-retries 3
252 gprs cell timer reset-timer 3
253 gprs cell timer reset-retries 3
254 gprs cell timer suspend-timer 10
255 gprs cell timer suspend-retries 3
256 gprs cell timer resume-timer 10
257 gprs cell timer resume-retries 3
258 gprs cell timer capability-update-timer 10
259 gprs cell timer capability-update-retries 3
260 gprs nsei val_bts.bvci_bts0
261 gprs ns timer tns-block 3
262 gprs ns timer tns-block-retries 3
263 gprs ns timer tns-reset 3
264 gprs ns timer tns-reset-retries 3
265 gprs ns timer tns-test 30
266 gprs ns timer tns-alive 3
267 gprs ns timer tns-alive-retries 10
268 gprs nsvc 0 nsvci val_bts.bvci_bts0
269 gprs nsvc 0 local udp port 23020
270 gprs nsvc 0 remote udp port 23000
271 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts0
272 trx 0
273 rf_locked 0
274 arfcn val_trx_arfcn_trx0
275 nominal power val_trx_nominal_power_trx0
276 max_power_red val_trx_max_power_red_trx0
277 rsl e1 tei 0
278 timeslot 0
279 phys_chan_config val_phys_chan_config_0
280 timeslot 1
281 phys_chan_config val_phys_chan_config_1
282 timeslot 2
283 phys_chan_config val_phys_chan_config_2
284 timeslot 3
285 phys_chan_config val_phys_chan_config_3
286 trx 1
287 rf_locked 0
288 arfcn val_trx_arfcn_trx1
289 nominal power val_trx_nominal_power_trx1
290 max_power_red val_trx_max_power_red_trx1
291 rsl e1 tei 0
292 timeslot 0
293 phys_chan_config val_phys_chan_config_0
294 timeslot 1
295 phys_chan_config val_phys_chan_config_1
296 timeslot 2
297 phys_chan_config val_phys_chan_config_2
298 timeslot 3
299 phys_chan_config val_phys_chan_config_3
300 bts 1
301 type val_type_bts1
302 band val_band_bts1
303 cell_identity val_bts.cell_identity_bts1
304 location_area_code val_bts.location_area_code_bts1
305 training_sequence_code 7
306 base_station_id_code val_bts.base_station_id_code_bts1
307 ms max power 33
308 cell reselection hysteresis 4
309 rxlev access min 0
310 channel allocator ascending
311 rach tx integer 9
312 rach max transmission 7
313 ip.access unit_id val_bts.unit_id_bts1 0
314 oml ip.access stream_id val_bts.stream_id_bts1 line 0
315 gprs mode gprs
316 gprs routing area val_bts.routing_area_code_bts1
317 gprs network-control-order nc1
318 gprs cell bvci val_bts.bvci_bts1
319 gprs cell timer blocking-timer 3
320 gprs cell timer blocking-retries 3
321 gprs cell timer unblocking-retries 3
322 gprs cell timer reset-timer 3
323 gprs cell timer reset-retries 3
324 gprs cell timer suspend-timer 10
325 gprs cell timer suspend-retries 3
326 gprs cell timer resume-timer 10
327 gprs cell timer resume-retries 3
328 gprs cell timer capability-update-timer 10
329 gprs cell timer capability-update-retries 3
330 gprs nsei val_bts.bvci_bts1
331 gprs ns timer tns-block 3
332 gprs ns timer tns-block-retries 3
333 gprs ns timer tns-reset 3
334 gprs ns timer tns-reset-retries 3
335 gprs ns timer tns-test 30
336 gprs ns timer tns-alive 3
337 gprs ns timer tns-alive-retries 10
338 gprs nsvc 0 nsvci val_bts.bvci_bts1
339 gprs nsvc 0 local udp port 23020
340 gprs nsvc 0 remote udp port 23000
341 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts1
342 trx 0
343 rf_locked 0
344 arfcn val_trx_arfcn_trx0
345 nominal power val_trx_nominal_power_trx0
346 max_power_red val_trx_max_power_red_trx0
347 rsl e1 tei 0
348 timeslot 0
349 phys_chan_config val_phys_chan_config_0
350 timeslot 1
351 phys_chan_config val_phys_chan_config_1
352 timeslot 2
353 phys_chan_config val_phys_chan_config_2
354 timeslot 3
355 phys_chan_config val_phys_chan_config_3
356 trx 1
357 rf_locked 0
358 arfcn val_trx_arfcn_trx1
359 nominal power val_trx_nominal_power_trx1
360 max_power_red val_trx_max_power_red_trx1
361 rsl e1 tei 0
362 timeslot 0
363 phys_chan_config val_phys_chan_config_0
364 timeslot 1
365 phys_chan_config val_phys_chan_config_1
366 timeslot 2
367 phys_chan_config val_phys_chan_config_2
368 timeslot 3
369 phys_chan_config val_phys_chan_config_3
370smpp
371 local-tcp-ip val_ip_address 2775
372 system-id test-nitb
373 policy val_smsc_policy
374 esme val_system_id_esme0
375 password val_password_esme0
376 default-route
377 esme val_system_id_esme1
378 no password
379 default-route
380ctrl
381 bind val_ip_address
382
383- Testing: template directory overlay (present in both dirs)
384cnf Templates: DBG: rendering osmo-bsc.cfg.tmpl
385test-overlay-works-fine yes
386
387- Testing: template directory overlay (present only on overlay dir)
388cnf Templates: DBG: rendering mytemplate.cfg.tmpl
389test-overlay-works-fine-only-available yes
390