aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-07-08 17:46:40 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-07-11 20:31:41 +0200
commitc8cd61ddf258560127292a75221a19e2f3616bc4 (patch)
tree91da39dea3be53d293a8a68157f77da288906764 /tests
parente5a761c6b86a5d5e1422bd491fb38bf30cf43bc6 (diff)
RES IND: add VTY: bts / channel allocator avoid-interference (0|1)
Store the config option whether the channel allocator should try to avoid lchans with higher interference levels reported in RES IND. The actual implementation of avoiding interference follows in I844494092193811dfd9fa4d52983cbaed0fc9248 Related: SYS#5313 Change-Id: I8b62d0b41ad9e908b27713db9219e3dbc1ebaab7
Diffstat (limited to 'tests')
-rw-r--r--tests/osmo-bsc.vty37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/osmo-bsc.vty b/tests/osmo-bsc.vty
index 22e2a0668..1d859c3f9 100644
--- a/tests/osmo-bsc.vty
+++ b/tests/osmo-bsc.vty
@@ -147,3 +147,40 @@ network
meas-feed destination 127.0.0.23 4223
meas-feed scenario foo23
...
+
+
+OsmoBSC(config-net)# bts 0
+
+OsmoBSC(config-net-bts)# list
+...
+ channel allocator avoid-interference (0|1)
+...
+
+OsmoBSC(config-net-bts)# channel?
+ channel Channel Allocator
+
+OsmoBSC(config-net-bts)# channel ?
+ allocator Channel Allocator
+
+OsmoBSC(config-net-bts)# channel allocator ?
+ ascending Allocate Timeslots and Transceivers in ascending order
+ descending Allocate Timeslots and Transceivers in descending order
+ avoid-interference Configure whether reported interference levels from RES IND are used in channel allocation
+
+OsmoBSC(config-net-bts)# channel allocator avoid-interference ?
+ 0 Ignore interference levels (default). Always assign lchans in a deterministic order.
+ 1 In channel allocation, prefer lchans with less interference.
+
+OsmoBSC(config-net-bts)# show running-config
+... !channel allocator avoid-interference
+OsmoBSC(config-net-bts)# channel allocator avoid-interference 1
+OsmoBSC(config-net-bts)# show running-config
+...
+ bts 0
+...
+ channel allocator avoid-interference 1
+...
+
+OsmoBSC(config-net-bts)# channel allocator avoid-interference 0
+OsmoBSC(config-net-bts)# show running-config
+... !channel allocator avoid-interference