puppet/modules/rhizo_base/templates/osmo-nitb.cfg.erb

545 lines
13 KiB
Text

!
! OpenBSC (UNKNOWN) configuration by puppet
!!
password foo
!
log stderr
logging filter all 1
logging color 1
logging print category 1
logging timestamp 0
logging print file 1
logging level all everything
logging level rll notice
logging level cc info
logging level mm info
logging level rr notice
logging level rsl error
logging level nm notice
logging level mncc notice
logging level pag notice
logging level meas notice
logging level sccp notice
logging level msc notice
logging level mgcp notice
logging level ho notice
logging level db notice
logging level ref notice
logging level gprs notice
logging level ns notice
logging level bssgp notice
logging level llc notice
logging level sndcp notice
logging level nat notice
logging level ctrl notice
logging level smpp fatal
logging level filter notice
logging level lglobal error
logging level llapd notice
logging level linp notice
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms debug
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
!
stats interval 5
!
line vty
no login
!
e1_input
e1_line 0 driver ipa
e1_line 0 port 0
no e1_line 0 keepalive
network
network country code <%= @mcc %>
mobile network code <%= @mnc %>
short name <%= @network_name %>
long name <%= @network_name %>
auth policy <%= @auth_policy %>
authorized-regexp .*
location updating reject cause 13
encryption a5 0
neci 1
paging any use tch 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
timer t3109 4
dyn_ts_allow_tch_f 1
subscriber-keep-in-ram 0
bts 0
type sysmobts
description MasterBTS
band <%= @gsm_band %>
cell_identity 0
location_area_code <%= @lac %>
base_station_id_code 63
ms max power <%= @ms_max_power %>
cell reselection hysteresis 14
rxlev access min 0
periodic location update 30
radio-link-timeout 32
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
rach emergency call allowed 1
early-classmark-sending forbidden
early-classmark-sending-3g allowed
ip.access unit_id 1000 0
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
<% if @mncc_codec == 'AMR' -%>codec-support fr amr
amr tch-h modes 4 5
amr tch-h start-mode 1
<% else -%>codec-support fr
<% end -%>
<% if @gprs == 'active' -%> gprs mode gprs
gprs 11bit_rach_support_for_egprs 0
gprs routing area 0
gprs network-control-order nc0
gprs cell bvci 2
gprs cell timer blocking-timer 3
gprs cell timer blocking-retries 3
gprs cell timer unblocking-retries 3
gprs cell timer reset-timer 3
gprs cell timer reset-retries 3
gprs cell timer suspend-timer 10
gprs cell timer suspend-retries 3
gprs cell timer resume-timer 10
gprs cell timer resume-retries 3
gprs cell timer capability-update-timer 10
gprs cell timer capability-update-retries 3
gprs nsei <%= @lac %>0
gprs ns timer tns-block 3
gprs ns timer tns-block-retries 3
gprs ns timer tns-reset 3
gprs ns timer tns-reset-retries 3
gprs ns timer tns-test 30
gprs ns timer tns-alive 3
gprs ns timer tns-alive-retries 10
gprs nsvc 0 nsvci <%= @lac %>0
gprs nsvc 0 local udp port 23<%= @lac %>
gprs nsvc 0 remote udp port 23001
gprs nsvc 0 remote ip <%= @sgsn_ip_address %>
<% else -%> gprs mode none
<% end -%> no force-combined-si
trx 0
rf_locked 0
arfcn <%= @arfcn_A %>
nominal power 37
max_power_red <%= @max_power_red %>
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
<% if @gprs == 'active' -%>
timeslot 2
phys_chan_config TCH/F
hopping enabled 0
timeslot 3
phys_chan_config TCH/F
hopping enabled 0
timeslot 4
phys_chan_config TCH/F
hopping enabled 0
timeslot 5
phys_chan_config TCH/F
hopping enabled 0
timeslot 6
phys_chan_config TCH/F
hopping enabled 0
timeslot 7
phys_chan_config PDCH
hopping enabled 0
<% else -%>
timeslot 2
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 4
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 5
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 6
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 7
phys_chan_config <%= @phys_chan %>
hopping enabled 0
<% end -%>
<% if @arfcn_B -%>
bts 1
type sysmobts
band <%= @gsm_band %>
cell_identity 1
location_area_code <%= @lac %>
base_station_id_code 63
ms max power <%= @ms_max_power %>
cell reselection hysteresis 14
rxlev access min 0
periodic location update 30
radio-link-timeout 32
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
rach emergency call allowed 1
ip.access unit_id 1000 1
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
<% if @mncc_codec == 'AMR' -%>codec-support fr amr
amr tch-h modes 4 5
amr tch-h start-mode 1
<% else -%>codec-support fr
<% end -%>
<% if @gprs == 'active' -%> gprs mode gprs
gprs 11bit_rach_support_for_egprs 0
gprs routing area 0
gprs network-control-order nc0
gprs cell bvci 3
gprs cell timer blocking-timer 3
gprs cell timer blocking-retries 3
gprs cell timer unblocking-retries 3
gprs cell timer reset-timer 3
gprs cell timer reset-retries 3
gprs cell timer suspend-timer 10
gprs cell timer suspend-retries 3
gprs cell timer resume-timer 10
gprs cell timer resume-retries 3
gprs cell timer capability-update-timer 10
gprs cell timer capability-update-retries 3
gprs nsei <%= @lac %>1
gprs ns timer tns-block 3
gprs ns timer tns-block-retries 3
gprs ns timer tns-reset 3
gprs ns timer tns-reset-retries 3
gprs ns timer tns-test 30
gprs ns timer tns-alive 3
gprs ns timer tns-alive-retries 10
gprs nsvc 0 nsvci <%= @lac %>1
gprs nsvc 0 local udp port 23<%= @lac %>
gprs nsvc 0 remote udp port 23001
gprs nsvc 0 remote ip <%= @sgsn_ip_address %>
<% else -%> gprs mode none
<% end -%> no force-combined-si
depends-on-bts 0
trx 0
rf_locked 0
arfcn <%= @arfcn_B %>
nominal power 37
max_power_red <%= @max_power_red %>
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
<% if @gprs == 'active' -%>
timeslot 2
phys_chan_config TCH/F
hopping enabled 0
timeslot 3
phys_chan_config TCH/F
hopping enabled 0
timeslot 4
phys_chan_config TCH/F
hopping enabled 0
timeslot 5
phys_chan_config TCH/F
hopping enabled 0
timeslot 6
phys_chan_config TCH/F
hopping enabled 0
timeslot 7
phys_chan_config PDCH
hopping enabled 0
<% else -%>
timeslot 2
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 4
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 5
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 6
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 7
phys_chan_config <%= @phys_chan %>
hopping enabled 0
<% end -%>
<% end -%>
<% if @bts2_ip_address -%>
bts 2
type sysmobts
band GSM850
cell_identity 2
location_area_code <%= @lac %>
base_station_id_code 63
ms max power 33
cell reselection hysteresis 14
rxlev access min 0
periodic location update 30
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
rach emergency call allowed 1
ip.access unit_id 1000 2
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
codec-support fr
gprs mode none
no force-combined-si
trx 0
rf_locked 0
arfcn <%= @arfcn_C %>
nominal power 37
max_power_red <%= @max_power_red %>
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
timeslot 2
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 4
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 5
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 6
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 7
phys_chan_config <%= @phys_chan %>
hopping enabled 0
bts 3
type sysmobts
band GSM850
cell_identity 3
location_area_code <%= @lac %>
base_station_id_code 63
ms max power 33
cell reselection hysteresis 14
rxlev access min 0
periodic location update 30
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
rach emergency call allowed 1
ip.access unit_id 1000 3
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
codec-support fr
gprs mode none
no force-combined-si
depends-on-bts 2
trx 0
rf_locked 0
arfcn <%= @arfcn_D %>
nominal power 37
max_power_red <%= @max_power_red %>
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
timeslot 2
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 4
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 5
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 6
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 7
phys_chan_config <%= @phys_chan %>
hopping enabled 0
<% end -%>
<% if @bts3_ip_address -%>
bts 4
type sysmobts
band GSM850
cell_identity 4
location_area_code <%= @lac %>
base_station_id_code 63
ms max power 33
cell reselection hysteresis 14
rxlev access min 0
periodic location update 30
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
rach emergency call allowed 1
ip.access unit_id 1000 4
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
codec-support fr
gprs mode none
no force-combined-si
trx 0
rf_locked 0
arfcn <%= @arfcn_E %>
nominal power 37
max_power_red <%= @max_power_red %>
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
timeslot 2
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 4
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 5
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 6
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 7
phys_chan_config <%= @phys_chan %>
hopping enabled 0
bts 5
type sysmobts
band GSM850
cell_identity 5
location_area_code <%= @lac %>
base_station_id_code 63
ms max power 33
cell reselection hysteresis 14
rxlev access min 0
periodic location update 30
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
rach emergency call allowed 1
ip.access unit_id 1000 5
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
codec-support fr
gprs mode none
no force-combined-si
depends-on-bts 4
trx 0
rf_locked 0
arfcn <%= @arfcn_F %>
nominal power 37
max_power_red <%= @max_power_red %>
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
timeslot 2
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 3
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 4
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 5
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 6
phys_chan_config <%= @phys_chan %>
hopping enabled 0
timeslot 7
phys_chan_config <%= @phys_chan %>
hopping enabled 0
<% end -%>
mncc-int
default-codec tch-f fr
default-codec tch-h amr
meas-feed destination 127.0.0.1 8888
nitb
subscriber-create-on-demand
no assign-tmsi
smpp
local-tcp-port 2775
policy closed
smpp-first
esme OSMPP
no alert-notifications
password <%= @smsc_password %>
default-route
esme ISMPP
no alert-notifications
password <%= @smsc_password %>
esme NOTIFY
password <%= @smpp_password %>
no deliver-src-imsi