blob: 718ef6efdaad800f292a47882b5e2e775a37641b [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
192sucess: setting non-existing templates dir raised RuntimeError
193
Pau Espin Pedrol4ddcdaf2020-06-04 17:23:23 +0200194- Testing: template directory overlay (still can find default one?)
195cnf Templates: DBG: rendering osmo-nitb.cfg.tmpl
196! Configuration rendered by osmo-gsm-tester
197password foo
198!
199log stderr
200 logging filter all 1
201 logging color 1
202 logging print category 1
203 logging print extended-timestamp 1
204 logging level set-all debug
205!
206line vty
207 no login
208 bind val_ip_address
209!
210e1_input
211 e1_line 0 driver ipa
212 ipa bind val_ip_address
213network
214 network country code val_mcc
215 mobile network code val_mnc
216 short name val_short_name
217 long name val_long_name
218 auth policy val_auth_policy
219 location updating reject cause 13
220 encryption val_encryption
221 neci 1
222 rrlp mode none
223 mm info 1
224 handover 0
225 handover window rxlev averaging 10
226 handover window rxqual averaging 1
227 handover window rxlev neighbor averaging 10
228 handover power budget interval 6
229 handover power budget hysteresis 3
230 handover maximum distance 9999
231 bts 0
232 type val_type_bts0
233 band val_band_bts0
234 cell_identity val_bts.cell_identity_bts0
235 location_area_code val_bts.location_area_code_bts0
236 training_sequence_code 7
237 base_station_id_code val_bts.base_station_id_code_bts0
238 ms max power 33
239 cell reselection hysteresis 4
240 rxlev access min 0
241 channel allocator ascending
242 rach tx integer 9
243 rach max transmission 7
244 ip.access unit_id val_bts.unit_id_bts0 0
245 oml ip.access stream_id val_bts.stream_id_bts0 line 0
246 gprs mode gprs
247 gprs routing area val_bts.routing_area_code_bts0
248 gprs network-control-order nc1
249 gprs cell bvci val_bts.bvci_bts0
250 gprs cell timer blocking-timer 3
251 gprs cell timer blocking-retries 3
252 gprs cell timer unblocking-retries 3
253 gprs cell timer reset-timer 3
254 gprs cell timer reset-retries 3
255 gprs cell timer suspend-timer 10
256 gprs cell timer suspend-retries 3
257 gprs cell timer resume-timer 10
258 gprs cell timer resume-retries 3
259 gprs cell timer capability-update-timer 10
260 gprs cell timer capability-update-retries 3
261 gprs nsei val_bts.bvci_bts0
262 gprs ns timer tns-block 3
263 gprs ns timer tns-block-retries 3
264 gprs ns timer tns-reset 3
265 gprs ns timer tns-reset-retries 3
266 gprs ns timer tns-test 30
267 gprs ns timer tns-alive 3
268 gprs ns timer tns-alive-retries 10
269 gprs nsvc 0 nsvci val_bts.bvci_bts0
270 gprs nsvc 0 local udp port 23020
271 gprs nsvc 0 remote udp port 23000
272 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts0
273 trx 0
274 rf_locked 0
275 arfcn val_trx_arfcn_trx0
276 nominal power val_trx_nominal_power_trx0
277 max_power_red val_trx_max_power_red_trx0
278 rsl e1 tei 0
279 timeslot 0
280 phys_chan_config val_phys_chan_config_0
281 timeslot 1
282 phys_chan_config val_phys_chan_config_1
283 timeslot 2
284 phys_chan_config val_phys_chan_config_2
285 timeslot 3
286 phys_chan_config val_phys_chan_config_3
287 trx 1
288 rf_locked 0
289 arfcn val_trx_arfcn_trx1
290 nominal power val_trx_nominal_power_trx1
291 max_power_red val_trx_max_power_red_trx1
292 rsl e1 tei 0
293 timeslot 0
294 phys_chan_config val_phys_chan_config_0
295 timeslot 1
296 phys_chan_config val_phys_chan_config_1
297 timeslot 2
298 phys_chan_config val_phys_chan_config_2
299 timeslot 3
300 phys_chan_config val_phys_chan_config_3
301 bts 1
302 type val_type_bts1
303 band val_band_bts1
304 cell_identity val_bts.cell_identity_bts1
305 location_area_code val_bts.location_area_code_bts1
306 training_sequence_code 7
307 base_station_id_code val_bts.base_station_id_code_bts1
308 ms max power 33
309 cell reselection hysteresis 4
310 rxlev access min 0
311 channel allocator ascending
312 rach tx integer 9
313 rach max transmission 7
314 ip.access unit_id val_bts.unit_id_bts1 0
315 oml ip.access stream_id val_bts.stream_id_bts1 line 0
316 gprs mode gprs
317 gprs routing area val_bts.routing_area_code_bts1
318 gprs network-control-order nc1
319 gprs cell bvci val_bts.bvci_bts1
320 gprs cell timer blocking-timer 3
321 gprs cell timer blocking-retries 3
322 gprs cell timer unblocking-retries 3
323 gprs cell timer reset-timer 3
324 gprs cell timer reset-retries 3
325 gprs cell timer suspend-timer 10
326 gprs cell timer suspend-retries 3
327 gprs cell timer resume-timer 10
328 gprs cell timer resume-retries 3
329 gprs cell timer capability-update-timer 10
330 gprs cell timer capability-update-retries 3
331 gprs nsei val_bts.bvci_bts1
332 gprs ns timer tns-block 3
333 gprs ns timer tns-block-retries 3
334 gprs ns timer tns-reset 3
335 gprs ns timer tns-reset-retries 3
336 gprs ns timer tns-test 30
337 gprs ns timer tns-alive 3
338 gprs ns timer tns-alive-retries 10
339 gprs nsvc 0 nsvci val_bts.bvci_bts1
340 gprs nsvc 0 local udp port 23020
341 gprs nsvc 0 remote udp port 23000
342 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts1
343 trx 0
344 rf_locked 0
345 arfcn val_trx_arfcn_trx0
346 nominal power val_trx_nominal_power_trx0
347 max_power_red val_trx_max_power_red_trx0
348 rsl e1 tei 0
349 timeslot 0
350 phys_chan_config val_phys_chan_config_0
351 timeslot 1
352 phys_chan_config val_phys_chan_config_1
353 timeslot 2
354 phys_chan_config val_phys_chan_config_2
355 timeslot 3
356 phys_chan_config val_phys_chan_config_3
357 trx 1
358 rf_locked 0
359 arfcn val_trx_arfcn_trx1
360 nominal power val_trx_nominal_power_trx1
361 max_power_red val_trx_max_power_red_trx1
362 rsl e1 tei 0
363 timeslot 0
364 phys_chan_config val_phys_chan_config_0
365 timeslot 1
366 phys_chan_config val_phys_chan_config_1
367 timeslot 2
368 phys_chan_config val_phys_chan_config_2
369 timeslot 3
370 phys_chan_config val_phys_chan_config_3
371smpp
372 local-tcp-ip val_ip_address 2775
373 system-id test-nitb
374 policy val_smsc_policy
375 esme val_system_id_esme0
376 password val_password_esme0
377 default-route
378 esme val_system_id_esme1
379 no password
380 default-route
381ctrl
382 bind val_ip_address
383
384- Testing: template directory overlay (present in both dirs)
385cnf Templates: DBG: rendering osmo-bsc.cfg.tmpl
386test-overlay-works-fine yes
387
388- Testing: template directory overlay (present only on overlay dir)
389cnf Templates: DBG: rendering mytemplate.cfg.tmpl
390test-overlay-works-fine-only-available yes
391