diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-05-13 02:59:38 +0200 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2020-06-14 11:01:46 +0000 |
commit | c7b52048e63ac014bdb1e78b4883cc75da55428f (patch) | |
tree | cb701c39a8280afa4c45c1f883b5a19f83cb02d7 | |
parent | 932b00cfbcdd39e9997cd383e9572be937a9d85c (diff) |
BSC_Tests.cfg: adjust cfg for multiple MSCs
This only enables ttcn to be able to connect multiple MSCs. To be able to use
this in the BSC_Tests, osmo-bsc.cfg needs adjusting in an upcoming patch; tests
using this are in osmo-ttcn3-hacks I21cbab193cd0de2e5692665442eae113d5f61904.
Depends: Ibb36695b7c31f7b04eec6c5d59522fc0779b3c2f (osmo-ttcn3-hacks)
Change-Id: I1986e4ef43beee161c82193694421b56136c1afe
-rw-r--r-- | ttcn3-bsc-test/BSC_Tests.cfg | 42 | ||||
-rw-r--r-- | ttcn3-bsc-test/osmo-stp.cfg | 17 |
2 files changed, 50 insertions, 9 deletions
diff --git a/ttcn3-bsc-test/BSC_Tests.cfg b/ttcn3-bsc-test/BSC_Tests.cfg index a27d099..fab146d 100644 --- a/ttcn3-bsc-test/BSC_Tests.cfg +++ b/ttcn3-bsc-test/BSC_Tests.cfg @@ -13,15 +13,39 @@ BSC_Tests.mp_bsc_ip := "172.18.2.20"; BSC_Tests.mp_test_ip := "172.18.2.203"; BSC_Tests.mp_enable_osmux_test := true; BSC_Tests.mp_bssap_cfg := { - transport := BSSAP_TRANSPORT_AoIP, - sccp_service_type := "mtp3_itu", - sctp_addr := { 23905, "172.18.2.203", 2905, "172.18.2.200" }, - own_pc := 185, - own_ssn := 254, - peer_pc := 187, - peer_ssn := 254, - sio := '83'O, - rctx := 1 + { + transport := BSSAP_TRANSPORT_AoIP, + sccp_service_type := "mtp3_itu", + sctp_addr := { 23905, "172.18.2.203", 2905, "172.18.2.200" }, + own_pc := 185, /* 0.23.1 first MSC emulation */ + own_ssn := 254, + peer_pc := 187, /* 0.23.3 osmo-bsc */ + peer_ssn := 254, + sio := '83'O, + rctx := 1 + }, + { + transport := BSSAP_TRANSPORT_AoIP, + sccp_service_type := "mtp3_itu", + sctp_addr := { 23906, "172.18.2.203", 2905, "172.18.2.200" }, + own_pc := 2, /* 0.0.2 second MSC emulation */ + own_ssn := 254, + peer_pc := 187, /* 0.23.3 osmo-bsc */ + peer_ssn := 254, + sio := '83'O, + rctx := 2 + }, + { + transport := BSSAP_TRANSPORT_AoIP, + sccp_service_type := "mtp3_itu", + sctp_addr := { 23907, "172.18.2.203", 2905, "172.18.2.200" }, + own_pc := 3, /* 0.0.3 third MSC emulation */ + own_ssn := 254, + peer_pc := 187, /* 0.23.3 osmo-bsc */ + peer_ssn := 254, + sio := '83'O, + rctx := 3 + } }; BSC_Tests_CBSP.mp_cgi_bts0 := { '001'H, '01'H, 1, 0 }; BSC_Tests_CBSP.mp_cgi_bts1 := { '001'H, '01'H, 1, 1 }; diff --git a/ttcn3-bsc-test/osmo-stp.cfg b/ttcn3-bsc-test/osmo-stp.cfg index 9102114..0c6d3a2 100644 --- a/ttcn3-bsc-test/osmo-stp.cfg +++ b/ttcn3-bsc-test/osmo-stp.cfg @@ -45,8 +45,25 @@ cs7 instance 0 as virt-msc0 m3ua asp virt-msc0-0 routing-key 1 0.23.1 + + asp virt-msc1-0 23906 2905 m3ua + local-ip 172.18.2.200 + remote-ip 172.18.2.203 + as virt-msc1 m3ua + asp virt-msc1-0 + routing-key 2 0.0.2 + + asp virt-msc2-0 23907 2905 m3ua + local-ip 172.18.2.200 + remote-ip 172.18.2.203 + as virt-msc2 m3ua + asp virt-msc2-0 + routing-key 3 0.0.3 + route-table system update route 0.23.1 7.255.7 linkset virt-msc0 + update route 0.0.2 7.255.7 linkset virt-msc1 + update route 0.0.3 7.255.7 linkset virt-msc2 listen m3ua 2905 accept-asp-connections dynamic-permitted listen ipa 5000 |