From c2ed5bb201f6c4605b49b81d1a52ea5b96dbd778 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 9 Jul 2019 15:51:17 +0200 Subject: 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 --- ttcn3-bsc-test/osmo-bsc.cfg | 3 +++ ttcn3-bsc-test/osmo-stp.cfg | 3 +++ ttcn3-bsc-test/sccplite/osmo-bsc.cfg | 3 +++ ttcn3-bscnat-test/osmo-bsc-nat.cfg | 3 +++ ttcn3-bts-test/oml/osmo-bts.cfg | 3 +++ ttcn3-bts-test/osmo-bsc.cfg | 3 +++ ttcn3-bts-test/osmo-bts.cfg | 3 +++ ttcn3-bts-test/virtphy/osmo-bts.cfg | 3 +++ ttcn3-ggsn-test/osmo-ggsn.cfg | 3 +++ ttcn3-hlr-test/osmo-hlr.cfg | 3 +++ ttcn3-mgw-test/osmo-mgw.cfg | 3 +++ ttcn3-msc-test/osmo-msc.cfg | 3 +++ ttcn3-msc-test/osmo-stp.cfg | 3 +++ ttcn3-pcu-test/osmo-pcu.cfg | 3 +++ ttcn3-pcu-test/sns/osmo-pcu.cfg | 3 +++ ttcn3-sgsn-test/osmo-sgsn.cfg | 3 +++ ttcn3-sip-test/osmo-sip-connector.cfg | 3 +++ 17 files changed, 51 insertions(+) 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 -- cgit v1.2.3