osmith has uploaded this change for review.

View Change

net/templates: split off common osmo-bts.cfg part

Change-Id: I4d318942ef07c246e05fd1c59ff0b32c219a45e1
---
A net/templates/common_osmo_bts
M net/templates/osmo-bts.cfg
2 files changed, 27 insertions(+), 25 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/40/27440/1
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}

To view, visit change 27440. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I4d318942ef07c246e05fd1c59ff0b32c219a45e1
Gerrit-Change-Number: 27440
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange