diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-10-31 02:04:01 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-11-01 01:15:03 +0100 |
commit | 63a79404ebc3409fe270b1723330119c7642bfc6 (patch) | |
tree | 1efbce300d64f63bb1c2fed4249324389093ff19 /tests | |
parent | 8e5b8def075c064093b3deae16af57b7b9b27c80 (diff) |
add 'show bts N neighbor-si', test SI ARFCNsneels/legacy_neighbors
How the new way of indicating neighbor cells interacts with the various System
Information coding and manual SI modes is yet badly under-tested.
- Add vty command 'show bts N neighbor-si' to generate the frequency lists as
would be sent out via OML in the System Information IEs.
- Add neighbor_si.vty VTY transcript test to verify the various neighbor
configurations and what SI frequency lists they produce.
Change-Id: I7acc46c6299b48eb10356d89d896a2d1f1cc4978
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neighbor_si.vty | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/tests/neighbor_si.vty b/tests/neighbor_si.vty new file mode 100644 index 000000000..09eac0bff --- /dev/null +++ b/tests/neighbor_si.vty @@ -0,0 +1,161 @@ +OsmoBSC> ### Verify Neighbor frequency lists in System Information + +OsmoBSC> enable +OsmoBSC# configure terminal + +OsmoBSC(config)# log stderr +OsmoBSC(config-log)# logging level rr debug +OsmoBSC(config-log)# logging filter all 1 +OsmoBSC(config-log)# exit +OsmoBSC(config)# network + +OsmoBSC(config-net)# bts 0 +OsmoBSC(config-net-bts)# type sysmobts +OsmoBSC(config-net-bts)# band 900 +OsmoBSC(config-net-bts)# base_station_id_code 10 +OsmoBSC(config-net-bts)# location_area_code 20 +OsmoBSC(config-net-bts)# cell_identity 30 +OsmoBSC(config-net-bts)# trx 0 +OsmoBSC(config-net-bts-trx)# arfcn 40 +OsmoBSC(config-net-bts-trx)# exit +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# bts 1 +OsmoBSC(config-net-bts)# type sysmobts +OsmoBSC(config-net-bts)# band 900 +OsmoBSC(config-net-bts)# base_station_id_code 11 +OsmoBSC(config-net-bts)# location_area_code 21 +OsmoBSC(config-net-bts)# cell_identity 31 +OsmoBSC(config-net-bts)# trx 0 +OsmoBSC(config-net-bts-trx)# arfcn 41 +OsmoBSC(config-net-bts-trx)# exit +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# bts 2 +OsmoBSC(config-net-bts)# type sysmobts +OsmoBSC(config-net-bts)# band 900 +OsmoBSC(config-net-bts)# base_station_id_code 12 +OsmoBSC(config-net-bts)# location_area_code 22 +OsmoBSC(config-net-bts)# cell_identity 65535 +OsmoBSC(config-net-bts)# trx 0 +OsmoBSC(config-net-bts-trx)# arfcn 42 +OsmoBSC(config-net-bts-trx)# exit +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# do show bts 0 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 41 42 + SI2bis - + SI2ter - + SI5 41 42 + SI5bis - +OsmoBSC(config-net)# do show bts 1 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 40 42 + SI2bis - + SI2ter - + SI5 40 42 + SI5bis - +OsmoBSC(config-net)# do show bts 2 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 40 41 + SI2bis - + SI2ter - + SI5 40 41 + SI5bis - + +OsmoBSC(config-net)# bts 0 +OsmoBSC(config-net-bts)# neighbor bts 1 +% BTS 0 now has local neighbor BTS 1 with LAC 21 CI 31 and ARFCN 41 BSIC 11 +OsmoBSC(config-net-bts)# exit +OsmoBSC(config-net)# bts 1 +OsmoBSC(config-net-bts)# neighbor bts 0 +% BTS 1 now has local neighbor BTS 0 with LAC 20 CI 30 and ARFCN 40 BSIC 10 +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# do show bts 0 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 41 + SI2bis - + SI2ter - + SI5 41 + SI5bis - +OsmoBSC(config-net)# do show bts 1 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 40 + SI2bis - + SI2ter - + SI5 40 + SI5bis - +OsmoBSC(config-net)# do show bts 2 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 40 41 + SI2bis - + SI2ter - + SI5 40 41 + SI5bis - + +OsmoBSC(config-net)# bts 2 +OsmoBSC(config-net-bts)# neighbor-list mode manual-si5 +OsmoBSC(config-net-bts)# neighbor-list add arfcn 23 +OsmoBSC(config-net-bts)# neighbor-list add arfcn 24 +OsmoBSC(config-net-bts)# neighbor-list add arfcn 25 +OsmoBSC(config-net-bts)# si5 neighbor-list add arfcn 51 +OsmoBSC(config-net-bts)# si5 neighbor-list add arfcn 52 +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# do show bts 2 neighbor-si +neighbor-list mode manual-si5 +ARFCNs to be sent on System Information IEs: + SI2 23 24 25 + SI2bis - + SI2ter - + SI5 51 52 + SI5bis - + +OsmoBSC(config-net)# bts 2 +OsmoBSC(config-net-bts)# neighbor-list mode manual +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# do show bts 2 neighbor-si +neighbor-list mode manual +ARFCNs to be sent on System Information IEs: + SI2 23 24 25 + SI2bis - + SI2ter - + SI5 23 24 25 + SI5bis - + +OsmoBSC(config-net)# ### Configuring an explicit neighbor mapping, but mode is still manual +OsmoBSC(config-net)# bts 2 +OsmoBSC(config-net-bts)# neighbor bts 1 +% BTS 2 now has local neighbor BTS 1 with LAC 21 CI 31 and ARFCN 41 BSIC 11 +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# do show bts 2 neighbor-si +neighbor-list mode manual +ARFCNs to be sent on System Information IEs: + SI2 23 24 25 + SI2bis - + SI2ter - + SI5 23 24 25 + SI5bis - + +OsmoBSC(config-net)# bts 2 +OsmoBSC(config-net-bts)# neighbor-list mode automatic +OsmoBSC(config-net-bts)# exit + +OsmoBSC(config-net)# do show bts 2 neighbor-si +neighbor-list mode automatic +ARFCNs to be sent on System Information IEs: + SI2 41 + SI2bis - + SI2ter - + SI5 41 + SI5bis - |