osmo-ttcn3-hacks/bsc
Pau Espin 56fafdd3a6 Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client
Until recently, the asp-clnt-* ASPs, which have specific handling in osmo_sccp_simple_client_on_ss7_id(),
were being always forcedly set to sctp-role CLIENT by code in that
function.
This prevented user of that API from explicitly configuring the ASP as
"sctp-role server" through the VTY as the option would be overwritten silently.

Now, the sctp-role from config is followed if the ASP is
defined/configured through the VTY (not dynamically created at the time
osmo_sccp_simple_client_on_ss7_id() is called).

Since the default for a VTY-specified ASP is to be in "sctp-role
server", the config files need to be updated to properly configure the
ASP to be in "sctp-role client", which is the desired mode here.

Same applies for "role", where the default is SG but it is actually used
as "ASP" here.

Change-Id: I4eb5b5f6b4b24df079b4c74e2a2e2ebb8769b0bd
2023-06-08 18:41:32 +02:00
..
BSC_Tests.cfg BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00
BSC_Tests.default StatsD_Checker: Enable by default 2021-02-26 12:42:35 +01:00
BSC_Tests.ttcn bsc: TC_assignment_csd: delete mgcp EP after clear 2023-05-08 14:37:23 +02:00
BSC_Tests_CBSP.ttcn bsc: Submit valid l3 payload 2023-01-03 13:13:02 +01:00
BSC_Tests_LCLS.ttcn fix BSC_Tests_LCLS: do not use t_def_TestHdlrPars directly 2023-01-06 21:42:38 +07:00
BSC_Tests_OML.ttcn BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00
BSC_Tests_SCCPlite.cfg bsc: add config files for sccplite BSC tests 2022-06-13 19:16:18 +00:00
BSC_Tests_VAMOS.cfg bsc-VAMOS: add cfg files to run BSC_Tests_VAMOS locally 2021-06-05 20:24:35 +00:00
BSC_Tests_VAMOS.ttcn bsc: Submit valid l3 payload 2023-01-03 13:13:02 +01:00
MSC_ConnectionHandler.ttcn bsc: AssignmentState: voice_call -> rtp_stream 2023-04-21 08:05:01 +00:00
README.md bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
README.txt bsc: add TC_stats_conn_fail 2021-08-27 08:24:23 +00:00
expected-results.xml bsc: Add missing tests in expected-results.xml 2023-04-03 16:08:42 +02:00
gen_links.sh BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00
osmo-bsc-sccplite.cfg Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client 2023-06-08 18:41:32 +02:00
osmo-bsc-vamos.cfg Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client 2023-06-08 18:41:32 +02:00
osmo-bsc.cfg Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client 2023-06-08 18:41:32 +02:00
osmo-stp.cfg bsc/osmo-{bsc,stp}.cfg: enable extended timestamp in logging 2021-12-14 12:59:04 +00:00
regen_makefile.sh BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00

README.md

BSC_Tests.ttcn

  • external interfaces
    • A-bis side: RSL (emulates BTS-side client) (OML handled by osmo-bts-omldummy)
    • A-side (emulates MSC-side)
      • BSSAP/SCCP/M3UA (AoIP)
      • BSSAP/SCCP/IPA (SCCPLite)
    • MGW side: MGCP (emulates MGW side)
    • VTY
    • CTRL
    • StatsD

{% dot bsc_tests.svg digraph G { graph [label="AoIP", labelloc=t, fontsize=30]; rankdir=LR; { rank=same; BTS; STP; }; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];

BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; BSC -> ATS [label="StatsD"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; BSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}

{% dot bsc_tests_sccplite.svg digraph G { graph [label="SCCPLite", labelloc=t, fontsize=30]; rankdir=LR; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];

BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; BSC -> ATS [label="StatsD"]; ATS -> BSC [label="A BSSAP\nSCCP/IPA"]; } %}