osmo-gbproxy: fix configuration

also, only change those values from their default values that are
neccessary to change; fall-back on the defaults whenever possible.

Change-Id: I5fba21ddf1854ed2b4f829785ab016dfa284456e
This commit is contained in:
Harald Welte 2021-01-21 19:51:11 +00:00 committed by Harald Welte
parent 98365d159f
commit 22b58d7ecc
4 changed files with 15 additions and 56 deletions

View File

@ -20,23 +20,15 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.25.103",
local_udp_port := 23000,
remote_ip := "172.18.25.10",
data_weight := 1,
signalling_weight := 0
remote_ip := "172.18.25.10"
}
}
}, {
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.25.103",
local_udp_port := 23000,
remote_ip := "172.18.25.10",
data_weight := 0,
signalling_weight := 1
remote_ip := "172.18.25.10"
}
}
}
@ -47,23 +39,15 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.25.103",
local_udp_port := 24000,
remote_ip := "172.18.25.10",
data_weight := 1,
signalling_weight := 0
remote_ip := "172.18.25.10"
}
}
}, {
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.25.103",
local_udp_port := 24000,
remote_ip := "172.18.25.10",
data_weight := 0,
signalling_weight := 1
remote_ip := "172.18.25.10"
}
}
}

View File

@ -31,9 +31,9 @@ ns
bind udp local
listen 172.18.25.10 23000
nse 101
ip-sns 172.18.25.103 23000
ip-sns 172.18.25.103 7777
nse 102
ip-sns 172.18.25.103 24000
ip-sns 172.18.25.103 8888
bind fr hdlcnet1
fr hdlcnet1 frnet
bind fr hdlcnet2

View File

@ -19,23 +19,15 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
local_udp_port := 23000,
remote_ip := "172.18.24.10",
data_weight := 1,
signalling_weight := 0
remote_ip := "172.18.24.10"
}
}
}, {
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
local_udp_port := 23000,
remote_ip := "172.18.24.10",
data_weight := 0,
signalling_weight := 1
remote_ip := "172.18.24.10"
}
}
}
@ -46,23 +38,15 @@ GBProxy_Tests.mp_nsconfig_sgsn := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
local_udp_port := 24000,
remote_ip := "172.18.24.10",
data_weight := 1,
signalling_weight := 0
remote_ip := "172.18.24.10"
}
}
}, {
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
local_udp_port := 24000,
remote_ip := "172.18.24.10",
data_weight := 0,
signalling_weight := 1
remote_ip := "172.18.24.10"
}
}
}
@ -75,11 +59,8 @@ GBProxy_Tests.mp_nsconfig_pcu := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
remote_ip := "172.18.24.10",
data_weight := 1,
signalling_weight := 1
remote_ip := "172.18.24.10"
}
}
}
@ -89,11 +70,8 @@ GBProxy_Tests.mp_nsconfig_pcu := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
remote_ip := "172.18.24.10",
data_weight := 1,
signalling_weight := 1
remote_ip := "172.18.24.10"
}
}
}
@ -103,11 +81,8 @@ GBProxy_Tests.mp_nsconfig_pcu := {
{
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.24.103",
remote_ip := "172.18.24.10",
data_weight := 1,
signalling_weight := 1
remote_ip := "172.18.24.10"
}
}
}

View File

@ -32,9 +32,9 @@ ns
listen 172.18.24.10 23000
accept-ipaccess
nse 101
ip-sns 172.18.24.103 23000
ip-sns 172.18.24.103 7777
nse 102
ip-sns 172.18.24.103 24000
ip-sns 172.18.24.103 8888
timer tns-block 3
timer tns-block-retries 3
timer tns-reset 3