blob: 88b77b07580787dff0cede8183abbd51b478f1cd [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
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +020011 logging level set-all debug
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020012!
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
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020080 trx 0
81 rf_locked 0
82 arfcn val_trx_arfcn_trx0
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020083 nominal power val_trx_nominal_power_trx0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020084 max_power_red val_trx_max_power_red_trx0
85 rsl e1 tei 0
86 timeslot 0
87 phys_chan_config val_phys_chan_config_0
88 timeslot 1
89 phys_chan_config val_phys_chan_config_1
90 timeslot 2
91 phys_chan_config val_phys_chan_config_2
92 timeslot 3
93 phys_chan_config val_phys_chan_config_3
94 trx 1
95 rf_locked 0
96 arfcn val_trx_arfcn_trx1
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +020097 nominal power val_trx_nominal_power_trx1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +020098 max_power_red val_trx_max_power_red_trx1
99 rsl e1 tei 0
100 timeslot 0
101 phys_chan_config val_phys_chan_config_0
102 timeslot 1
103 phys_chan_config val_phys_chan_config_1
104 timeslot 2
105 phys_chan_config val_phys_chan_config_2
106 timeslot 3
107 phys_chan_config val_phys_chan_config_3
108 bts 1
109 type val_type_bts1
110 band val_band_bts1
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +0100111 cell_identity val_bts.cell_identity_bts1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200112 location_area_code val_bts.location_area_code_bts1
113 training_sequence_code 7
114 base_station_id_code val_bts.base_station_id_code_bts1
Neels Hofmeyrc9506b82017-05-04 15:13:41 +0200115 ms max power 33
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200116 cell reselection hysteresis 4
117 rxlev access min 0
118 channel allocator ascending
119 rach tx integer 9
120 rach max transmission 7
121 ip.access unit_id val_bts.unit_id_bts1 0
122 oml ip.access stream_id val_bts.stream_id_bts1 line 0
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100123 gprs mode gprs
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100124 gprs routing area val_bts.routing_area_code_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100125 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100126 gprs cell bvci val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100127 gprs cell timer blocking-timer 3
128 gprs cell timer blocking-retries 3
129 gprs cell timer unblocking-retries 3
130 gprs cell timer reset-timer 3
131 gprs cell timer reset-retries 3
132 gprs cell timer suspend-timer 10
133 gprs cell timer suspend-retries 3
134 gprs cell timer resume-timer 10
135 gprs cell timer resume-retries 3
136 gprs cell timer capability-update-timer 10
137 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100138 gprs nsei val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100139 gprs ns timer tns-block 3
140 gprs ns timer tns-block-retries 3
141 gprs ns timer tns-reset 3
142 gprs ns timer tns-reset-retries 3
143 gprs ns timer tns-test 30
144 gprs ns timer tns-alive 3
145 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +0100146 gprs nsvc 0 nsvci val_bts.bvci_bts1
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100147 gprs nsvc 0 local udp port 23020
148 gprs nsvc 0 remote udp port 23000
149 gprs nsvc 0 remote ip val_bts.sgsn_ip_addr_bts1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200150 trx 0
151 rf_locked 0
152 arfcn val_trx_arfcn_trx0
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200153 nominal power val_trx_nominal_power_trx0
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200154 max_power_red val_trx_max_power_red_trx0
155 rsl e1 tei 0
156 timeslot 0
157 phys_chan_config val_phys_chan_config_0
158 timeslot 1
159 phys_chan_config val_phys_chan_config_1
160 timeslot 2
161 phys_chan_config val_phys_chan_config_2
162 timeslot 3
163 phys_chan_config val_phys_chan_config_3
164 trx 1
165 rf_locked 0
166 arfcn val_trx_arfcn_trx1
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200167 nominal power val_trx_nominal_power_trx1
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200168 max_power_red val_trx_max_power_red_trx1
169 rsl e1 tei 0
170 timeslot 0
171 phys_chan_config val_phys_chan_config_0
172 timeslot 1
173 phys_chan_config val_phys_chan_config_1
174 timeslot 2
175 phys_chan_config val_phys_chan_config_2
176 timeslot 3
177 phys_chan_config val_phys_chan_config_3
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200178smpp
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200179 local-tcp-ip val_ip_address 2775
Pau Espin Pedrol2d16f6f2017-05-30 15:33:57 +0200180 system-id test-nitb
181 policy val_smsc_policy
182 esme val_system_id_esme0
183 password val_password_esme0
184 default-route
185 esme val_system_id_esme1
186 no password
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200187 default-route
188ctrl
Neels Hofmeyr4f59ba62017-05-22 20:04:05 +0200189 bind val_ip_address
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +0200190
191- Testing: expect to fail on invalid templates dir
192sucess: setting non-existing templates dir raised RuntimeError
193