diff --git a/net/templates/common_osmo_bts b/net/templates/common_osmo_bts new file mode 100644 index 0000000..cfd28fb --- /dev/null +++ b/net/templates/common_osmo_bts @@ -0,0 +1,26 @@ +line vty + no login + +phy 0 + instance 0 + osmotrx ip local 127.0.0.1 + osmotrx ip remote 127.0.0.1 + +bts 0 + band ${BTS_BAND} + gsmtap-sapi ccch + gsmtap-sapi pdtch + trx 0 + phy 0 instance 0 + +${foreach(LOG_OUTPUT)} +log ${LOG_OUTPUTn_TYPE} +${include(common_logging)} + logging level set-all notice + logging level meas error + logging level pag error + logging level l1c error + logging level l1p error + logging level dsp error + logging level abis error +${foreach_end} diff --git a/net/templates/osmo-bts.cfg b/net/templates/osmo-bts.cfg index 7feb399..1d3e6a9 100644 --- a/net/templates/osmo-bts.cfg +++ b/net/templates/osmo-bts.cfg @@ -1,30 +1,6 @@ ${include(common_template_warning)} - -line vty - no login - -phy 0 - instance 0 - osmotrx ip local 127.0.0.1 - osmotrx ip remote 127.0.0.1 +${include(common_osmo_bts)} bts 0 - band ${BTS_BAND} ipa unit-id ${BTS0_IPA_UNIT} oml remote-ip ${BSC0_IP} - gsmtap-sapi ccch - gsmtap-sapi pdtch - trx 0 - phy 0 instance 0 - -${foreach(LOG_OUTPUT)} -log ${LOG_OUTPUTn_TYPE} -${include(common_logging)} - logging level set-all notice - logging level meas error - logging level pag error - logging level l1c error - logging level l1p error - logging level dsp error - logging level abis error -${foreach_end}