Hoernchen has uploaded this change for review.

View Change

new bsc-nat: msc tests

Change-Id: Ifdb9956a8bdde8aa3f9f62bfcfc035baab01c934
---
A osmo-bsc-nat-latest/Dockerfile
A osmo-bsc-nat-latest/Makefile
A osmo-bsc-nat-latest/osmo-bsc-nat.cfg
A osmo-bsc-nat-master/Dockerfile
A osmo-bsc-nat-master/Makefile
A osmo-bsc-nat-master/osmo-bsc-nat.cfg
A ttcn3-bsc-nat-msc-test/Dockerfile
A ttcn3-bsc-nat-msc-test/MSC_Tests.cfg
A ttcn3-bsc-nat-msc-test/Makefile
A ttcn3-bsc-nat-msc-test/jenkins.sh
A ttcn3-bsc-nat-msc-test/osmo-bsc-nat.cfg
A ttcn3-bsc-nat-msc-test/osmo-mgw.cfg
A ttcn3-bsc-nat-msc-test/osmo-msc.cfg
A ttcn3-bsc-nat-msc-test/osmo-stp-nat.cfg
A ttcn3-bsc-nat-msc-test/osmo-stp.cfg
15 files changed, 685 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/25/27625/1
diff --git a/osmo-bsc-nat-latest/Dockerfile b/osmo-bsc-nat-latest/Dockerfile
new file mode 100644
index 0000000..b00801a
--- /dev/null
+++ b/osmo-bsc-nat-latest/Dockerfile
@@ -0,0 +1,30 @@
+ARG USER
+ARG DISTRO
+ARG OSMOCOM_REPO_VERSION="latest"
+FROM $USER/$DISTRO-obs-$OSMOCOM_REPO_VERSION
+# Arguments used after FROM must be specified again
+ARG DISTRO
+
+RUN case "$DISTRO" in \
+ debian*) \
+ apt-get update && \
+ apt-get install -y --no-install-recommends \
+ osmo-bsc-nat && \
+ apt-get clean \
+ ;; \
+ centos*) \
+ dnf install -y \
+ libdbi-dbd-sqlite \
+ osmo-bsc-nat \
+ ;; \
+ esac
+
+WORKDIR /tmp
+
+VOLUME /data
+COPY osmo-bsc-nat.cfg /data/osmo-bsc-nat.cfg
+
+WORKDIR /data
+CMD ["/bin/sh", "-c", "/usr/bin/osmo-bsc-nat -c /data/osmo-bsc-nat.cfg >/data/osmo-bsc-nat.log 2>&1"]
+
+#EXPOSE
diff --git a/osmo-bsc-nat-latest/Makefile b/osmo-bsc-nat-latest/Makefile
new file mode 100644
index 0000000..8d0e10b
--- /dev/null
+++ b/osmo-bsc-nat-latest/Makefile
@@ -0,0 +1 @@
+include ../make/Makefile
diff --git a/osmo-bsc-nat-latest/osmo-bsc-nat.cfg b/osmo-bsc-nat-latest/osmo-bsc-nat.cfg
new file mode 100644
index 0000000..a8e47a1
--- /dev/null
+++ b/osmo-bsc-nat-latest/osmo-bsc-nat.cfg
@@ -0,0 +1,65 @@
+# DO NET EDIT THIS FILE DIRECTLY!
+# This is generated from templates, and manual edits will be overwritten.
+
+cs7 instance 0
+ point-code 0.23.3
+ asp asp-clnt-OsmoBSCNAT-CN 2905 0 m3ua
+ remote-ip 172.18.20.201
+ local-ip 172.18.20.112
+ sccp-address msc
+ routing-indicator PC
+ point-code 0.23.1
+ subsystem-number 254
+
+cs7 instance 1
+ point-code 0.23.1
+ asp asp-clnt-OsmoBSCNAT-RAN 2905 0 m3ua
+ remote-ip 172.18.20.200
+ local-ip 172.18.20.111
+ sccp-address bsc
+ routing-indicator PC
+ point-code 0.23.3
+ subsystem-number 254
+
+bsc-nat
+ cs7-instance-cn 0
+ cs7-instance-ran 1
+
+!mgw 0
+! mgw remote-ip 172.18.2.114
+! mgw remote-port 2427
+! mgw local-ip 172.18.2.113
+! mgw local-port 2427
+! mgw endpoint-domain bscnat
+
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all debug
+ logging level linp notice
+
+!log file current_log/osmo-bsc-nat.log
+! logging filter all 1
+! logging color 1
+! logging print level 1
+! logging print category 1
+! logging print category-hex 0
+! logging print file basename last
+! logging print extended-timestamp 1
+! logging level set-all debug
+
+log gsmtap 172.18.20.103
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all debug
+ logging level linp notice
diff --git a/osmo-bsc-nat-master/Dockerfile b/osmo-bsc-nat-master/Dockerfile
new file mode 100644
index 0000000..7a6b9b4
--- /dev/null
+++ b/osmo-bsc-nat-master/Dockerfile
@@ -0,0 +1,65 @@
+ARG USER
+ARG DISTRO
+FROM $USER/$DISTRO-build
+# Arguments used after FROM must be specified again
+ARG DISTRO
+
+RUN case "$DISTRO" in \
+ debian*) \
+ apt-get update && \
+ apt-get install -y --no-install-recommends \
+ libasn1c-dev \
+ libdbd-sqlite3 \
+ libdbi-dev \
+ libosmo-abis-dev \
+ libosmo-mgcp-client-dev \
+ libosmo-gsup-client-dev \
+ libosmo-netif-dev \
+ libosmo-ranap-dev \
+ libosmo-sccp-dev \
+ libosmo-sigtran-dev \
+ libosmocore-dev \
+ libsmpp34-dev && \
+ apt-get clean \
+ ;; \
+ centos*) \
+ dnf install -y \
+ "pkgconfig(libasn1c)" \
+ "pkgconfig(libosmo-gsup-client)" \
+ "pkgconfig(libosmo-mgcp-client)" \
+ "pkgconfig(libosmo-netif)" \
+ "pkgconfig(libosmo-ranap)" \
+ "pkgconfig(libosmo-sccp)" \
+ "pkgconfig(libosmo-sigtran)" \
+ "pkgconfig(libosmoabis)" \
+ "pkgconfig(libosmocore)" \
+ "pkgconfig(libosmoctrl)" \
+ "pkgconfig(libosmogsm)" \
+ "pkgconfig(libosmovty)" \
+ "pkgconfig(libsmpp34)" \
+ ;; \
+ esac
+
+WORKDIR /tmp
+
+ARG OSMO_BSC_NAT_BRANCH="master"
+
+RUN git clone git://git.osmocom.org/osmo-bsc-nat.git
+ADD http://git.osmocom.org/osmo-msc/patch?h=$OSMO_BSC_NAT_BRANCH /tmp/commit-osmo-bsc-nat
+
+RUN cd osmo-bsc-nat && \
+ git fetch && git checkout $OSMO_BSC_NAT_BRANCH && \
+ (git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_BSC_NAT_BRANCH || exit 1); \
+ git rev-parse --abbrev-ref HEAD && git rev-parse HEAD && \
+ autoreconf -fi && \
+ ./configure && \
+ make "-j$(nproc)" install
+
+VOLUME /data
+
+COPY osmo-bsc-nat.cfg /data/osmo-bsc-nat.cfg
+
+WORKDIR /data
+CMD ["/bin/sh", "-c", "/usr/local/bin/osmo-bsc-nat -c /data/osmo-bsc-nat.cfg >/data/osmo-bsc-nat.log 2>&1"]
+
+#EXPOSE
diff --git a/osmo-bsc-nat-master/Makefile b/osmo-bsc-nat-master/Makefile
new file mode 100644
index 0000000..77d4f8b
--- /dev/null
+++ b/osmo-bsc-nat-master/Makefile
@@ -0,0 +1,3 @@
+RUN_ARGS?=--rm --network sigtran --ip 172.18.0.10 -v msc-vol:/data
+
+include ../make/Makefile
diff --git a/osmo-bsc-nat-master/osmo-bsc-nat.cfg b/osmo-bsc-nat-master/osmo-bsc-nat.cfg
new file mode 100644
index 0000000..a8e47a1
--- /dev/null
+++ b/osmo-bsc-nat-master/osmo-bsc-nat.cfg
@@ -0,0 +1,65 @@
+# DO NET EDIT THIS FILE DIRECTLY!
+# This is generated from templates, and manual edits will be overwritten.
+
+cs7 instance 0
+ point-code 0.23.3
+ asp asp-clnt-OsmoBSCNAT-CN 2905 0 m3ua
+ remote-ip 172.18.20.201
+ local-ip 172.18.20.112
+ sccp-address msc
+ routing-indicator PC
+ point-code 0.23.1
+ subsystem-number 254
+
+cs7 instance 1
+ point-code 0.23.1
+ asp asp-clnt-OsmoBSCNAT-RAN 2905 0 m3ua
+ remote-ip 172.18.20.200
+ local-ip 172.18.20.111
+ sccp-address bsc
+ routing-indicator PC
+ point-code 0.23.3
+ subsystem-number 254
+
+bsc-nat
+ cs7-instance-cn 0
+ cs7-instance-ran 1
+
+!mgw 0
+! mgw remote-ip 172.18.2.114
+! mgw remote-port 2427
+! mgw local-ip 172.18.2.113
+! mgw local-port 2427
+! mgw endpoint-domain bscnat
+
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all debug
+ logging level linp notice
+
+!log file current_log/osmo-bsc-nat.log
+! logging filter all 1
+! logging color 1
+! logging print level 1
+! logging print category 1
+! logging print category-hex 0
+! logging print file basename last
+! logging print extended-timestamp 1
+! logging level set-all debug
+
+log gsmtap 172.18.20.103
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all debug
+ logging level linp notice
diff --git a/ttcn3-bsc-nat-msc-test/Dockerfile b/ttcn3-bsc-nat-msc-test/Dockerfile
new file mode 100644
index 0000000..05610a4
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/Dockerfile
@@ -0,0 +1,13 @@
+ARG REGISTRY
+ARG USER
+FROM $REGISTRY/$USER/debian-stretch-titan
+ARG OSMO_TTCN3_BRANCH="master"
+
+ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
+RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" msc
+
+VOLUME /data
+
+COPY MSC_Tests.cfg /data/MSC_Tests.cfg
+
+CMD ttcn3-docker-run msc MSC_Tests
diff --git a/ttcn3-bsc-nat-msc-test/MSC_Tests.cfg b/ttcn3-bsc-nat-msc-test/MSC_Tests.cfg
new file mode 100644
index 0000000..3d8d988
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/MSC_Tests.cfg
@@ -0,0 +1,63 @@
+[ORDERED_INCLUDE]
+"/osmo-ttcn3-hacks/Common.cfg"
+"/osmo-ttcn3-hacks/msc/MSC_Tests.default"
+
+[LOGGING]
+SourceInfoFormat:= Single
+LogEntityName:= Yes
+LogEventTypes:= Yes
+*.FileMask :=WARNING|VERDICTOP|TIMEROP|STATISTICS|PORTEVENT|EXECUTOR|ERROR|DEFAULTOP|ACTION|PARALLEL|FUNCTION|USER|TESTCASE|DEBUG;
+
+[TESTPORT_PARAMETERS]
+*.MSCVTY.CTRL_HOSTNAME := "172.18.20.10"
+
+[MODULE_PARAMETERS]
+# connection to STP
+MSC_Tests.mp_bssap_cfg := {
+ {
+ transport := BSSAP_TRANSPORT_AoIP,
+ sccp_service_type := "mtp3_itu",
+ sctp_addr := { 23906, "172.18.20.103", 2905, "172.18.20.200" },
+ own_pc := 193, /* 0.24.1 BSC emulation [0] */
+ own_ssn := 254,
+ peer_pc := 185, /* 0.23.1 osmo-msc */
+ peer_ssn := 254,
+ sio := '83'O,
+ rctx := 0
+ },
+ {
+ transport := BSSAP_TRANSPORT_AoIP,
+ sccp_service_type := "mtp3_itu",
+ sctp_addr := { 23907, "172.18.20.103", 2905, "172.18.20.200" },
+ own_pc := 194, /* 0.24.2 BSC emulation [1] */
+ own_ssn := 254,
+ peer_pc := 185, /* 0.23.1 osmo-msc */
+ peer_ssn := 254,
+ sio := '83'O,
+ rctx := 1
+ },
+ {
+ transport := RANAP_TRANSPORT_IuCS,
+ sccp_service_type := "mtp3_itu",
+ sctp_addr := { 23908, "172.18.20.103", 2905, "172.18.20.200" },
+ own_pc := 195, /* 0.24.3 BSC emulation [2] */
+ own_ssn := 142,
+ peer_pc := 185, /* 0.23.1 osmo-msc */
+ peer_ssn := 142,
+ sio := '83'O,
+ rctx := 2
+ }
+};
+
+# remote (IUT) side
+MSC_Tests.mp_msc_mncc := "/data/unix/mncc";
+MSC_Tests.mp_msc_ip := "172.18.20.10";
+# local (emulation) side)
+MSC_Tests.mp_hlr_ip := "172.18.20.103";
+MSC_Tests.mp_mgw_ip := "172.18.20.103";
+
+[MAIN_CONTROLLER]
+
+[EXECUTE]
+MSC_Tests.control
+MSC_Tests_Iu.control
diff --git a/ttcn3-bsc-nat-msc-test/Makefile b/ttcn3-bsc-nat-msc-test/Makefile
new file mode 100644
index 0000000..8d0e10b
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/Makefile
@@ -0,0 +1 @@
+include ../make/Makefile
diff --git a/ttcn3-bsc-nat-msc-test/jenkins.sh b/ttcn3-bsc-nat-msc-test/jenkins.sh
new file mode 100755
index 0000000..13de480
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/jenkins.sh
@@ -0,0 +1,92 @@
+#!/bin/sh
+
+. ../jenkins-common.sh
+IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}"
+docker_images_require \
+ "osmo-stp-$IMAGE_SUFFIX" \
+ "osmo-msc-$IMAGE_SUFFIX" \
+ "osmo-mgw-$IMAGE_SUFFIX" \
+ "osmo-bsc-nat-$IMAGE_SUFFIX" \
+ "ttcn3-msc-test"
+
+set_clean_up_trap
+set -e
+
+SUBNET=20
+network_create $SUBNET
+
+mkdir $VOL_BASE_DIR/msc-tester
+mkdir $VOL_BASE_DIR/msc-tester/unix
+cp MSC_Tests.cfg $VOL_BASE_DIR/msc-tester/
+
+mkdir $VOL_BASE_DIR/stp
+cp osmo-stp.cfg $VOL_BASE_DIR/stp/
+
+mkdir $VOL_BASE_DIR/stp2
+cp osmo-stp-nat.cfg $VOL_BASE_DIR/stp2/osmo-stp.cfg
+
+mkdir $VOL_BASE_DIR/mgw
+cp osmo-mgw.cfg $VOL_BASE_DIR/mgw/
+
+mkdir $VOL_BASE_DIR/bsc-nat
+cp osmo-bsc-nat.cfg $VOL_BASE_DIR/bsc-nat/
+
+mkdir $VOL_BASE_DIR/msc
+mkdir $VOL_BASE_DIR/msc/unix
+cp osmo-msc.cfg $VOL_BASE_DIR/msc/
+
+mkdir $VOL_BASE_DIR/unix
+
+echo Starting container with STP
+docker run --rm \
+ $(docker_network_params $SUBNET 200) \
+ --ulimit core=-1 \
+ -v $VOL_BASE_DIR/stp:/data \
+ --name ${BUILD_TAG}-stp -d \
+ $REPO_USER/osmo-stp-$IMAGE_SUFFIX
+
+echo Starting container with STP2
+docker run --rm \
+ $(docker_network_params $SUBNET 201) \
+ --ulimit core=-1 \
+ -v $VOL_BASE_DIR/stp2:/data \
+ --name ${BUILD_TAG}-stp2 -d \
+ $REPO_USER/osmo-stp-$IMAGE_SUFFIX
+
+echo Starting container with MGW
+docker run --rm \
+ $(docker_network_params $SUBNET 114) \
+ --ulimit core=-1 \
+ -v $VOL_BASE_DIR/mgw:/data \
+ --name ${BUILD_TAG}-mgw -d \
+ $REPO_USER/osmo-mgw-$IMAGE_SUFFIX
+
+echo Starting container with bsc-nat
+docker run --rm \
+ $(docker_network_params $SUBNET 111) \
+ --ulimit core=-1 \
+ -v $VOL_BASE_DIR/bsc-nat:/data \
+ --name ${BUILD_TAG}-bsc-nat -d \
+ $REPO_USER/osmo-bsc-nat-$IMAGE_SUFFIX
+
+echo Starting container with MSC
+docker run --rm \
+ $(docker_network_params $SUBNET 10) \
+ --ulimit core=-1 \
+ -v $VOL_BASE_DIR/msc:/data \
+ -v $VOL_BASE_DIR/unix:/data/unix \
+ --name ${BUILD_TAG}-msc -d \
+ $DOCKER_ARGS \
+ $REPO_USER/osmo-msc-$IMAGE_SUFFIX \
+ /bin/sh -c "osmo-msc -c /data/osmo-msc.cfg >>/data/osmo-msc.log 2>&1"
+
+echo Starting container with MSC testsuite
+docker run --rm \
+ $(docker_network_params $SUBNET 103) \
+ --ulimit core=-1 \
+ -e "TTCN3_PCAP_PATH=/data" \
+ -v $VOL_BASE_DIR/msc-tester:/data \
+ -v $VOL_BASE_DIR/unix:/data/unix \
+ --name ${BUILD_TAG}-ttcn3-bsc-nat-test \
+ $DOCKER_ARGS \
+ $REPO_USER/ttcn3-msc-test
diff --git a/ttcn3-bsc-nat-msc-test/osmo-bsc-nat.cfg b/ttcn3-bsc-nat-msc-test/osmo-bsc-nat.cfg
new file mode 100644
index 0000000..6be347f
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/osmo-bsc-nat.cfg
@@ -0,0 +1,55 @@
+# DO NET EDIT THIS FILE DIRECTLY!
+# This is generated from templates, and manual edits will be overwritten.
+
+cs7 instance 0
+ point-code 0.23.3
+ asp asp-clnt-OsmoBSCNAT-CN 2907 0 m3ua
+ remote-ip 172.18.20.201
+ local-ip 172.18.20.111
+ sccp-address msc
+ routing-indicator PC
+ point-code 0.23.1
+ subsystem-number 254
+
+cs7 instance 1
+ point-code 0.23.1
+ asp asp-clnt-OsmoBSCNAT-RAN 2905 0 m3ua
+ remote-ip 172.18.20.200
+ local-ip 172.18.20.111
+ sccp-address bsc
+ routing-indicator PC
+ point-code 0.23.3
+ subsystem-number 254
+
+bsc-nat
+ cs7-instance-cn 0
+ cs7-instance-ran 1
+
+!mgw 0
+! mgw remote-ip 172.18.2.114
+! mgw remote-port 2427
+! mgw local-ip 172.18.2.113
+! mgw local-port 2427
+! mgw endpoint-domain bscnat
+
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all debug
+ logging level linp notice
+
+log gsmtap 172.18.20.103
+ logging filter all 1
+ logging color 1
+ logging print level 1
+ logging print category 1
+ logging print category-hex 0
+ logging print file basename last
+ logging print extended-timestamp 1
+ logging level set-all debug
+ logging level linp notice
diff --git a/ttcn3-bsc-nat-msc-test/osmo-mgw.cfg b/ttcn3-bsc-nat-msc-test/osmo-mgw.cfg
new file mode 100644
index 0000000..e026dcc
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/osmo-mgw.cfg
@@ -0,0 +1,46 @@
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging level set-all notice
+ logging level lmgcp debug
+!
+stats interval 5
+!
+line vty
+ no login
+ bind 172.18.2.114
+!
+stats interval 0
+stats reporter statsd
+ prefix TTCN3
+ level subscriber
+ remote-ip 172.18.2.203
+ remote-port 8125
+ flush-period 1
+ mtu 1024
+ enable
+!
+mgcp
+ bind ip 172.18.2.114
+ bind port 2427
+ rtp port-range 4002 16000
+ rtp bind-ip 172.18.2.114
+ rtp bind-ip-v6 ::1
+ rtp ip-probing
+ rtp ip-dscp 46
+ no rtp keep-alive
+ no rtcp-omit
+ no rtp-patch
+ sdp audio-payload number 98
+ sdp audio-payload name GSM
+ sdp audio-payload send-ptime
+ sdp audio-payload send-name
+ conn-timeout 0
+ loop 0
+ number endpoints 31
+ allow-transcoding
+ osmux off
+
diff --git a/ttcn3-bsc-nat-msc-test/osmo-msc.cfg b/ttcn3-bsc-nat-msc-test/osmo-msc.cfg
new file mode 100644
index 0000000..80e6296
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/osmo-msc.cfg
@@ -0,0 +1,95 @@
+!
+! OsmoMSC (1.1.2.66-629c4-dirty) configuration saved from vty
+!!
+!
+log gsmtap 172.18.20.103
+ logging level set-all debug
+ logging filter all 1
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging level rll notice
+ logging level cc debug
+ logging level mm debug
+ logging level rr notice
+ logging level mncc debug
+ logging level pag notice
+ logging level msc notice
+ logging level mgcp debug
+ logging level ho notice
+ logging level db notice
+ logging level ref notice
+ logging level ctrl notice
+ logging level smpp debug
+ logging level ranap debug
+ logging level vlr debug
+ logging level iucs debug
+ 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 info
+ logging level lgtp notice
+ logging level lstats notice
+ logging level lgsup notice
+ logging level loap notice
+ logging level lss7 debug
+ logging level lsccp notice
+ logging level lsua notice
+ logging level lm3ua debug
+ logging level lmgcp debug
+!
+stats interval 5
+!
+line vty
+ no login
+ bind 0.0.0.0
+ctrl
+ bind 0.0.0.0
+!
+cs7 instance 0
+ point-code 0.23.1
+ asp asp-clnt-OsmoMSC-A 2907 0 m3ua
+ local-ip 172.18.20.10
+! local-ip fd02:db8:20::10
+ remote-ip 172.18.20.201
+! remote-ip fd02:db8:20::201
+ as as-clnt-OsmoMSC-A m3ua
+ asp asp-clnt-OsmoMSC-A
+ routing-key 3 0.23.1
+network
+ network country code 262
+ mobile network code 42
+ short name OsmoMSC
+ long name OsmoMSC
+ encryption a5 0
+ authentication optional
+ rrlp mode none
+ mm info 0
+ periodic location update 30
+msc
+ assign-tmsi
+ cs7-instance-a 0
+ cs7-instance-iu 0
+ mgw remote-ip 172.18.20.103
+ emergency-call route-to-msisdn 112
+ mncc external /data/unix/mncc
+mncc-int
+ default-codec tch-f fr
+ default-codec tch-h hr
+smpp
+ local-tcp-port 2775
+ policy closed
+ no smpp-first
+ esme msc_tester
+ password osmocom1
+hlr
+ remote-ip 172.18.20.103
+ remote-port 4222
diff --git a/ttcn3-bsc-nat-msc-test/osmo-stp-nat.cfg b/ttcn3-bsc-nat-msc-test/osmo-stp-nat.cfg
new file mode 100644
index 0000000..51e15c5
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/osmo-stp-nat.cfg
@@ -0,0 +1,24 @@
+!
+! OsmoSTP (0.8.1) configuration saved from vty
+!!
+!
+log gsmtap 172.18.20.103
+ logging level set-all debug
+ logging filter all 1
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging level set-all debug
+!
+line vty
+ no login
+!
+cs7 instance 0
+ xua rkm routing-key-allocation dynamic-permitted
+ listen m3ua 2907
+ accept-asp-connections dynamic-permitted
+ local-ip 172.18.20.201
diff --git a/ttcn3-bsc-nat-msc-test/osmo-stp.cfg b/ttcn3-bsc-nat-msc-test/osmo-stp.cfg
new file mode 100644
index 0000000..60562d1
--- /dev/null
+++ b/ttcn3-bsc-nat-msc-test/osmo-stp.cfg
@@ -0,0 +1,67 @@
+!
+! OsmoSTP (0.8.1) configuration saved from vty
+!!
+!
+log gsmtap 172.18.20.103
+ logging level set-all debug
+ logging filter all 1
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging level set-all debug
+!
+line vty
+ no login
+!
+cs7 instance 0
+ xua rkm routing-key-allocation dynamic-permitted
+ asp virt-bsc0-0 23906 2905 m3ua
+ local-ip 172.18.20.200
+ local-ip fd02:db8:20::200
+ remote-ip 172.18.20.103
+ remote-ip fd02:db8:20::103
+ as virt-bsc0 m3ua
+ asp virt-bsc0-0
+ routing-key 0 0.24.1
+!
+ asp virt-bsc1-0 23907 2905 m3ua
+ local-ip 172.18.20.200
+ local-ip fd02:db8:20::200
+ remote-ip 172.18.20.103
+ remote-ip fd02:db8:20::103
+ as virt-bsc1 m3ua
+ asp virt-bsc1-0
+ routing-key 1 0.24.2
+!
+ asp virt-rnc0-0 23908 2905 m3ua
+ local-ip 172.18.20.200
+ local-ip fd02:db8:20::200
+ remote-ip 172.18.20.103
+ remote-ip fd02:db8:20::103
+ as virt-rnc0 m3ua
+ asp virt-rnc0-0
+ routing-key 2 0.24.3
+!
+ asp virt-msc0-0 0 2905 m3ua
+ local-ip 172.18.20.200
+ remote-ip 172.18.20.111
+ as virt-msc0 m3ua
+ asp virt-msc0-0
+! routing-key 3 0.23.1
+
+ route-table system
+ update route 0.24.1 7.255.7 linkset virt-bsc0
+ update route 0.24.2 7.255.7 linkset virt-bsc1
+ update route 0.24.3 7.255.7 linkset virt-rnc0
+ update route 0.23.1 7.255.7 linkset virt-msc0
+ listen m3ua 2905
+ accept-asp-connections dynamic-permitted
+ local-ip 172.18.20.200
+ local-ip fd02:db8:20::200
+ listen ipa 5000
+ accept-asp-connections dynamic-permitted
+ local-ip 172.18.20.200

To view, visit change 27625. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ifdb9956a8bdde8aa3f9f62bfcfc035baab01c934
Gerrit-Change-Number: 27625
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild@sysmocom.de>
Gerrit-MessageType: newchange