osmo-ttcn3-hacks/bsc
Neels Hofmeyr ff8a9f272d bsc CBSP: clear all CBSP state between runs
Some tests may stop without cleaning up the CBSP state. Avoid affecting
subsequent tests by clearing the state for each f_cbsp_init_server().

Some ETWS CMD may still be left in the RSL queue (from the time period passing
between a stopped test and the next test starting up), so clear all RSL ports.

To be able to do so, move f_cbsp_reset_bss() to the cbsp_test_CT, from where it
can access both CBSP and IPA_RSL[] ports. All current callers are on
cbsp_test_CT anyway.

This patch should fix TC_cbsp_emerg_write_bts_cgi_cchan and
TC_cbsp_emerg_write_bts_cgi_cchan_disable, which so far break because of
leftover ETWS CMDs in the RSL queue from the preceding test run.

Change-Id: If7400a6624bb6dd9cacbcc733bdeba102d19e29c
2020-08-13 19:31:23 +00:00
..
BSC_Tests.cfg bsc: Test suite for CBSP (Cell Broadcast Service Protocol) 2019-09-05 13:13:35 +02:00
BSC_Tests.default bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
BSC_Tests.ttcn bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
BSC_Tests_CBSP.ttcn bsc CBSP: clear all CBSP state between runs 2020-08-13 19:31:23 +00:00
BSC_Tests_LCLS.ttcn bsc: allow multiple MSCs 2020-06-14 11:01:34 +00:00
MSC_ConnectionHandler.ttcn bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +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_Tests: Update readme + source code comments 2017-12-17 19:48:03 +01:00
expected-results.xml update expected results 2020-05-19 19:25:35 +00:00
gen_links.sh bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
osmo-bsc.cfg bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
osmo-stp.cfg bsc: Sync osmo-{bsc,stp}.cfg with docker-playground.git 2020-06-21 20:28:16 +02:00
regen_makefile.sh bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +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"]; } %}