Skip to content
Success

Changes

Summary

  1. SGsAP_Emulation: Introduce proper support for server-mode (details)
  2. mme: Initial working state for MME_Tests_SGsAP.ttcn tests (details)
Commit 3f73dc3cadd0724642dacb544f0042a661d5e0b9 by Pau Espin Pedrol
SGsAP_Emulation: Introduce proper support for server-mode

Prior to this commit, only initial (not really useful) SCTP server-mode
support existed in SGsAP_Emulation.
This is basically because MSC_Tests uses the SCTP client-mode, and
MME_Tests_SGsAP were not yet in a fully working state.

In server-mode, we have a conn_id for the listening socket and a conn_id
for the accepted socket; track them properly.
Moreover, in server node we definetly need some sort of event to wait
for the client to connect; introduce it.
Based on existing work in Iuh_Emulation.

Change-Id: Iccf4ac96c56e947529f0ffc06428e2325a115d50
The file was modifiedmsc/MSC_Tests.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedlibrary/SGsAP_Emulation.ttcn
Commit 02d8803784ca1cd7fbad4033c4e8ba47d390d563 by Pau Espin Pedrol
mme: Initial working state for MME_Tests_SGsAP.ttcn tests

MME_Tests_SGsAP.ttcn tests were introduced to the repository many years
ago (~2019), but they were mostly WIP and were never run as part of the
regular testsuite.

This commit reworks and extends previous work to get them up to date
with current MME_Tests and makes most of them passing.

TC_sgsap_alert_* tests are still in WIP and will be fixed in follow-up
work.

Related: OS#6850
Change-Id: If07f1a67eb4213985da82afec94adb08786a0980
The file was modifiedmme/MME_Tests.cfg
The file was modifiedmme/open5gs-mme.yaml
The file was modifiedmme/MME_Tests_SGsAP.ttcn
The file was modifiedmme/ConnHdlr.ttcn
The file was modifiedmme/expected-results.xml
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedlibrary/SGsAP_Templates.ttcn