Remove ns1 version of sgsn config
This commit is contained in:
parent
8d37510487
commit
04d9009575
3 changed files with 4 additions and 48 deletions
|
@ -150,14 +150,8 @@ class rhizo_base::openbsc {
|
||||||
default => 'installed',
|
default => 'installed',
|
||||||
}
|
}
|
||||||
|
|
||||||
$sgsn_cfg_file = $repo ? {
|
|
||||||
'latest' => '-ns1',
|
|
||||||
'nightly' => '',
|
|
||||||
default => '',
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/etc/osmocom/osmo-sgsn.cfg':
|
file { '/etc/osmocom/osmo-sgsn.cfg':
|
||||||
content => template("rhizo_base/osmo-sgsn$sgsn_cfg_file.cfg.erb"),
|
content => template("rhizo_base/osmo-sgsn.cfg.erb"),
|
||||||
mode => "0750",
|
mode => "0750",
|
||||||
notify => Service['osmo-sgsn'],
|
notify => Service['osmo-sgsn'],
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,8 +36,9 @@ ns
|
||||||
timer tns-test 30
|
timer tns-test 30
|
||||||
timer tns-alive 3
|
timer tns-alive 3
|
||||||
timer tns-alive-retries 10
|
timer tns-alive-retries 10
|
||||||
encapsulation udp local-port 23000
|
bind udp local
|
||||||
encapsulation framerelay-gre enabled 0
|
listen 172.16.0.1 23000
|
||||||
|
accept-ipaccess
|
||||||
!
|
!
|
||||||
bssgp
|
bssgp
|
||||||
!
|
!
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
!
|
|
||||||
! 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