blob: 66fa9e5612c531605563127ba17689a1e6935c04 [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
6 logging print extended-timestamp 1
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +02007 logging level set-all debug
Neels Hofmeyr798e5922017-05-18 15:24:02 +02008line vty
9 no login
10 bind ${bsc.ip_address.addr}
Pau Espin Pedrolea3549f2017-05-30 16:20:10 +020011ctrl
12 bind ${bsc.ip_address.addr}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020013e1_input
14 e1_line 0 driver ipa
15 ipa bind ${bsc.ip_address.addr}
Pau Espin Pedrol3edc29c2020-04-06 17:47:23 +020016cs7 instance 0
Alexander Couzens2ec075d2017-08-01 14:38:23 +020017 point-code 0.0.2
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010018 asp asp0 2905 0 m3ua
Pau Espin Pedrol3edc29c2020-04-06 17:47:23 +020019 local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010020 remote-ip ${stp.ip_address.addr}
21 as as0 m3ua
22 asp asp0
23 routing-key 2 0.0.2
Alexander Couzens2ec075d2017-08-01 14:38:23 +020024 sccp-address bsc_local
25 point-code 0.0.2
26 routing-indicator PC
27 sccp-address msc_remote
28 point-code 0.0.1
29 routing-indicator PC
Neels Hofmeyr798e5922017-05-18 15:24:02 +020030network
31 network country code ${bsc.net.mcc}
32 mobile network code ${bsc.net.mnc}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020033 encryption ${bsc.net.encryption}
34 neci 1
Neels Hofmeyr798e5922017-05-18 15:24:02 +020035 handover 0
36 handover window rxlev averaging 10
37 handover window rxqual averaging 1
38 handover window rxlev neighbor averaging 10
39 handover power budget interval 6
40 handover power budget hysteresis 3
41 handover maximum distance 9999
Neels Hofmeyr798e5922017-05-18 15:24:02 +020042%for bts in bsc.net.bts_list:
43 bts ${loop.index}
44 type ${bts.osmobsc_bts_type}
45 band ${bts.band}
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +010046 cell_identity ${bts.cell_identity}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020047 location_area_code ${bts.location_area_code}
48 training_sequence_code 7
49 base_station_id_code ${bts.base_station_id_code}
50 ms max power 33
51 cell reselection hysteresis 4
52 rxlev access min 0
Pau Espin Pedrol722e94e2018-08-22 11:01:32 +020053 channel allocator ${bts.channel_allocator}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020054 rach tx integer 9
55 rach max transmission 7
Pau Espin Pedrol63f2d472018-05-22 18:24:50 +020056% if bsc.net.get('rsl_ip', False):
57 ip.access rsl-ip ${bsc.net.rsl_ip}
58% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +020059 ip.access unit_id ${bts.ipa_unit_id} 0
60 oml ip.access stream_id ${bts.stream_id} line 0
Pau Espin Pedrol680ba032020-10-14 14:49:05 +020061% if bts.get('emergency_calls_allowed', False):
62 rach emergency call allowed 1
63% else:
64 rach emergency call allowed 0
65%endif
Pau Espin Pedrol4f23ab52018-10-29 11:30:00 +010066% if bts.get('sgsn', False) and bts['gprs_mode'] != 'none':
67 gprs mode ${bts.gprs_mode}
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010068 gprs routing area ${bts.routing_area_code}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010069 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010070 gprs cell bvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010071 gprs cell timer blocking-timer 3
72 gprs cell timer blocking-retries 3
73 gprs cell timer unblocking-retries 3
74 gprs cell timer reset-timer 3
75 gprs cell timer reset-retries 3
76 gprs cell timer suspend-timer 10
77 gprs cell timer suspend-retries 3
78 gprs cell timer resume-timer 10
79 gprs cell timer resume-retries 3
80 gprs cell timer capability-update-timer 10
81 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010082 gprs nsei ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010083 gprs ns timer tns-block 3
84 gprs ns timer tns-block-retries 3
85 gprs ns timer tns-reset 3
86 gprs ns timer tns-reset-retries 3
87 gprs ns timer tns-test 30
88 gprs ns timer tns-alive 3
89 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010090 gprs nsvc 0 nsvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010091 gprs nsvc 0 local udp port 23020
92 gprs nsvc 0 remote udp port 23000
93 gprs nsvc 0 remote ip ${bts.sgsn.ip_address.addr}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010094% else:
Neels Hofmeyr798e5922017-05-18 15:24:02 +020095 gprs mode none
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010096% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +020097% for trx in bts.trx_list:
98 trx ${loop.index}
99 rf_locked 0
100 arfcn ${trx.arfcn}
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200101 nominal power ${trx.nominal_power}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200102 max_power_red ${trx.max_power_red}
103 rsl e1 tei 0
104% for ts in trx.timeslot_list:
105 timeslot ${loop.index}
106 phys_chan_config ${ts.phys_chan_config}
107% endfor
108% endfor
109%endfor
110msc
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200111 core-mobile-country-code ${bsc.net.mcc}
112 core-mobile-network-code ${bsc.net.mnc}
Pau Espin Pedrol680ba032020-10-14 14:49:05 +0200113 allow-emergency allow
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100114 ip.access rtp-base 25000
115 mgw remote-ip ${mgw.ip_address.addr}
116 mgw remote-port 2427
Pau Espin Pedrol56822872018-08-21 18:30:24 +0200117 mgw local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100118 mgw endpoint-range 1 31
Pau Espin Pedrol5dc24592018-08-27 12:53:41 +0200119 codec-list ${' '.join(bsc.net.codec_list)}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200120 amr-config 12_2k forbidden
121 amr-config 10_2k forbidden
122 amr-config 7_95k forbidden
123 amr-config 7_40k forbidden
124 amr-config 6_70k forbidden
125 amr-config 5_90k allowed
126 amr-config 5_15k forbidden
127 amr-config 4_75k forbidden
Pau Espin Pedrolfed578e2019-06-19 17:18:43 +0200128 osmux ${bsc.use_osmux}
Alexander Couzens2ec075d2017-08-01 14:38:23 +0200129 msc-addr msc_remote
130 bsc-addr bsc_local