aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-03-02 00:01:04 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-03-02 17:56:48 +0100
commite073463ec4d9c91b9aba72771ae552748bdfc1d7 (patch)
tree9012dd39e72d0d7a91e849ab58eb115a6bc8d690 /tests
parent7bd795515f0839e31fccd807d3a5631a82bb6c4e (diff)
add timeslot.vty
Prepare some basic tests for 'timeslot' / 'phys_chan_config', because an upcoming patch will add the 'osmodyn' alias, and this test shall show the changes on the VTY. Change-Id: I2c4aab90bcbc9019ca004fb1d4945476edbb7363
Diffstat (limited to 'tests')
-rw-r--r--tests/timeslot.vty71
1 files changed, 71 insertions, 0 deletions
diff --git a/tests/timeslot.vty b/tests/timeslot.vty
new file mode 100644
index 000000000..0a2f01c31
--- /dev/null
+++ b/tests/timeslot.vty
@@ -0,0 +1,71 @@
+OsmoBSC> enable
+OsmoBSC# configure terminal
+OsmoBSC(config)# network
+OsmoBSC(config-net)# bts 0
+OsmoBSC(config-net-bts)# trx 0
+OsmoBSC(config-net-bts-trx)# timeslot 0
+
+OsmoBSC(config-net-bts-trx-ts)# list
+...
+ phys_chan_config (none|ccch|ccch+sdcch4|tch/f|tch/h|sdcch8|pdch|tch/f_pdch|unknown|ccch+sdcch4+cbch|sdcch8+cbch|tch/f_tch/h_sdcch8_pdch)
+ training_sequence_code <0-7>
+ hopping enabled (0|1)
+ hopping sequence-number <0-63>
+ hopping maio <0-63>
+ hopping arfcn add <0-1023>
+ hopping arfcn del <0-1023>
+ hopping arfcn del-all
+ e1 line E1_LINE timeslot <1-31> sub-slot (0|1|2|3|full)
+
+OsmoBSC(config-net-bts-trx-ts)# phys_chan_config?
+ phys_chan_config Physical Channel Combination
+
+OsmoBSC(config-net-bts-trx-ts)# phys_chan_config ?
+ none Physical Channel not configured
+ ccch FCCH + SCH + BCCH + CCCH (Comb. IV)
+ ccch+sdcch4 FCCH + SCH + BCCH + CCCH + 4 SDCCH + 2 SACCH (Comb. V)
+ tch/f TCH/F + FACCH/F + SACCH (Comb. I)
+ tch/h 2 TCH/H + 2 FACCH/H + 2 SACCH (Comb. II)
+ sdcch8 8 SDCCH + 4 SACCH (Comb. VII)
+ pdch Packet Data Channel for GPRS/EDGE
+ tch/f_pdch Dynamic TCH/F or GPRS PDCH
+ unknown Unknown / Unsupported channel combination
+ ccch+sdcch4+cbch FCCH + SCH + BCCH + CCCH + CBCH + 3 SDCCH + 2 SACCH (Comb. V)
+ sdcch8+cbch 7 SDCCH + 4 SACCH + CBCH (Comb. VII)
+ tch/f_tch/h_sdcch8_pdch Dynamic TCH/F or TCH/H or SDCCH/8 or GPRS PDCH
+
+OsmoBSC(config-net-bts-trx-ts)# phys_chan_config none
+OsmoBSC(config-net-bts-trx-ts)# show running-config
+...
+ trx 0
+...
+ timeslot 0
+ hopping enabled 0
+...
+
+OsmoBSC(config-net-bts-trx-ts)# phys_chan_config tch/f
+OsmoBSC(config-net-bts-trx-ts)# show running-config
+...
+ trx 0
+...
+ timeslot 0
+ phys_chan_config TCH/F
+...
+
+OsmoBSC(config-net-bts-trx-ts)# phys_chan_config TCH/F
+OsmoBSC(config-net-bts-trx-ts)# show running-config
+...
+ trx 0
+...
+ timeslot 0
+ phys_chan_config TCH/F
+...
+
+OsmoBSC(config-net-bts-trx-ts)# phys_chan_config tch/f_tch/h_sdcch8_pdch
+OsmoBSC(config-net-bts-trx-ts)# show running-config
+...
+ trx 0
+...
+ timeslot 0
+ phys_chan_config TCH/F_TCH/H_SDCCH8_PDCH
+...