PCU+SGSN: Adjust to new "provider" structure of NSConfiguration

In Change-Id I6904520d8c2f546327029777d68b1907611a8cf5 of
osmo-ttcn3-hacks, we change the structure of NSConfiguration.  Let's
adjust the configs accordingly.

Change-Id: I8c5e59e79b69c13632d69f5011be9279b827a4fa
Depends: osmo-ttcn3-hacks I6904520d8c2f546327029777d68b1907611a8cf5
This commit is contained in:
Harald Welte 2020-09-18 11:35:50 +02:00 committed by laforge
parent 01caeb1226
commit d5af310648
3 changed files with 39 additions and 19 deletions

View File

@ -15,11 +15,15 @@
PCU_Tests.mp_pcu_sock_path := "/data/unix/pcu_bts"
PCU_Tests.mp_pcu_statsd_ip := "172.18.13.10"
SGSN_Components.mp_nsconfig := {
address_family := AF_INET,
local_ip := "172.18.13.10",
local_udp_port := 23000,
remote_ip := "172.18.13.101",
remote_udp_port := 23000,
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.13.10",
local_udp_port := 23000,
remote_ip := "172.18.13.101",
remote_udp_port := 23000
}
},
nsvci := 1234,
nsei := 1234
}

View File

@ -9,11 +9,15 @@
[MODULE_PARAMETERS]
PCU_Tests.mp_pcu_sock_path := "/data/unix/pcu_bts"
SGSN_Components.mp_nsconfig := {
address_family := AF_INET,
local_ip := "172.18.14.10",
local_udp_port := 23000,
remote_ip := "172.18.14.101",
remote_udp_port := 23000,
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.14.10",
local_udp_port := 23000,
remote_ip := "172.18.14.101",
remote_udp_port := 23000
}
},
nsvci := 1234,
nsei := 1234
}

View File

@ -14,19 +14,31 @@
[MODULE_PARAMETERS]
SGSN_Tests.mp_nsconfig := {
{
address_family := AF_INET,
local_ip := "172.18.8.103",
remote_ip := "172.18.8.10"
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.8.103",
remote_ip := "172.18.8.10"
}
}
},
{
address_family := AF_INET,
local_ip := "172.18.8.103",
remote_ip := "172.18.8.10"
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.8.103",
remote_ip := "172.18.8.10"
}
}
},
{
address_family := AF_INET,
local_ip := "172.18.8.103",
remote_ip := "172.18.8.10"
provider := {
ip := {
address_family := AF_INET,
local_ip := "172.18.8.103",
remote_ip := "172.18.8.10"
}
}
}
}
SGSN_Tests.mp_ranap_cfg := {