From 66a36a078db6ebbada28258eb1b6ba4b8cac6e3e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 12 Apr 2021 13:35:23 +0000 Subject: gbproxy: Switch to IP-SNS on the BSS side When testing gbproxy with an IP BSS, we want to use IP-SNS as that is the more relaistic use case in practice. This un-breaks the dockerized tests since I90bd101096979b170c38fa2a80abb80d296c4d2e was merged in osmo-ttcn3-hacks.git Change-Id: Id1324e019b7f148f8d33977c0089e996089e1e59 --- ttcn3-gbproxy-test/GBProxy_Tests.cfg | 6 ++++++ ttcn3-gbproxy-test/osmo-gbproxy.cfg | 11 +++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ttcn3-gbproxy-test/GBProxy_Tests.cfg b/ttcn3-gbproxy-test/GBProxy_Tests.cfg index e9de732..e1d6573 100644 --- a/ttcn3-gbproxy-test/GBProxy_Tests.cfg +++ b/ttcn3-gbproxy-test/GBProxy_Tests.cfg @@ -56,33 +56,39 @@ GBProxy_Tests.mp_nsconfig_sgsn := { } GBProxy_Tests.mp_nsconfig_pcu := { { + handle_sns := true, nsvc := { { provider := { ip := { local_ip := "172.18.24.103", + remote_udp_port := 24000, remote_ip := "172.18.24.10" } } } } }, { + handle_sns := true, nsvc := { { provider := { ip := { local_ip := "172.18.24.103", + remote_udp_port := 24000, remote_ip := "172.18.24.10" } } } } }, { + handle_sns := true, nsvc := { { provider := { ip := { local_ip := "172.18.24.103", + remote_udp_port := 24000, remote_ip := "172.18.24.10" } } diff --git a/ttcn3-gbproxy-test/osmo-gbproxy.cfg b/ttcn3-gbproxy-test/osmo-gbproxy.cfg index f6d358e..2eb9824 100644 --- a/ttcn3-gbproxy-test/osmo-gbproxy.cfg +++ b/ttcn3-gbproxy-test/osmo-gbproxy.cfg @@ -31,15 +31,18 @@ sgsn nsei 102 name second nri add 4 ns - bind udp local + bind udp sgsn-side listen 172.18.24.10 23000 - accept-ipaccess nse 101 - ip-sns-bind local + ip-sns-bind sgsn-side ip-sns-remote 172.18.24.103 7777 nse 102 - ip-sns-bind local + ip-sns-bind sgsn-side ip-sns-remote 172.18.24.103 8888 + bind udp bss-side + listen 172.18.24.10 24000 + accept-dynamic-ip-sns + ip-sns-default bind bss-side timer tns-block 3 timer tns-block-retries 3 timer tns-reset 3 -- cgit v1.2.3