Change in osmo-ggsn[master]: doc/examples/osmo-ggsn-kernel-gtp.cfg: new file

osmith gerrit-no-reply at lists.osmocom.org
Tue Mar 2 08:05:30 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/23158 )

Change subject: doc/examples/osmo-ggsn-kernel-gtp.cfg: new file
......................................................................

doc/examples/osmo-ggsn-kernel-gtp.cfg: new file

Add a copy of osmo-ggsn.cfg, with gtpu-mode set to kernel-gtp and apn
inet6 and inet46 removed (as the kernel module only supports ipv4).

Related: OS#3209
Change-Id: I6fbe8a8e55bad41532e9aed3cf71ebebffdcee52
---
M contrib/osmo-ggsn.spec.in
M debian/osmo-ggsn.examples
M doc/examples/Makefile.am
A doc/examples/osmo-ggsn-kernel-gtp.cfg
4 files changed, 54 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/contrib/osmo-ggsn.spec.in b/contrib/osmo-ggsn.spec.in
index 0a568ef..6d55af8 100644
--- a/contrib/osmo-ggsn.spec.in
+++ b/contrib/osmo-ggsn.spec.in
@@ -108,6 +108,7 @@
 %{_mandir}/man8/sgsnemu.8%{?ext_man}
 %{_unitdir}/%{name}.service
 %dir %{_docdir}/%{name}/examples
+%{_docdir}/%{name}/examples/osmo-ggsn-kernel-gtp.cfg
 %{_docdir}/%{name}/examples/osmo-ggsn.cfg
 %{_docdir}/%{name}/examples/sgsnemu.conf
 %dir %{_sysconfdir}/osmocom
diff --git a/debian/osmo-ggsn.examples b/debian/osmo-ggsn.examples
index fe0136c..f9e13b1 100644
--- a/debian/osmo-ggsn.examples
+++ b/debian/osmo-ggsn.examples
@@ -1,2 +1,3 @@
 doc/examples/osmo-ggsn.cfg
+doc/examples/osmo-ggsn-kernel-gtp.cfg
 doc/examples/sgsnemu.conf
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index f80ce0d..64c513a 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,4 +1,5 @@
 OSMOCONF_FILES = \
+	osmo-ggsn-kernel-gtp.cfg \
 	osmo-ggsn.cfg \
 	sgsnemu.conf \
 	$(NULL)
diff --git a/doc/examples/osmo-ggsn-kernel-gtp.cfg b/doc/examples/osmo-ggsn-kernel-gtp.cfg
new file mode 100644
index 0000000..28eb207
--- /dev/null
+++ b/doc/examples/osmo-ggsn-kernel-gtp.cfg
@@ -0,0 +1,51 @@
+!
+! OpenGGSN (0.94.1-adac) configuration saved from vty
+!!
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 0
+ logging timestamp 0
+ logging level ip info
+ logging level tun info
+ logging level ggsn info
+ logging level sgsn notice
+ logging level icmp6 notice
+ logging level lglobal notice
+ logging level llapd notice
+ logging level linp notice
+ logging level lmux notice
+ logging level lmi notice
+ logging level lmib notice
+ logging level lsms notice
+ logging level lctrl notice
+ logging level lgtp info
+ logging level lstats notice
+ logging level lgsup notice
+ logging level loap notice
+ logging level lss7 notice
+ logging level lsccp notice
+ logging level lsua notice
+ logging level lm3ua notice
+ logging level lmgcp notice
+!
+stats interval 5
+!
+line vty
+ no login
+!
+ggsn ggsn0
+ gtp state-dir /tmp
+ gtp bind-ip 127.0.0.2
+ apn internet
+  gtpu-mode kernel-gtp
+  tun-device tun4
+  type-support v4
+  ip prefix dynamic 172.16.222.0/24
+  ip dns 0 8.8.8.8
+  ip dns 1 8.8.4.4
+  ip ifconfig 172.16.222.0/24
+  no shutdown
+ default-apn internet
+ no shutdown ggsn

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/23158
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I6fbe8a8e55bad41532e9aed3cf71ebebffdcee52
Gerrit-Change-Number: 23158
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210302/91347168/attachment.htm>


More information about the gerrit-log mailing list