blob: ee7381f2b15b6894d92ccf99765378fc8e8e141e [file] [log] [blame]
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001! Configuration rendered by osmo-gsm-tester
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +02002password foo
3!
4log stderr
5 logging filter all 1
Neels Hofmeyr6d8e4852017-05-22 20:06:07 +02006 logging color 1
7 logging print category 1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +02008 logging print extended-timestamp 1
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +02009 logging level set-all debug
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020010!
11line vty
12 no login
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +020013 bind ${nitb.ip_address.addr}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020014!
15e1_input
16 e1_line 0 driver ipa
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +020017 ipa bind ${nitb.ip_address.addr}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020018network
Neels Hofmeyr3531a192017-03-28 14:30:28 +020019 network country code ${nitb.net.mcc}
20 mobile network code ${nitb.net.mnc}
21 short name ${nitb.net.short_name}
22 long name ${nitb.net.long_name}
23 auth policy ${nitb.net.auth_policy}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020024 location updating reject cause 13
Neels Hofmeyr3531a192017-03-28 14:30:28 +020025 encryption ${nitb.net.encryption}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020026 neci 1
27 rrlp mode none
28 mm info 1
29 handover 0
30 handover window rxlev averaging 10
31 handover window rxqual averaging 1
32 handover window rxlev neighbor averaging 10
33 handover power budget interval 6
34 handover power budget hysteresis 3
35 handover maximum distance 9999
Neels Hofmeyr3531a192017-03-28 14:30:28 +020036%for bts in nitb.net.bts_list:
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020037 bts ${loop.index}
Your Name44af3412017-04-13 03:11:59 +020038 type ${bts.osmobsc_bts_type}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020039 band ${bts.band}
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +010040 cell_identity ${bts.cell_identity}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020041 location_area_code ${bts.location_area_code}
42 training_sequence_code 7
43 base_station_id_code ${bts.base_station_id_code}
Neels Hofmeyr8dbad872017-05-04 14:29:47 +020044 ms max power 33
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020045 cell reselection hysteresis 4
46 rxlev access min 0
47 channel allocator ascending
48 rach tx integer 9
49 rach max transmission 7
Neels Hofmeyr3531a192017-03-28 14:30:28 +020050 ip.access unit_id ${bts.ipa_unit_id} 0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020051 oml ip.access stream_id ${bts.stream_id} line 0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010052% if bts.get('sgsn', False):
53 gprs mode gprs
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010054 gprs routing area ${bts.routing_area_code}
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 ${bts.bvci}
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 ${bts.bvci}
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 ${bts.bvci}
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 ${bts.sgsn.ip_address.addr}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010080% else:
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020081 gprs mode none
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010082% endif
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020083% for trx in bts.trx_list:
84 trx ${loop.index}
85 rf_locked 0
86 arfcn ${trx.arfcn}
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020087 nominal power ${trx.nominal_power}
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020088 max_power_red ${trx.max_power_red}
89 rsl e1 tei 0
90% for ts in trx.timeslot_list:
91 timeslot ${loop.index}
92 phys_chan_config ${ts.phys_chan_config}
93% endfor
94% endfor
95%endfor
Neels Hofmeyr3531a192017-03-28 14:30:28 +020096smpp
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +020097 local-tcp-ip ${nitb.ip_address.addr} 2775
Pau Espin Pedrol2d16f6f2017-05-30 15:33:57 +020098 system-id test-nitb
99 policy ${smsc.policy}
100%for esme in smsc.esme_list:
101 esme ${esme.system_id}
102% if esme.password == '':
103 no password
104% else:
105 password ${esme.password}
106% endif
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200107 default-route
Pau Espin Pedrol2d16f6f2017-05-30 15:33:57 +0200108%endfor
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200109ctrl
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200110 bind ${nitb.ip_address.addr}