aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-03-31 06:22:27 +0700
committerlaforge <laforge@osmocom.org>2023-03-31 15:46:29 +0000
commited5080adb3c216c1782670bd1040a13cf8e81f73 (patch)
tree36d681f74a6bcbfe3c60093f4f8a62aa695c6c33
parentc8994ea6f794447bdc660543a544154201ac30c5 (diff)
tests: rename and extend gprs_{bvci_default->params}.vty
Match default values for all GPRS related params, not only the BVCI. Change-Id: Ia02e9a97137eb7724f22526fc3768331b35ac55d Related: OS#5979
-rw-r--r--tests/gprs_bvci_default.vty13
-rw-r--r--tests/gprs_params.vty48
2 files changed, 48 insertions, 13 deletions
diff --git a/tests/gprs_bvci_default.vty b/tests/gprs_bvci_default.vty
deleted file mode 100644
index 4bd95ce39..000000000
--- a/tests/gprs_bvci_default.vty
+++ /dev/null
@@ -1,13 +0,0 @@
-OsmoBSC> enable
-OsmoBSC# configure terminal
-OsmoBSC(config)# network
-OsmoBSC(config-net)# bts 0
-OsmoBSC(config-net-bts)# gprs mode gprs
-OsmoBSC(config-net-bts)# exit
-
-OsmoBSC(config-net)# show running-config
-...
- bts 0
-...
- gprs cell bvci 2
-...
diff --git a/tests/gprs_params.vty b/tests/gprs_params.vty
new file mode 100644
index 000000000..87c64b195
--- /dev/null
+++ b/tests/gprs_params.vty
@@ -0,0 +1,48 @@
+OsmoBSC> enable
+OsmoBSC# configure terminal
+OsmoBSC(config)# network
+OsmoBSC(config-net)# bts 0
+
+OsmoBSC(config-net-bts)# ### GPRS is disabled by default
+OsmoBSC(config-net-bts)# show running-config
+...
+ bts 0
+...
+ gprs mode none
+...
+
+OsmoBSC(config-net-bts)# ### Default [E]GPRS params
+OsmoBSC(config-net-bts)# gprs mode gprs
+OsmoBSC(config-net-bts)# show running-config
+...
+ bts 0
+...
+ gprs mode gprs
+ gprs routing area 0
+ gprs network-control-order nc0
+ gprs power-control alpha 0
+ gprs cell bvci 2
+ gprs cell timer blocking-timer 3
+ gprs cell timer blocking-retries 3
+ gprs cell timer unblocking-retries 3
+ gprs cell timer reset-timer 3
+ gprs cell timer reset-retries 3
+ gprs cell timer suspend-timer 10
+ gprs cell timer suspend-retries 3
+ gprs cell timer resume-timer 10
+ gprs cell timer resume-retries 3
+ gprs cell timer capability-update-timer 10
+ gprs cell timer capability-update-retries 3
+ gprs nsei 0
+ gprs ns timer tns-block 3
+ gprs ns timer tns-block-retries 3
+ gprs ns timer tns-reset 3
+ gprs ns timer tns-reset-retries 3
+ gprs ns timer tns-test 30
+ gprs ns timer tns-alive 3
+ gprs ns timer tns-alive-retries 10
+ gprs nsvc 0 nsvci 0
+ gprs nsvc 0 local udp port 0
+ gprs nsvc 1 nsvci 0
+ gprs nsvc 1 local udp port 0
+...