aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/doc/examples
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-20 01:47:39 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-20 09:39:09 +0200
commit9f64c54040857079fa5ca35bf522d3befe7ac362 (patch)
tree99a18afb262e42d6ae833192570b6f4e578f0a94 /openbsc/doc/examples
parent4d87e22980edb5a0ec170801980f76c837183b32 (diff)
GSM timers: User reasonable defaults; don't save if equal default
A number of the GSM timers (including T3109) had no reasonable default values if not specified in the VTY / config file. Together with unconditional writing to the config file, this created config files with a persistent setting for important timers as '0'. To make things worse, many of our example cofig files suffered from the same problem. Let's avoid this from happening by * having reasonable defaults if nothing specified in the config file * conditionally savingg timers only if they differ from default * reject any timer values that state zero during start-up (see previous commit) Change-Id: Iaac0bfca423852b61d8b9eb1438157ef00d0d8c8 Closes: OS#2380
Diffstat (limited to 'openbsc/doc/examples')
-rw-r--r--openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg12
-rw-r--r--openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg11
-rw-r--r--openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg2
-rw-r--r--openbsc/doc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg2
-rw-r--r--openbsc/doc/examples/osmo-nitb/bs11/openbsc.cfg2
-rw-r--r--openbsc/doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg11
-rw-r--r--openbsc/doc/examples/osmo-nitb/nanobts/openbsc.cfg11
-rw-r--r--openbsc/doc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg2
-rw-r--r--openbsc/doc/examples/osmo-nitb/rbs2308/openbsc.cfg12
-rw-r--r--openbsc/doc/examples/osmo-nitb/sysmobts/openbsc.cfg11
10 files changed, 0 insertions, 76 deletions
diff --git a/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg b/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg
index 56e47243b..ab23a76bc 100644
--- a/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg
+++ b/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg
@@ -28,18 +28,6 @@ network
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
- timer t3101 10
- timer t3103 0
- timer t3105 0
- timer t3107 0
- timer t3109 0
- timer t3111 0
- timer t3113 60
- timer t3115 0
- timer t3117 0
- timer t3119 0
- timer t3122 0
- timer t3141 0
subscriber-keep-in-ram 0
bts 0
type nanobts
diff --git a/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg b/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg
index 673064491..dbb9cff6e 100644
--- a/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg
+++ b/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg
@@ -26,17 +26,6 @@ network
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
- timer t3101 10
- timer t3103 0
- timer t3105 0
- timer t3107 0
- timer t3109 4
- timer t3111 0
- timer t3113 60
- timer t3115 0
- timer t3117 0
- timer t3119 0
- timer t3141 0
bts 0
type bs11
band GSM900
diff --git a/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg b/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg
index ca5689fd5..02ff4b870 100644
--- a/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg
+++ b/openbsc/doc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg
@@ -13,8 +13,6 @@ network
mobile network code 1
short name OpenBSC
long name OpenBSC
- timer t3101 10
- timer t3113 60
bts 0
type bs11
band GSM900
diff --git a/openbsc/doc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg b/openbsc/doc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg
index 4f194c00c..47b8d4620 100644
--- a/openbsc/doc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg
+++ b/openbsc/doc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg
@@ -11,8 +11,6 @@ network
mobile network code 1
short name OpenBSC
long name OpenBSC
- timer t3101 10
- timer t3113 60
bts 0
type bs11
band GSM900
diff --git a/openbsc/doc/examples/osmo-nitb/bs11/openbsc.cfg b/openbsc/doc/examples/osmo-nitb/bs11/openbsc.cfg
index 6c47a902d..bcb0b984a 100644
--- a/openbsc/doc/examples/osmo-nitb/bs11/openbsc.cfg
+++ b/openbsc/doc/examples/osmo-nitb/bs11/openbsc.cfg
@@ -13,8 +13,6 @@ network
mobile network code 1
short name OpenBSC
long name OpenBSC
- timer t3101 10
- timer t3113 60
bts 0
type bs11
band GSM900
diff --git a/openbsc/doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg b/openbsc/doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg
index 3277bea56..7c03ed5aa 100644
--- a/openbsc/doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg
+++ b/openbsc/doc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg
@@ -26,17 +26,6 @@ network
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
- timer t3101 10
- timer t3103 0
- timer t3105 0
- timer t3107 0
- timer t3109 4
- timer t3111 0
- timer t3113 60
- timer t3115 0
- timer t3117 0
- timer t3119 0
- timer t3141 0
bts 0
type nanobts
band DCS1800
diff --git a/openbsc/doc/examples/osmo-nitb/nanobts/openbsc.cfg b/openbsc/doc/examples/osmo-nitb/nanobts/openbsc.cfg
index cfc1be6b0..c5e7be839 100644
--- a/openbsc/doc/examples/osmo-nitb/nanobts/openbsc.cfg
+++ b/openbsc/doc/examples/osmo-nitb/nanobts/openbsc.cfg
@@ -26,17 +26,6 @@ network
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
- timer t3101 10
- timer t3103 0
- timer t3105 0
- timer t3107 0
- timer t3109 4
- timer t3111 0
- timer t3113 60
- timer t3115 0
- timer t3117 0
- timer t3119 0
- timer t3141 0
bts 0
type nanobts
band DCS1800
diff --git a/openbsc/doc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg b/openbsc/doc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg
index 90386bec2..190699133 100644
--- a/openbsc/doc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg
+++ b/openbsc/doc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg
@@ -13,8 +13,6 @@ network
mobile network code 1
short name OpenBSC
long name OpenBSC
- timer t3101 10
- timer t3113 60
bts 0
type nokia_site
band GSM1800
diff --git a/openbsc/doc/examples/osmo-nitb/rbs2308/openbsc.cfg b/openbsc/doc/examples/osmo-nitb/rbs2308/openbsc.cfg
index 0226920e1..d7837964b 100644
--- a/openbsc/doc/examples/osmo-nitb/rbs2308/openbsc.cfg
+++ b/openbsc/doc/examples/osmo-nitb/rbs2308/openbsc.cfg
@@ -25,18 +25,6 @@ network
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
- timer t3101 10
- timer t3103 0
- timer t3105 0
- timer t3107 0
- timer t3109 4
- timer t3111 0
- timer t3113 60
- timer t3115 0
- timer t3117 0
- timer t3119 0
- timer t3122 0
- timer t3141 0
subscriber-keep-in-ram 0
bts 0
type rbs2000
diff --git a/openbsc/doc/examples/osmo-nitb/sysmobts/openbsc.cfg b/openbsc/doc/examples/osmo-nitb/sysmobts/openbsc.cfg
index 7c078f63d..7cd5d1f8f 100644
--- a/openbsc/doc/examples/osmo-nitb/sysmobts/openbsc.cfg
+++ b/openbsc/doc/examples/osmo-nitb/sysmobts/openbsc.cfg
@@ -26,17 +26,6 @@ network
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
- timer t3101 10
- timer t3103 0
- timer t3105 0
- timer t3107 0
- timer t3109 4
- timer t3111 0
- timer t3113 60
- timer t3115 0
- timer t3117 0
- timer t3119 0
- timer t3141 0
bts 0
type sysmobts
band DCS1800