aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-09-21 02:14:46 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-09-27 03:32:35 +0200
commit0812db27bb8adda84a26814277833408a141aec0 (patch)
tree939148992f362706cf496fcd38479b43fd82fc2f /tests
parent20482c730fac1c278c3c2dc60b56ead32783605f (diff)
neighbor vty: allow setting local neighbors by CGI
Add missing item in the landscape of VTY commands: allow identifying a local cell by CGI (besides BTS nr, LAC or LAC+CI, which already exist). Change-Id: I2d03de6b695904c4a86025bf250358d04f6e47de
Diffstat (limited to 'tests')
-rw-r--r--tests/neighbor_ident.vty5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/neighbor_ident.vty b/tests/neighbor_ident.vty
index 8de34d61b..02b0f5004 100644
--- a/tests/neighbor_ident.vty
+++ b/tests/neighbor_ident.vty
@@ -83,6 +83,7 @@ OsmoBSC(config-net-bts)# list
neighbor bts <0-255>
neighbor lac <0-65535>
neighbor lac-ci <0-65535> <0-65535>
+ neighbor cgi <0-999> <0-999> <0-65535> <0-65535>
neighbor lac <0-65535> arfcn <0-1023> bsic (<0-63>|any)
neighbor lac-ci <0-65535> <0-65535> arfcn <0-1023> bsic (<0-63>|any)
neighbor cgi <0-999> <0-999> <0-65535> <0-65535> arfcn <0-1023> bsic (<0-63>|any)
@@ -146,6 +147,7 @@ OsmoBSC(config-net-bts)# neighbor cgi 0 0 0 ?
<0-65535> CI
OsmoBSC(config-net-bts)# neighbor cgi 0 0 0 0 ?
arfcn ARFCN of neighbor cell
+ <cr>
OsmoBSC(config-net-bts)# neighbor cgi 0 0 0 0 arfcn ?
<0-1023> ARFCN value
OsmoBSC(config-net-bts)# neighbor cgi 0 0 0 0 arfcn 0 ?
@@ -196,6 +198,9 @@ OsmoBSC(config-net-bts)# neighbor bts 1
OsmoBSC(config-net-bts)# neighbor lac 22
% BTS 0 now has local neighbor BTS 2 with LAC 22 CI 65535 and ARFCN 42 BSIC 12
+OsmoBSC(config-net-bts)# no neighbor bts 2
+OsmoBSC(config-net-bts)# neighbor cgi 901 70 22 65535
+% BTS 0 now has local neighbor BTS 2 with LAC 22 CI 65535 and ARFCN 42 BSIC 12
OsmoBSC(config-net-bts)# neighbor cgi 23 42 423 5 arfcn 23 bsic 42
% BTS 0 to ARFCN 23 BSIC 42 now has 1 remote BSS Cell Identifier List entry