blob: a03bb0b833af046f83fffc4b5b3e4deacf00566e [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 Pedrol4f23ab52018-10-29 11:30:00 +010061% if bts.get('sgsn', False) and bts['gprs_mode'] != 'none':
62 gprs mode ${bts.gprs_mode}
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010063 gprs routing area ${bts.routing_area_code}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010064 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010065 gprs cell bvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010066 gprs cell timer blocking-timer 3
67 gprs cell timer blocking-retries 3
68 gprs cell timer unblocking-retries 3
69 gprs cell timer reset-timer 3
70 gprs cell timer reset-retries 3
71 gprs cell timer suspend-timer 10
72 gprs cell timer suspend-retries 3
73 gprs cell timer resume-timer 10
74 gprs cell timer resume-retries 3
75 gprs cell timer capability-update-timer 10
76 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010077 gprs nsei ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010078 gprs ns timer tns-block 3
79 gprs ns timer tns-block-retries 3
80 gprs ns timer tns-reset 3
81 gprs ns timer tns-reset-retries 3
82 gprs ns timer tns-test 30
83 gprs ns timer tns-alive 3
84 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010085 gprs nsvc 0 nsvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010086 gprs nsvc 0 local udp port 23020
87 gprs nsvc 0 remote udp port 23000
88 gprs nsvc 0 remote ip ${bts.sgsn.ip_address.addr}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010089% else:
Neels Hofmeyr798e5922017-05-18 15:24:02 +020090 gprs mode none
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010091% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +020092% for trx in bts.trx_list:
93 trx ${loop.index}
94 rf_locked 0
95 arfcn ${trx.arfcn}
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020096 nominal power ${trx.nominal_power}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020097 max_power_red ${trx.max_power_red}
98 rsl e1 tei 0
99% for ts in trx.timeslot_list:
100 timeslot ${loop.index}
101 phys_chan_config ${ts.phys_chan_config}
102% endfor
103% endfor
104%endfor
105msc
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200106 core-mobile-country-code ${bsc.net.mcc}
107 core-mobile-network-code ${bsc.net.mnc}
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100108 ip.access rtp-base 25000
109 mgw remote-ip ${mgw.ip_address.addr}
110 mgw remote-port 2427
Pau Espin Pedrol56822872018-08-21 18:30:24 +0200111 mgw local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100112 mgw endpoint-range 1 31
Pau Espin Pedrol5dc24592018-08-27 12:53:41 +0200113 codec-list ${' '.join(bsc.net.codec_list)}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200114 amr-config 12_2k forbidden
115 amr-config 10_2k forbidden
116 amr-config 7_95k forbidden
117 amr-config 7_40k forbidden
118 amr-config 6_70k forbidden
119 amr-config 5_90k allowed
120 amr-config 5_15k forbidden
121 amr-config 4_75k forbidden
Pau Espin Pedrolfed578e2019-06-19 17:18:43 +0200122 osmux ${bsc.use_osmux}
Alexander Couzens2ec075d2017-08-01 14:38:23 +0200123 msc-addr msc_remote
124 bsc-addr bsc_local