blob: c5471d0a8ad8d687b702d9a0fafbe56cacdddc90 [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
11 logging level all debug
12!
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
80 no force-combined-si
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020081 trx 0
82 rf_locked 0
83 arfcn val_trx_arfcn_trx0
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020084 nominal power val_trx_nominal_power_trx0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020085 max_power_red val_trx_max_power_red_trx0
86 rsl e1 tei 0
87 timeslot 0
88 phys_chan_config val_phys_chan_config_0
89 timeslot 1
90 phys_chan_config val_phys_chan_config_1
91 timeslot 2
92 phys_chan_config val_phys_chan_config_2
93 timeslot 3
94 phys_chan_config val_phys_chan_config_3
95 trx 1
96 rf_locked 0
97 arfcn val_trx_arfcn_trx1
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020098 nominal power val_trx_nominal_power_trx1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020099 max_power_red val_trx_max_power_red_trx1
100 rsl e1 tei 0
101 timeslot 0
102 phys_chan_config val_phys_chan_config_0
103 timeslot 1
104 phys_chan_config val_phys_chan_config_1
105 timeslot 2
106 phys_chan_config val_phys_chan_config_2
107 timeslot 3
108 phys_chan_config val_phys_chan_config_3
109 bts 1
110 type val_type_bts1
111 band val_band_bts1
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +0100112 cell_identity val_bts.cell_identity_bts1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200113 location_area_code val_bts.location_area_code_bts1
114 training_sequence_code 7
115 base_station_id_code val_bts.base_station_id_code_bts1
Neels Hofmeyrc9506b82017-05-04 15:13:41 +0200116 ms max power 33
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200117 cell reselection hysteresis 4
118 rxlev access min 0
119 channel allocator ascending
120 rach tx integer 9
121 rach max transmission 7
122 ip.access unit_id val_bts.unit_id_bts1 0
123 oml ip.access stream_id val_bts.stream_id_bts1 line 0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100124 gprs mode gprs
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100125 gprs routing area val_bts.routing_area_code_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100126 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100127 gprs cell bvci val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100128 gprs cell timer blocking-timer 3
129 gprs cell timer blocking-retries 3
130 gprs cell timer unblocking-retries 3
131 gprs cell timer reset-timer 3
132 gprs cell timer reset-retries 3
133 gprs cell timer suspend-timer 10
134 gprs cell timer suspend-retries 3
135 gprs cell timer resume-timer 10
136 gprs cell timer resume-retries 3
137 gprs cell timer capability-update-timer 10
138 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100139 gprs nsei val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100140 gprs ns timer tns-block 3
141 gprs ns timer tns-block-retries 3
142 gprs ns timer tns-reset 3
143 gprs ns timer tns-reset-retries 3
144 gprs ns timer tns-test 30
145 gprs ns timer tns-alive 3
146 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100147 gprs nsvc 0 nsvci val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100148 gprs nsvc 0 local udp port 23020
149 gprs nsvc 0 remote udp port 23000
150 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts1
151 no force-combined-si
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200152 trx 0
153 rf_locked 0
154 arfcn val_trx_arfcn_trx0
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200155 nominal power val_trx_nominal_power_trx0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200156 max_power_red val_trx_max_power_red_trx0
157 rsl e1 tei 0
158 timeslot 0
159 phys_chan_config val_phys_chan_config_0
160 timeslot 1
161 phys_chan_config val_phys_chan_config_1
162 timeslot 2
163 phys_chan_config val_phys_chan_config_2
164 timeslot 3
165 phys_chan_config val_phys_chan_config_3
166 trx 1
167 rf_locked 0
168 arfcn val_trx_arfcn_trx1
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200169 nominal power val_trx_nominal_power_trx1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200170 max_power_red val_trx_max_power_red_trx1
171 rsl e1 tei 0
172 timeslot 0
173 phys_chan_config val_phys_chan_config_0
174 timeslot 1
175 phys_chan_config val_phys_chan_config_1
176 timeslot 2
177 phys_chan_config val_phys_chan_config_2
178 timeslot 3
179 phys_chan_config val_phys_chan_config_3
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200180smpp
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200181 local-tcp-ip val_ip_address 2775
Pau Espin Pedrol2d16f6f2017-05-30 15:33:57 +0200182 system-id test-nitb
183 policy val_smsc_policy
184 esme val_system_id_esme0
185 password val_password_esme0
186 default-route
187 esme val_system_id_esme1
188 no password
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200189 default-route
190ctrl
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200191 bind val_ip_address
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200192
193- Testing: expect to fail on invalid templates dir
194sucess: setting non-existing templates dir raised RuntimeError
195