blob: dd27da09ac1d31ead1059d57672a98ce64973046 [file] [log] [blame]
Neels Hofmeyr798e5922017-05-18 15:24:02 +02001! Configuration rendered by osmo-gsm-tester
2log stderr
3 logging filter all 1
4 logging color 1
5 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01006 logging print category-hex 0
7 logging print level 1
8 logging print file basename last
Neels Hofmeyr798e5922017-05-18 15:24:02 +02009 logging print extended-timestamp 1
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +020010 logging level set-all debug
Neels Hofmeyr798e5922017-05-18 15:24:02 +020011line vty
12 no login
13 bind ${bsc.ip_address.addr}
Pau Espin Pedrolea3549f2017-05-30 16:20:10 +020014ctrl
15 bind ${bsc.ip_address.addr}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020016e1_input
17 e1_line 0 driver ipa
18 ipa bind ${bsc.ip_address.addr}
Pau Espin Pedrol3edc29c2020-04-06 17:47:23 +020019cs7 instance 0
Alexander Couzens2ec075d2017-08-01 14:38:23 +020020 point-code 0.0.2
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010021 asp asp0 2905 0 m3ua
Pau Espin Pedrol3edc29c2020-04-06 17:47:23 +020022 local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010023 remote-ip ${stp.ip_address.addr}
24 as as0 m3ua
25 asp asp0
26 routing-key 2 0.0.2
Alexander Couzens2ec075d2017-08-01 14:38:23 +020027 sccp-address bsc_local
28 point-code 0.0.2
29 routing-indicator PC
30 sccp-address msc_remote
31 point-code 0.0.1
32 routing-indicator PC
Neels Hofmeyr798e5922017-05-18 15:24:02 +020033network
34 network country code ${bsc.net.mcc}
35 mobile network code ${bsc.net.mnc}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020036 encryption ${bsc.net.encryption}
37 neci 1
Neels Hofmeyr798e5922017-05-18 15:24:02 +020038 handover 0
39 handover window rxlev averaging 10
40 handover window rxqual averaging 1
41 handover window rxlev neighbor averaging 10
42 handover power budget interval 6
43 handover power budget hysteresis 3
44 handover maximum distance 9999
Neels Hofmeyr798e5922017-05-18 15:24:02 +020045%for bts in bsc.net.bts_list:
46 bts ${loop.index}
47 type ${bts.osmobsc_bts_type}
48 band ${bts.band}
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +010049 cell_identity ${bts.cell_identity}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020050 location_area_code ${bts.location_area_code}
51 training_sequence_code 7
52 base_station_id_code ${bts.base_station_id_code}
53 ms max power 33
54 cell reselection hysteresis 4
55 rxlev access min 0
Pau Espin Pedrol722e94e2018-08-22 11:01:32 +020056 channel allocator ${bts.channel_allocator}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020057 rach tx integer 9
58 rach max transmission 7
Pau Espin Pedrol63f2d472018-05-22 18:24:50 +020059% if bsc.net.get('rsl_ip', False):
60 ip.access rsl-ip ${bsc.net.rsl_ip}
61% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +020062 ip.access unit_id ${bts.ipa_unit_id} 0
63 oml ip.access stream_id ${bts.stream_id} line 0
Pau Espin Pedrol680ba032020-10-14 14:49:05 +020064% if bts.get('emergency_calls_allowed', False):
65 rach emergency call allowed 1
66% else:
67 rach emergency call allowed 0
68%endif
Pau Espin Pedrol4f23ab52018-10-29 11:30:00 +010069% if bts.get('sgsn', False) and bts['gprs_mode'] != 'none':
70 gprs mode ${bts.gprs_mode}
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010071 gprs routing area ${bts.routing_area_code}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010072 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010073 gprs cell bvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010074 gprs cell timer blocking-timer 3
75 gprs cell timer blocking-retries 3
76 gprs cell timer unblocking-retries 3
77 gprs cell timer reset-timer 3
78 gprs cell timer reset-retries 3
79 gprs cell timer suspend-timer 10
80 gprs cell timer suspend-retries 3
81 gprs cell timer resume-timer 10
82 gprs cell timer resume-retries 3
83 gprs cell timer capability-update-timer 10
84 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010085 gprs nsei ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010086 gprs ns timer tns-block 3
87 gprs ns timer tns-block-retries 3
88 gprs ns timer tns-reset 3
89 gprs ns timer tns-reset-retries 3
90 gprs ns timer tns-test 30
91 gprs ns timer tns-alive 3
92 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010093 gprs nsvc 0 nsvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010094 gprs nsvc 0 local udp port 23020
95 gprs nsvc 0 remote udp port 23000
96 gprs nsvc 0 remote ip ${bts.sgsn.ip_address.addr}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010097% else:
Neels Hofmeyr798e5922017-05-18 15:24:02 +020098 gprs mode none
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010099% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200100% for trx in bts.trx_list:
101 trx ${loop.index}
102 rf_locked 0
103 arfcn ${trx.arfcn}
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200104 nominal power ${trx.nominal_power}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200105 max_power_red ${trx.max_power_red}
106 rsl e1 tei 0
107% for ts in trx.timeslot_list:
108 timeslot ${loop.index}
109 phys_chan_config ${ts.phys_chan_config}
110% endfor
111% endfor
112%endfor
113msc
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200114 core-mobile-country-code ${bsc.net.mcc}
115 core-mobile-network-code ${bsc.net.mnc}
Pau Espin Pedrol680ba032020-10-14 14:49:05 +0200116 allow-emergency allow
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100117 ip.access rtp-base 25000
118 mgw remote-ip ${mgw.ip_address.addr}
119 mgw remote-port 2427
Pau Espin Pedrol56822872018-08-21 18:30:24 +0200120 mgw local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100121 mgw endpoint-range 1 31
Pau Espin Pedrol5dc24592018-08-27 12:53:41 +0200122 codec-list ${' '.join(bsc.net.codec_list)}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200123 amr-config 12_2k forbidden
124 amr-config 10_2k forbidden
125 amr-config 7_95k forbidden
126 amr-config 7_40k forbidden
127 amr-config 6_70k forbidden
128 amr-config 5_90k allowed
129 amr-config 5_15k forbidden
130 amr-config 4_75k forbidden
Pau Espin Pedrolfed578e2019-06-19 17:18:43 +0200131 osmux ${bsc.use_osmux}
Alexander Couzens2ec075d2017-08-01 14:38:23 +0200132 msc-addr msc_remote
133 bsc-addr bsc_local