aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-27 17:07:41 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-29 12:30:48 +0200
commit0d45504267ace476c4da88fcaa702d026e3ae88a (patch)
tree598b1d6a44c3f6be38d8da960474c5f0c4a7bff1 /example
parenta9fdda85af89c758f96fbeaaf69f2db347b22fcd (diff)
osmo-bts-trx: Big refactor and cleanup of osmo-trx related code
* This commit is a preparation for future commits to add support for different osmo-trx devices and backends like osmo-trx-lms. * Drop deprecated osmo-trx-* cmd line params and use VTY cfg to set them. * As number of osmo-trx related osmo-gsm-tester attributes grow, group them togther in an "osmo_trx" dictionary. Change-Id: I77d29413c9e3b600b796627ba366f80c3281b7e1
Diffstat (limited to 'example')
-rw-r--r--example/defaults.conf5
-rw-r--r--example/resources.conf.prod9
-rw-r--r--example/resources.conf.rnd5
3 files changed, 16 insertions, 3 deletions
diff --git a/example/defaults.conf b/example/defaults.conf
index 5bdf257..fc4c324 100644
--- a/example/defaults.conf
+++ b/example/defaults.conf
@@ -75,3 +75,8 @@ nanobts:
- {}
- phys_chan_config: TCH/F # nanobts only supports PDCH in TRX0.
- phys_chan_config: TCH/F
+
+osmo_trx:
+ type: uhd
+ launch_trx: true
+ clock_reference: internal
diff --git a/example/resources.conf.prod b/example/resources.conf.prod
index 31a737c..41ab009 100644
--- a/example/resources.conf.prod
+++ b/example/resources.conf.prod
@@ -24,16 +24,21 @@ bts:
ipa_unit_id: 6
addr: 10.42.42.50
band: GSM-1800
- launch_trx: true
ciphers: [a5_0, a5_1]
+ osmo_trx:
+ launch_trx: true
+ clock_reference: external
- label: sysmoCell 5000
type: osmo-bts-trx
ipa_unit_id: 7
addr: 10.42.42.51
band: GSM-1800
- trx_remote_ip: 10.42.42.112
ciphers: [a5_0, a5_1]
+ osmo_trx:
+ launch_trx: false
+ clock_reference: external
+ trx_ip: 10.42.42.112
- label: OCTBTS 3500
type: osmo-bts-octphy
diff --git a/example/resources.conf.rnd b/example/resources.conf.rnd
index 4e5c173..74b8e3e 100644
--- a/example/resources.conf.rnd
+++ b/example/resources.conf.rnd
@@ -24,7 +24,10 @@ bts:
ipa_unit_id: 6
addr: 10.42.42.50
band: GSM-1800
- launch_trx: true
+ osmo_trx:
+ type: uhd
+ launch_trx: true
+ clock_reference: external
ciphers: [a5_0, a5_1]
- label: NanoBTS-ONW-1900