From 2c12b24a47dbabd6269b6dd4ffde066fcca6c2ed Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 31 Jul 2018 00:30:11 +0200 Subject: NS_Emulation: support multiple instances at the same time The NS_Emulation has configuration values hardcoded or bound to module parameters which prevents multiple instances. Replace the module parameter based configuration with configuration given when starting the NS_Emaulation. Change-Id: I9128f9ad5c372779c38799269393137ba52576cd --- sgsn/SGSN_Tests.default | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sgsn/SGSN_Tests.default') diff --git a/sgsn/SGSN_Tests.default b/sgsn/SGSN_Tests.default index 3957e82d..82682e2f 100644 --- a/sgsn/SGSN_Tests.default +++ b/sgsn/SGSN_Tests.default @@ -20,12 +20,12 @@ FileMask := LOG_ALL | TTCN_MATCHING; [MODULE_PARAMETERS] -#NS_Emulation.mp_local_ip := "192.168.100.239" -NS_Emulation.mp_local_udp_port := 21000 -#NS_Emulation.mp_remote_ip := "192.168.100.196" -NS_Emulation.mp_remote_udp_port := 23000 -NS_Emulation.mp_nsvci := 97 -NS_Emulation.mp_nsei := 96 +SGSN_Tests.mp_nsconfig := { + local_udp_port := 21000, + remote_udp_port := 23000, + nsvci := 97, + nsei := 96 +} Osmocom_VTY_Functions.mp_prompt_prefix := "OsmoSGSN"; [MAIN_CONTROLLER] -- cgit v1.2.3