Install compatible config for older sgsn
This commit is contained in:
parent
fc9d81ae3e
commit
be4597d985
2 changed files with 40 additions and 1 deletions
|
@ -139,7 +139,7 @@ class rhizo_base::openbsc {
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/osmocom/osmo-sgsn.cfg':
|
file { '/etc/osmocom/osmo-sgsn.cfg':
|
||||||
content => template('rhizo_base/osmo-sgsn.cfg.erb'),
|
content => template('rhizo_base/osmo-sgsn-ns1.cfg.erb'),
|
||||||
mode => "0750",
|
mode => "0750",
|
||||||
notify => Service['osmo-sgsn'],
|
notify => Service['osmo-sgsn'],
|
||||||
}
|
}
|
||||||
|
|
39
modules/rhizo_base/templates/osmo-sgsn-ns1.cfg.erb
Normal file
39
modules/rhizo_base/templates/osmo-sgsn-ns1.cfg.erb
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
!
|
||||||
|
! Osmocom SGSN configuration
|
||||||
|
!
|
||||||
|
!
|
||||||
|
log stderr
|
||||||
|
logging level set-all fatal
|
||||||
|
logging print category 1
|
||||||
|
logging print file basename last
|
||||||
|
logging print level 1
|
||||||
|
logging print extended-timestamp 1
|
||||||
|
logging level gprs error
|
||||||
|
logging level mm error
|
||||||
|
logging level llc error
|
||||||
|
line vty
|
||||||
|
no login
|
||||||
|
!
|
||||||
|
sgsn
|
||||||
|
gtp local-ip <%= @vpn_ip_address %>
|
||||||
|
ggsn 0 remote-ip <%= @ggsn_ip_address %>
|
||||||
|
ggsn 0 gtp-version 1
|
||||||
|
ggsn 0 echo-interval 60
|
||||||
|
auth-policy accept-all
|
||||||
|
gsup remote-ip <%= @vpn_ip_address %>
|
||||||
|
gsup remote-port 4222
|
||||||
|
authentication optional
|
||||||
|
!
|
||||||
|
ns
|
||||||
|
timer tns-block 3
|
||||||
|
timer tns-block-retries 3
|
||||||
|
timer tns-reset 3
|
||||||
|
timer tns-reset-retries 3
|
||||||
|
timer tns-test 30
|
||||||
|
timer tns-alive 3
|
||||||
|
timer tns-alive-retries 10
|
||||||
|
encapsulation udp local-port 23000
|
||||||
|
encapsulation framerelay-gre enabled 0
|
||||||
|
!
|
||||||
|
bssgp
|
||||||
|
!
|
Loading…
Add table
Add a link
Reference in a new issue