Add GPRS config option, remove Riak management
This commit is contained in:
parent
a08a2a5ca3
commit
65715ea60f
4 changed files with 45 additions and 7 deletions
|
@ -39,7 +39,8 @@ class rhizo_base {
|
|||
$network_name = hiera('rhizo::network_name')
|
||||
$auth_policy = hiera('rhizo::auth_policy')
|
||||
$lac = hiera('rhizo::lac')
|
||||
|
||||
$gprs = hiera('rhizo::gprs')
|
||||
|
||||
#BTSs configuration
|
||||
$bts_type = hiera('rhizo::bts_type')
|
||||
$bts1_ip_address = hiera('rhizo::bts1_ip_address')
|
||||
|
@ -174,10 +175,10 @@ class rhizo_base {
|
|||
group => 'root',
|
||||
mode => '0755',
|
||||
source => 'puppet:///modules/rhizo_base/etc/init.d/riak',
|
||||
require => Class['::riak'],
|
||||
notify => Exec['insserv'],
|
||||
#require => Class['::riak'],
|
||||
#notify => Exec['insserv'],
|
||||
}
|
||||
include rhizo_base::riak
|
||||
#include rhizo_base::riak
|
||||
}
|
||||
} else {
|
||||
file { '/etc/init.d/riak':
|
||||
|
|
|
@ -24,6 +24,7 @@ class rhizo_base::openbsc {
|
|||
$bts2_ip_address = $rhizo_base::bts2_ip_address
|
||||
$bts3_ip_address = $rhizo_base::bts3_ip_address
|
||||
$smsc_password = $rhizo_base::smsc_password
|
||||
$gprs = $rhizo_base::gprs
|
||||
|
||||
package { [ 'libosmoabis5', 'libosmocore8',
|
||||
'libosmoctrl0', 'libosmogsm7',
|
||||
|
|
|
@ -23,7 +23,7 @@ class rhizo_base::riak {
|
|||
class { '::riak':
|
||||
package_name => 'riak', # default
|
||||
service_name => 'riak', # default
|
||||
manage_package => true, # default
|
||||
manage_package => false, # default
|
||||
manage_repo => false,
|
||||
version => 'latest', # default, use a package version if desired
|
||||
# settings in the settings hash are written directly to settings.conf.
|
||||
|
|
|
@ -99,8 +99,36 @@ network
|
|||
oml ip.access stream_id 255 line 0
|
||||
neighbor-list mode automatic
|
||||
codec-support fr
|
||||
gprs mode none
|
||||
no force-combined-si
|
||||
<% 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 951
|
||||
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 951
|
||||
gprs nsvc 0 local udp port 23000
|
||||
gprs nsvc 0 remote udp port 23001
|
||||
gprs nsvc 0 remote ip 127.0.0.1
|
||||
<% else -%>gprs mode none
|
||||
<% end -%>no force-combined-si
|
||||
trx 0
|
||||
rf_locked 0
|
||||
arfcn <%= @arfcn_A %>
|
||||
|
@ -126,10 +154,18 @@ network
|
|||
phys_chan_config TCH/F
|
||||
hopping enabled 0
|
||||
timeslot 6
|
||||
<% if @gprs == 'active' -%>
|
||||
phys_chan_config TCH/F_PDCH
|
||||
<% else -%>
|
||||
phys_chan_config TCH/F
|
||||
<% end -%>
|
||||
hopping enabled 0
|
||||
timeslot 7
|
||||
<% if @gprs == 'active' -%>
|
||||
phys_chan_config PDCH
|
||||
<% else -%>
|
||||
phys_chan_config TCH/F
|
||||
<% end -%>
|
||||
hopping enabled 0
|
||||
<% if @arfcn_B -%>
|
||||
bts 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue