Install compatible config for older sgsn

This commit is contained in:
Keith Whyte 2021-02-26 07:05:13 +01:00
parent fc9d81ae3e
commit be4597d985
2 changed files with 40 additions and 1 deletions

View file

@ -139,7 +139,7 @@ class rhizo_base::openbsc {
}
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",
notify => Service['osmo-sgsn'],
}

View 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
!