blob: 0ccc23a5e94488d4c7aa6ce6f881edc79ff9b0c0 [file] [log] [blame]
Neels Hofmeyrdae3d3c2017-03-28 12:16:58 +02001- Testing: fill a config file with values
2cnf Templates DBG: rendering osmo-nitb.cfg.tmpl
3!
4! OpenBSC configuration saved from vty
5!
6password foo
7!
8log stderr
9 logging filter all 1
10 logging color 0
11 logging print category 0
12 logging print extended-timestamp 1
13 logging level all debug
14!
15line vty
16 no login
17 bind val_vty_bind_ip
18!
19e1_input
20 e1_line 0 driver ipa
21 ipa bind val_abis_bind_ip
22network
23 network country code val_mcc
24 mobile network code val_mnc
25 short name val_net_name_short
26 long name val_net_name_long
27 auth policy val_net_auth_policy
28 location updating reject cause 13
29 encryption a5 val_encryption
30 neci 1
31 rrlp mode none
32 mm info 1
33 handover 0
34 handover window rxlev averaging 10
35 handover window rxqual averaging 1
36 handover window rxlev neighbor averaging 10
37 handover power budget interval 6
38 handover power budget hysteresis 3
39 handover maximum distance 9999
40 timer t3101 10
41 timer t3103 0
42 timer t3105 0
43 timer t3107 0
44 timer t3109 4
45 timer t3111 0
46 timer t3113 60
47 timer t3115 0
48 timer t3117 0
49 timer t3119 0
50 timer t3141 0
51smpp
52 local-tcp-ip val_smpp_bind_ip 2775
53 system-id test
54 policy closed
55 esme test
56 password test
57 default-route
58ctrl
59 bind val_ctrl_bind_ip
60 bts 0
61 type val_type_bts0
62 band val_band_bts0
63 cell_identity 0
64 location_area_code val_bts.location_area_code_bts0
65 training_sequence_code 7
66 base_station_id_code val_bts.base_station_id_code_bts0
67 ms max power 15
68 cell reselection hysteresis 4
69 rxlev access min 0
70 channel allocator ascending
71 rach tx integer 9
72 rach max transmission 7
73 ip.access unit_id val_bts.unit_id_bts0 0
74 oml ip.access stream_id val_bts.stream_id_bts0 line 0
75 gprs mode none
76 trx 0
77 rf_locked 0
78 arfcn val_trx_arfcn_trx0
79 nominal power 23
80 max_power_red val_trx_max_power_red_trx0
81 rsl e1 tei 0
82 timeslot 0
83 phys_chan_config val_phys_chan_config_0
84 timeslot 1
85 phys_chan_config val_phys_chan_config_1
86 timeslot 2
87 phys_chan_config val_phys_chan_config_2
88 timeslot 3
89 phys_chan_config val_phys_chan_config_3
90 trx 1
91 rf_locked 0
92 arfcn val_trx_arfcn_trx1
93 nominal power 23
94 max_power_red val_trx_max_power_red_trx1
95 rsl e1 tei 0
96 timeslot 0
97 phys_chan_config val_phys_chan_config_0
98 timeslot 1
99 phys_chan_config val_phys_chan_config_1
100 timeslot 2
101 phys_chan_config val_phys_chan_config_2
102 timeslot 3
103 phys_chan_config val_phys_chan_config_3
104 bts 1
105 type val_type_bts1
106 band val_band_bts1
107 cell_identity 0
108 location_area_code val_bts.location_area_code_bts1
109 training_sequence_code 7
110 base_station_id_code val_bts.base_station_id_code_bts1
111 ms max power 15
112 cell reselection hysteresis 4
113 rxlev access min 0
114 channel allocator ascending
115 rach tx integer 9
116 rach max transmission 7
117 ip.access unit_id val_bts.unit_id_bts1 0
118 oml ip.access stream_id val_bts.stream_id_bts1 line 0
119 gprs mode none
120 trx 0
121 rf_locked 0
122 arfcn val_trx_arfcn_trx0
123 nominal power 23
124 max_power_red val_trx_max_power_red_trx0
125 rsl e1 tei 0
126 timeslot 0
127 phys_chan_config val_phys_chan_config_0
128 timeslot 1
129 phys_chan_config val_phys_chan_config_1
130 timeslot 2
131 phys_chan_config val_phys_chan_config_2
132 timeslot 3
133 phys_chan_config val_phys_chan_config_3
134 trx 1
135 rf_locked 0
136 arfcn val_trx_arfcn_trx1
137 nominal power 23
138 max_power_red val_trx_max_power_red_trx1
139 rsl e1 tei 0
140 timeslot 0
141 phys_chan_config val_phys_chan_config_0
142 timeslot 1
143 phys_chan_config val_phys_chan_config_1
144 timeslot 2
145 phys_chan_config val_phys_chan_config_2
146 timeslot 3
147 phys_chan_config val_phys_chan_config_3
148
149- Testing: expect to fail on invalid templates dir
150sucess: setting non-existing templates dir raised RuntimeError
151