Add new parameter to plug osmo-bsc_nat in the middle
This commit is contained in:
parent
7ed2b08006
commit
fd338332bf
|
@ -7,10 +7,12 @@ FileMask := LOG_ALL | TTCN_MATCHING;
|
|||
#*.*.udpReuseAddress := "yes";
|
||||
|
||||
[MODULE_PARAMETERS]
|
||||
#mp_local_port := 2727;
|
||||
#mp_local_ip:= "127.0.0.1";
|
||||
#mp_remote_port := 2427;
|
||||
#mp_remote_ip:= "127.0.0.1";
|
||||
#mp_bsc_port := 49999;
|
||||
#mp_bsc_ip := "127.0.0.1";
|
||||
#mp_msc_port := 5100;
|
||||
#mp_msc_ip := "127.0.0.1";
|
||||
#mp_nat_port := 5000;
|
||||
#mp_nat_ip := "127.0.0.1";
|
||||
|
||||
[MAIN_CONTROLLER]
|
||||
|
||||
|
|
|
@ -46,6 +46,9 @@ modulepar {
|
|||
PortNumber mp_msc_port := 5000;
|
||||
charstring mp_msc_ip := "127.0.0.1";
|
||||
|
||||
PortNumber mp_nat_port := 5000;
|
||||
charstring mp_nat_ip := "127.0.0.1";
|
||||
|
||||
charstring mp_sccp_service_type := "mtp3_itu";
|
||||
|
||||
integer mp_bsc_pc := 196;
|
||||
|
@ -110,7 +113,7 @@ function f_init() runs on test_CT {
|
|||
for (i := 0; i < NUM_BSC; i := i+1) {
|
||||
f_init_BscState(bsc[i], mp_bsc_pc +i, mp_msc_pc, mp_bsc_ssn, mp_msc_ssn);
|
||||
bsc[i].BSC := BSC_CT.create;
|
||||
bsc[i].BSC.start(BSC_MS_Simulation.main(mp_msc_ip, mp_msc_port, mp_bsc_ip, mp_bsc_port+i,
|
||||
bsc[i].BSC.start(BSC_MS_Simulation.main(mp_nat_ip, mp_nat_port, mp_bsc_ip, mp_bsc_port+i,
|
||||
bsc[i].sccp_pars, bsc[i].sccp_addr_own,
|
||||
bsc[i].sccp_addr_peer));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue