aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/template_test/osmo-nitb.cfg.tmpl
blob: f1508ec19c79e49a2a0392ee004831a45020c7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
!
! OpenBSC configuration saved from vty
!
password foo
!
log stderr
 logging filter all 1
 logging color 0
 logging print category 0
 logging print extended-timestamp 1
 logging level all debug
!
line vty
 no login
 bind ${vty_bind_ip}
!
e1_input
 e1_line 0 driver ipa
 ipa bind ${abis_bind_ip}
network
 network country code ${mcc}
 mobile network code ${mnc}
 short name ${net_name_short}
 long name ${net_name_long}
 auth policy ${net_auth_policy}
 location updating reject cause 13
 encryption ${encryption}
 neci 1
 rrlp mode none
 mm info 1
 handover 0
 handover window rxlev averaging 10
 handover window rxqual averaging 1
 handover window rxlev neighbor averaging 10
 handover power budget interval 6
 handover power budget hysteresis 3
 handover maximum distance 9999
smpp
 local-tcp-ip ${nitb.ip_address.addr} 2775
 system-id test-nitb
 policy ${smsc.policy}
 %for esme in esme_list:
  esme ${esme.system_id}
 % if esme.password == '':
   no password
 % else:
   password ${esme.password}
 % endif
   default-route
 %endfor
ctrl
 bind ${ctrl_bind_ip}
%for bts in bts_list:
 bts ${loop.index}
  type ${bts.type}
  band ${bts.band}
  cell_identity ${bts.cell_identity}
  location_area_code ${bts.location_area_code}
  training_sequence_code 7
  base_station_id_code ${bts.base_station_id_code}
  ms max power 15
  cell reselection hysteresis 4
  rxlev access min 0
  channel allocator ascending
  rach tx integer 9
  rach max transmission 7
  ip.access unit_id ${bts.unit_id} 0
  oml ip.access stream_id ${bts.stream_id} line 0
  gprs mode none
% for trx in bts.trx_list:
  trx ${loop.index}
   rf_locked 0
   arfcn ${trx.arfcn}
   nominal power 23
   max_power_red ${trx.max_power_red}
   rsl e1 tei 0
%  for ts in trx.timeslot_list:
   timeslot ${loop.index}
    phys_chan_config ${ts.phys_chan_config}
%  endfor
% endfor
%endfor