aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-22 11:24:48 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-23 16:56:29 +0200
commita40bce59815fb072faa34c1a5d2d952f2454979b (patch)
tree94000d8687776773902200f4e82ee5f771e44fe9 /example
parent722e94e83395530c892706c0a36bc36ae799c0b4 (diff)
Add testsuite + scenarios to test nanoBTS multiTRX
Currently only 2 nanoBTS in the 900 band are attached together as a multiTRX setup. We thus set num_trx to 2 and set channel allocator descending to force the BTS to use the 2nd TRX when allocating channels. Change-Id: I12e1bcb047c4efac5693cf725739e0ce2e0532ee
Diffstat (limited to 'example')
-rw-r--r--example/default-suites.conf2
-rw-r--r--example/defaults.conf15
-rw-r--r--example/scenarios/mod-bts0-chanallocdescend.conf3
3 files changed, 18 insertions, 2 deletions
diff --git a/example/default-suites.conf b/example/default-suites.conf
index 7ff8470..8d692fa 100644
--- a/example/default-suites.conf
+++ b/example/default-suites.conf
@@ -53,8 +53,10 @@
- voice:nanobts+band-900+mod-bts0-ts-tchf
- voice:nanobts+band-900+mod-bts0-ts-tchh
- voice:nanobts+band-900+mod-bts0-dynts-ipa
+- voice:nanobts+band-900+mod-bts0-numtrx2+mod-bts0-chanallocdescend
- gprs:nanobts+band-900
- gprs:nanobts+band-900+mod-bts0-dynts-ipa
+- gprs:nanobts+band-900+mod-bts0-numtrx2+mod-bts0-chanallocdescend
- smpp
- aoip_smpp
- aoip_encryption
diff --git a/example/defaults.conf b/example/defaults.conf
index 73188d5..61b09fb 100644
--- a/example/defaults.conf
+++ b/example/defaults.conf
@@ -54,11 +54,22 @@ bsc_bts:
- phys_chan_config: TCH/F
- phys_chan_config: TCH/F
- phys_chan_config: TCH/F
- - phys_chan_config: TCH/F
- - phys_chan_config: TCH/F
+ - phys_chan_config: PDCH
+ - phys_chan_config: PDCH
osmo_bts_octphy:
max_trx: 2
nanobts:
max_trx: 2
+ trx_list:
+ - {}
+ - timeslot_list:
+ - {}
+ - {}
+ - {}
+ - {}
+ - {}
+ - {}
+ - phys_chan_config: TCH/F # nanobts only supports PDCH in TRX0.
+ - phys_chan_config: TCH/F
diff --git a/example/scenarios/mod-bts0-chanallocdescend.conf b/example/scenarios/mod-bts0-chanallocdescend.conf
new file mode 100644
index 0000000..78cd02c
--- /dev/null
+++ b/example/scenarios/mod-bts0-chanallocdescend.conf
@@ -0,0 +1,3 @@
+modifiers:
+ bts:
+ - channel_allocator: descending