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
This commit is contained in:
Harald Welte 2021-04-12 13:35:23 +00:00
parent 0e6108a007
commit 66a36a078d
2 changed files with 13 additions and 4 deletions

View File

@ -56,33 +56,39 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
} }
GBProxy_Tests.mp_nsconfig_pcu := { GBProxy_Tests.mp_nsconfig_pcu := {
{ {
handle_sns := true,
nsvc := { nsvc := {
{ {
provider := { provider := {
ip := { ip := {
local_ip := "172.18.24.103", local_ip := "172.18.24.103",
remote_udp_port := 24000,
remote_ip := "172.18.24.10" remote_ip := "172.18.24.10"
} }
} }
} }
} }
}, { }, {
handle_sns := true,
nsvc := { nsvc := {
{ {
provider := { provider := {
ip := { ip := {
local_ip := "172.18.24.103", local_ip := "172.18.24.103",
remote_udp_port := 24000,
remote_ip := "172.18.24.10" remote_ip := "172.18.24.10"
} }
} }
} }
} }
}, { }, {
handle_sns := true,
nsvc := { nsvc := {
{ {
provider := { provider := {
ip := { ip := {
local_ip := "172.18.24.103", local_ip := "172.18.24.103",
remote_udp_port := 24000,
remote_ip := "172.18.24.10" remote_ip := "172.18.24.10"
} }
} }

View File

@ -31,15 +31,18 @@ sgsn nsei 102
name second name second
nri add 4 nri add 4
ns ns
bind udp local bind udp sgsn-side
listen 172.18.24.10 23000 listen 172.18.24.10 23000
accept-ipaccess
nse 101 nse 101
ip-sns-bind local ip-sns-bind sgsn-side
ip-sns-remote 172.18.24.103 7777 ip-sns-remote 172.18.24.103 7777
nse 102 nse 102
ip-sns-bind local ip-sns-bind sgsn-side
ip-sns-remote 172.18.24.103 8888 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 3
timer tns-block-retries 3 timer tns-block-retries 3
timer tns-reset 3 timer tns-reset 3