diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index 3cae5d7..2f43c4e 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -38,6 +38,7 @@ class rhizo_base { $network_name = hiera('rhizo::network_name') $auth_policy = hiera('rhizo::auth_policy') $lac = hiera('rhizo::lac') + $gsm_band = hiera('rhizo::gsm_band', "GSM850") #BTSs configuration $bts_type = hiera('rhizo::bts_type') diff --git a/modules/rhizo_base/manifests/openbsc.pp b/modules/rhizo_base/manifests/openbsc.pp index 3370119..5e0c7f0 100644 --- a/modules/rhizo_base/manifests/openbsc.pp +++ b/modules/rhizo_base/manifests/openbsc.pp @@ -15,6 +15,7 @@ class rhizo_base::openbsc { $auth_policy = $rhizo_base::auth_policy $lac = $rhizo_base::lac $max_power_red = $rhizo_base::max_power_red + $gsm_band = $rhizo_base::gsm_band $arfcn_A = $rhizo_base::arfcn_A $arfcn_B = $rhizo_base::arfcn_B $arfcn_C = $rhizo_base::arfcn_C diff --git a/modules/rhizo_base/templates/osmo-nitb.cfg.erb b/modules/rhizo_base/templates/osmo-nitb.cfg.erb index bb678a4..6073e1f 100644 --- a/modules/rhizo_base/templates/osmo-nitb.cfg.erb +++ b/modules/rhizo_base/templates/osmo-nitb.cfg.erb @@ -89,7 +89,7 @@ network bts 0 type sysmobts description MasterBTS - band GSM850 + band <%= @gsm_band %> cell_identity 0 location_area_code <%= @lac %> base_station_id_code 63 @@ -181,7 +181,7 @@ network <% if @arfcn_B -%> bts 1 type sysmobts - band GSM850 + band <%= @gsm_band %> cell_identity 1 location_area_code <%= @lac %> base_station_id_code 63