Improve NITB config template.
Introduces a multiple file template and iterates over the defined BTS array from the hiera data. This is really a backport of the as yet uncommitted work on creating osmo-* config files for the split stack. Making this change here for the nitb will allow for removal for some deprecated variables in hiera. At this time, I don't think there is any site that is actually using a puppet-generated nitb config file, but if there were, the results of this code should be more less funcionally equivalent, providing the BTS definition is correct.
This commit is contained in:
parent
31d8550a75
commit
1cedf0c0fc
4 changed files with 219 additions and 1 deletions
21
modules/rhizo_base/templates/osmo-nitb-tail.erb
Normal file
21
modules/rhizo_base/templates/osmo-nitb-tail.erb
Normal file
|
@ -0,0 +1,21 @@
|
|||
mncc-int
|
||||
default-codec tch-f amr
|
||||
default-codec tch-h amr
|
||||
meas-feed destination 127.0.0.1 8888
|
||||
nitb
|
||||
subscriber-create-on-demand
|
||||
no assign-tmsi
|
||||
smpp
|
||||
local-tcp-port 2775
|
||||
policy closed
|
||||
smpp-first
|
||||
esme OSMPP
|
||||
password <%= @smsc_password %>
|
||||
default-route
|
||||
no alert-notifications
|
||||
esme ISMPP
|
||||
password <%= @smsc_password %>
|
||||
no alert-notifications
|
||||
esme NOTIFY
|
||||
password <%= @smpp_password %>
|
||||
no deliver-src-imsi
|
Loading…
Add table
Add a link
Reference in a new issue