Updates to Osmo Split Stack Config
This commit is contained in:
parent
67df350f1b
commit
fcda7401f4
6 changed files with 35 additions and 14 deletions
|
@ -18,6 +18,7 @@ class rhizo_base::osmocom {
|
|||
$smsc_password = $rhizo_base::smsc_password
|
||||
$smpp_password = $rhizo_base::smpp_password
|
||||
|
||||
$hlr_db = hiera('rhizo::hlr_db', '/var/lib/osmocom/hlr.db')
|
||||
$sms_db = $rhizo_base::sms_db
|
||||
$mncc_codec = $rhizo_base::mncc_codec
|
||||
|
||||
|
@ -26,6 +27,7 @@ class rhizo_base::osmocom {
|
|||
$sgsn_ip_address = hiera('rhizo::sgsn_ip_address')
|
||||
$ggsn_ip_address = hiera('rhizo::ggsn_ip_address')
|
||||
$repo = hiera('rhizo::osmo_repo', 'latest')
|
||||
$hlr_name = hiera('rhizo::hlr_name', $network_name)
|
||||
|
||||
package { [ 'osmo-stp', 'osmo-mgw', 'osmo-sgsn' ]:
|
||||
ensure => 'installed',
|
||||
|
@ -85,6 +87,9 @@ class rhizo_base::osmocom {
|
|||
ensure => 'installed',
|
||||
}
|
||||
|
||||
$ts0_phys_chan = "CCCH"
|
||||
$ts1_phys_chan = "SDCCH8"
|
||||
|
||||
if $mncc_codec == "AMR" {
|
||||
$phys_chan = "TCH/H"
|
||||
} else {
|
||||
|
@ -136,6 +141,11 @@ class rhizo_base::osmocom {
|
|||
require => Package['osmo-sip-connector'],
|
||||
}
|
||||
|
||||
file { '/etc/osmocom/osmo-sgsn.cfg':
|
||||
content => template('rhizo_base/osmo-sgsn.cfg.erb'),
|
||||
require => Package['osmo-sgsn'],
|
||||
}
|
||||
|
||||
systemd::dropin_file { 'override.conf':
|
||||
unit => 'osmo-msc.service',
|
||||
source => 'puppet:///modules/rhizo_base/systemd/osmo-msc.override'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue