Change in ...docker-playground[master]: ttcn3-*: enable GSMTAP logging

osmith gerrit-no-reply at lists.osmocom.org
Thu Jul 11 08:37:41 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/docker-playground/+/14712 )

Change subject: ttcn3-*: enable GSMTAP logging
......................................................................

ttcn3-*: enable GSMTAP logging

Configure each osmo-* program to send GSMTAP log output to the IP of the
docker container, which runs the testsuite (and therefore runs tcpdump).

Related: https://lists.osmocom.org/pipermail/openbsc/2019-June/012946.html
Change-Id: I99e74f6ffb5b7d566cec35995bf067df414968d8
---
M ttcn3-bsc-test/osmo-bsc.cfg
M ttcn3-bsc-test/osmo-stp.cfg
M ttcn3-bsc-test/sccplite/osmo-bsc.cfg
M ttcn3-bscnat-test/osmo-bsc-nat.cfg
M ttcn3-bts-test/oml/osmo-bts.cfg
M ttcn3-bts-test/osmo-bsc.cfg
M ttcn3-bts-test/osmo-bts.cfg
M ttcn3-bts-test/virtphy/osmo-bts.cfg
M ttcn3-ggsn-test/osmo-ggsn.cfg
M ttcn3-hlr-test/osmo-hlr.cfg
M ttcn3-mgw-test/osmo-mgw.cfg
M ttcn3-msc-test/osmo-msc.cfg
M ttcn3-msc-test/osmo-stp.cfg
M ttcn3-pcu-test/osmo-pcu.cfg
M ttcn3-pcu-test/sns/osmo-pcu.cfg
M ttcn3-sgsn-test/osmo-sgsn.cfg
M ttcn3-sip-test/osmo-sip-connector.cfg
17 files changed, 51 insertions(+), 0 deletions(-)

Approvals:
  osmith: Verified
  Hoernchen: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/ttcn3-bsc-test/osmo-bsc.cfg b/ttcn3-bsc-test/osmo-bsc.cfg
index 783563a..3d226e9 100644
--- a/ttcn3-bsc-test/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/osmo-bsc.cfg
@@ -3,6 +3,9 @@
 !!
 password foo
 !
+log gsmtap 172.18.2.203
+ logging level set-all debug
+!
 log file /data/osmo-bsc.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-bsc-test/osmo-stp.cfg b/ttcn3-bsc-test/osmo-stp.cfg
index 7cee48b..f58fe64 100644
--- a/ttcn3-bsc-test/osmo-stp.cfg
+++ b/ttcn3-bsc-test/osmo-stp.cfg
@@ -2,6 +2,9 @@
 ! OsmoSTP (0.8.1) configuration saved from vty
 !!
 !
+log gsmtap 172.18.2.203
+ logging level set-all debug
+!
 log file /data/osmo-stp.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
index 3f29361..f7d640c 100644
--- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
@@ -3,6 +3,9 @@
 !!
 password foo
 !
+log gsmtap 172.18.12.203
+ logging level set-all debug
+!
 log file /data/osmo-bsc.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-bscnat-test/osmo-bsc-nat.cfg b/ttcn3-bscnat-test/osmo-bsc-nat.cfg
index 80d7095..66ecdc9 100644
--- a/ttcn3-bscnat-test/osmo-bsc-nat.cfg
+++ b/ttcn3-bscnat-test/osmo-bsc-nat.cfg
@@ -2,6 +2,9 @@
 ! OsmoBSCNAT (0.12.0.266-2daa9) configuration saved from vty
 !!
 !
+log gsmtap 172.18.15.203
+ logging level set-all debug
+!
 log file /data/osmo-bsc_nat.log
   logging filter all 1
   logging color 0
diff --git a/ttcn3-bts-test/oml/osmo-bts.cfg b/ttcn3-bts-test/oml/osmo-bts.cfg
index 4ed1951..562440b 100644
--- a/ttcn3-bts-test/oml/osmo-bts.cfg
+++ b/ttcn3-bts-test/oml/osmo-bts.cfg
@@ -2,6 +2,9 @@
 ! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty
 !!
 !
+log gsmtap 172.18.9.10
+ logging level set-all debug
+!
 log file /data/osmo-bts.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-bts-test/osmo-bsc.cfg b/ttcn3-bts-test/osmo-bsc.cfg
index e98cc57..b2a45bc 100644
--- a/ttcn3-bts-test/osmo-bsc.cfg
+++ b/ttcn3-bts-test/osmo-bsc.cfg
@@ -3,6 +3,9 @@
 !!
 password foo
 !
+log gsmtap 172.18.9.10
+ logging level set-all debug
+!
 log file /data/osmo-bsc.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-bts-test/osmo-bts.cfg b/ttcn3-bts-test/osmo-bts.cfg
index 611355b..11afc0d 100644
--- a/ttcn3-bts-test/osmo-bts.cfg
+++ b/ttcn3-bts-test/osmo-bts.cfg
@@ -2,6 +2,9 @@
 ! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty
 !!
 !
+log gsmtap 172.18.9.10
+ logging level set-all debug
+!
 log file /data/osmo-bts.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-bts-test/virtphy/osmo-bts.cfg b/ttcn3-bts-test/virtphy/osmo-bts.cfg
index 5957f03..540dcc3 100644
--- a/ttcn3-bts-test/virtphy/osmo-bts.cfg
+++ b/ttcn3-bts-test/virtphy/osmo-bts.cfg
@@ -2,6 +2,9 @@
 ! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty
 !!
 !
+log gsmtap 172.18.9.10
+ logging level set-all debug
+!
 log file /data/osmo-bts.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-ggsn-test/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn.cfg
index ddbbf6c..fd1ea95 100644
--- a/ttcn3-ggsn-test/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn.cfg
@@ -2,6 +2,9 @@
 ! OpenGGSN (0.94.1-adac) configuration saved from vty
 !!
 !
+log gsmtap 172.18.3.202
+ logging level set-all debug
+!
 log file /data/osmo-ggsn.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-hlr-test/osmo-hlr.cfg b/ttcn3-hlr-test/osmo-hlr.cfg
index 47bbd23..57c1701 100644
--- a/ttcn3-hlr-test/osmo-hlr.cfg
+++ b/ttcn3-hlr-test/osmo-hlr.cfg
@@ -1,6 +1,9 @@
 !
 ! OsmoHLR example configuration
 !
+log gsmtap 172.18.10.103
+ logging level set-all debug
+!
 log stderr
  logging filter all 1
  logging color 1
diff --git a/ttcn3-mgw-test/osmo-mgw.cfg b/ttcn3-mgw-test/osmo-mgw.cfg
index 882c7d0..86645ba 100644
--- a/ttcn3-mgw-test/osmo-mgw.cfg
+++ b/ttcn3-mgw-test/osmo-mgw.cfg
@@ -2,6 +2,9 @@
 ! OsmoMGW (1.2.0.17-52e3) configuration saved from vty
 !!
 !
+log gsmtap 172.18.4.181
+ logging level set-all debug
+!
 log stderr
  logging filter all 1
  logging color 1
diff --git a/ttcn3-msc-test/osmo-msc.cfg b/ttcn3-msc-test/osmo-msc.cfg
index db2029c..98a1a01 100644
--- a/ttcn3-msc-test/osmo-msc.cfg
+++ b/ttcn3-msc-test/osmo-msc.cfg
@@ -2,6 +2,9 @@
 ! OsmoMSC (1.1.2.66-629c4-dirty) configuration saved from vty
 !!
 !
+log gsmtap 172.18.1.103
+ logging level set-all debug
+!
 log file /data/osmo-msc.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-msc-test/osmo-stp.cfg b/ttcn3-msc-test/osmo-stp.cfg
index cefaef1..1310be2 100644
--- a/ttcn3-msc-test/osmo-stp.cfg
+++ b/ttcn3-msc-test/osmo-stp.cfg
@@ -2,6 +2,9 @@
 ! OsmoSTP (0.8.1) configuration saved from vty
 !!
 !
+log gsmtap 172.18.1.103
+ logging level set-all debug
+!
 log file /data/osmo-stp.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-pcu-test/osmo-pcu.cfg b/ttcn3-pcu-test/osmo-pcu.cfg
index e8a8552..ed31269 100644
--- a/ttcn3-pcu-test/osmo-pcu.cfg
+++ b/ttcn3-pcu-test/osmo-pcu.cfg
@@ -1,3 +1,6 @@
+log gsmtap 172.18.13.10
+ logging level set-all debug
+
 log file /data/osmo-pcu.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-pcu-test/sns/osmo-pcu.cfg b/ttcn3-pcu-test/sns/osmo-pcu.cfg
index f9bce3a..b7c57d1 100644
--- a/ttcn3-pcu-test/sns/osmo-pcu.cfg
+++ b/ttcn3-pcu-test/sns/osmo-pcu.cfg
@@ -1,3 +1,6 @@
+log gsmtap 172.18.14.10
+ logging level set-all debug
+
 log file /data/osmo-pcu.log
  logging filter all 1
  logging color 0
diff --git a/ttcn3-sgsn-test/osmo-sgsn.cfg b/ttcn3-sgsn-test/osmo-sgsn.cfg
index 37f4ed8..996d251 100644
--- a/ttcn3-sgsn-test/osmo-sgsn.cfg
+++ b/ttcn3-sgsn-test/osmo-sgsn.cfg
@@ -2,6 +2,9 @@
 ! OsmoSGSN (1.2.0.46-e77e-dirty) configuration saved from vty
 !!
 !
+log gsmtap 172.18.8.103
+ logging level set-all debug
+!
 log stderr
  logging filter all 1
  logging color 1
diff --git a/ttcn3-sip-test/osmo-sip-connector.cfg b/ttcn3-sip-test/osmo-sip-connector.cfg
index 5df7468..efdee58 100644
--- a/ttcn3-sip-test/osmo-sip-connector.cfg
+++ b/ttcn3-sip-test/osmo-sip-connector.cfg
@@ -2,6 +2,9 @@
 ! OsmoMNCC (1.1.0-dirty) configuration saved from vty
 !!
 !
+log gsmtap 172.18.11.103
+ logging level set-all debug
+!
 log file /data/osmo-sip-connector.log
  logging filter all 1
  logging color 0

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/14712
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I99e74f6ffb5b7d566cec35995bf067df414968d8
Gerrit-Change-Number: 14712
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190711/bbcdba81/attachment.html>


More information about the gerrit-log mailing list