aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-04-12 13:35:23 +0000
committerHarald Welte <laforge@osmocom.org>2021-04-12 15:37:13 +0200
commit66a36a078db6ebbada28258eb1b6ba4b8cac6e3e (patch)
treee73c832eaa1df7ab2f7bbf7a3d0578b789f898f5
parent0e6108a007deda2e4d6911c60c66452e5477ddec (diff)
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
-rw-r--r--ttcn3-gbproxy-test/GBProxy_Tests.cfg6
-rw-r--r--ttcn3-gbproxy-test/osmo-gbproxy.cfg11
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