osmo-ttcn3-hacks/hnodeb
Pau Espin b54acca15f hnb: Introduce HNB_Tests testsuite
A new Iuh CodecPort + Emulation is introduced to (de)mux RANAP and RUA
in the same SCTP socket.
The Iuh_CodecPort.ttcn file has currently a hack to be able to test
HNBAP, since titan seem to be reporting sinfo_ppid=0 when in fact it
received sinfo_ppid=20 (HNBAP).

A couple tests are added to validate HNBAP HNBRegister Request  + Accept
or Reject. In current osmo-hnodeb state, both tests pass if run
separately, but fail if run sequentially since osmo-hnodeb still doesn't
re-connect properly after first test finishes and connection is dropped.

Related: SYS#5516
Change-Id: I7227917148e98a2c777f4b05d8d2eca6e9c121b7
2021-11-24 17:52:49 +00:00
..
HNBGW_ConnectionHandler.ttcn hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
HNB_Tests.cfg hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
HNB_Tests.default hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
HNB_Tests.ttcn hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
README.md hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
README.txt hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
expected-results.xml hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
gen_links.sh hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
osmo-hnodeb.cfg hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00
regen_makefile.sh hnb: Introduce HNB_Tests testsuite 2021-11-24 17:52:49 +00:00

README.md

HNB_Tests.ttcn

  • external interfaces
    • Iuh side (emulates HNBGW-side)
      • SCTP/HNBAP
      • SCTP/RUA/RANAP
    • RTP side: emulates MGW
    • GTP-U side: emulates GGSN
    • UE side
    • VTY
    • CTRL
    • StatsD

{% dot hnb_tests.svg digraph G { graph [label="HNB_Tests", labelloc=t, fontsize=30]; rankdir=LR; { rank=same; ATS; HNB; }; HNB [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nHNB_Tests.ttcn"];

HNB <- ATS [label="Uu (or some intermediate lower layer)"]; HNB -> ATS [label="Iuh"]; HNB -> ATS [label="RTP"]; HNB -> ATS [label="GTP-U"]; HNB <- ATS [label="CTRL"]; HNB <- ATS [label="VTY"]; HNB -> ATS [label="StatsD"]; } %}