laforge submitted this change.

View Change


Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
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
---
D tests/gprs_bvci_default.vty
A tests/gprs_params.vty
2 files changed, 60 insertions(+), 13 deletions(-)

diff --git a/tests/gprs_bvci_default.vty b/tests/gprs_bvci_default.vty
deleted file mode 100644
index 4bd95ce..0000000
--- 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 0000000..87c64b1
--- /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
+...

To view, visit change 32169. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia02e9a97137eb7724f22526fc3768331b35ac55d
Gerrit-Change-Number: 32169
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged