summaryrefslogtreecommitdiffstats
path: root/openbsc/doc/examples
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-07-28 15:30:09 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-07-28 15:30:09 +0200
commitd0288076583f3813725598cecf2c0c5a807aa024 (patch)
treedfa4fcc94d857f34f0912fd70012953d8ff04bc6 /openbsc/doc/examples
parent64c17fa598d2920d8843d022ea92b6846a4d1331 (diff)
misc: Introduce a script tha generates the VTY reference
Update/Move/Create example configuration files for NiTB, BSC, MGCP, NAT and the GbProxy. Create a script that starts, generates the vty reference and terminates the application.
Diffstat (limited to 'openbsc/doc/examples')
-rw-r--r--openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg32
-rw-r--r--openbsc/doc/examples/osmo-bsc_mgcp/mgcp.cfg2
-rw-r--r--openbsc/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg3
-rw-r--r--openbsc/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg25
4 files changed, 29 insertions, 33 deletions
diff --git a/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg b/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg
index 97704fb8f..ce24f5c1b 100644
--- a/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg
+++ b/openbsc/doc/examples/osmo-bsc/osmo-bsc.cfg
@@ -3,38 +3,6 @@
!!
password foo
!
-log stderr
- logging color 1
- logging timestamp 0
- logging level all everything
- logging level rll notice
- logging level cc notice
- logging level mm notice
- logging level rr notice
- logging level rsl notice
- logging level nm info
- logging level mncc notice
- logging level sms notice
- logging level pag notice
- logging level meas notice
- logging level mi notice
- logging level mib notice
- logging level mux notice
- logging level inp notice
- logging level sccp notice
- logging level msc notice
- logging level mgcp notice
- logging level ho notice
- logging level db notice
- logging level ref notice
- logging level gprs debug
- logging level ns info
- logging level bssgp debug
- logging level llc debug
- logging level sndcp debug
- logging level nat notice
- logging level lglobal notice
- logging level llapdm notice
!
line vty
no login
diff --git a/openbsc/doc/examples/osmo-bsc_mgcp/mgcp.cfg b/openbsc/doc/examples/osmo-bsc_mgcp/mgcp.cfg
index 678f54637..c46b46d4c 100644
--- a/openbsc/doc/examples/osmo-bsc_mgcp/mgcp.cfg
+++ b/openbsc/doc/examples/osmo-bsc_mgcp/mgcp.cfg
@@ -9,7 +9,7 @@ line vty
mgcp
! local ip 213.167.134.14
bts ip 172.16.252.43
- bind ip 213.167.134.141
+ bind ip 127.0.0.1
bind port 2427
bind early 1
rtp base 4000
diff --git a/openbsc/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg b/openbsc/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg
new file mode 100644
index 000000000..e254fba7d
--- /dev/null
+++ b/openbsc/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg
@@ -0,0 +1,3 @@
+nat
+mgcp
+ call agent ip 127.0.0.1
diff --git a/openbsc/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg b/openbsc/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg
new file mode 100644
index 000000000..0c3917a3e
--- /dev/null
+++ b/openbsc/doc/examples/osmo-gbproxy/osmo-gbproxy.cfg
@@ -0,0 +1,25 @@
+!
+! Osmocom Gb Proxy (0.9.0.404-6463) configuration saved from vty
+!!
+!
+line vty
+ no login
+!
+gbproxy
+ sgsn nsei 101
+ns
+ nse 101 nsvci 101
+ nse 101 remote-role sgsn
+ nse 101 encapsulation udp
+ nse 101 remote-ip 192.168.100.239
+ nse 101 remote-port 7777
+ timer tns-block 3
+ timer tns-block-retries 3
+ timer tns-reset 3
+ timer tns-reset-retries 3
+ timer tns-test 30
+ timer tns-alive 3
+ timer tns-alive-retries 10
+ encapsulation framerelay-gre enabled 0
+ encapsulation framerelay-gre local-ip 0.0.0.0
+ encapsulation udp local-port 23000