Skip to content
Unstable

Changes

Summary

  1. smdpp_Tests: fix sourcecode formatting, remove line breaks (details)
  2. smdpp_Tests: rename smdp_server_url to smdp_server_fqdn (details)
  3. smdpp_Tests: make ES9+ and ES2+ ports configurable (details)
  4. smdpp_Tests: simplify generation of smdpp_ConnHdlrPars (NIST vs. BRP) (details)
  5. hlr: pyhss: create/delete subscribers (details)
Commit e602586c9396f1e95ba2f77f3382de76ec48dda0 by pmaier@sysmocom.de
smdpp_Tests: fix sourcecode formatting, remove line breaks

Change-Id: I50175cd2989d6bfbe220c33e73a1724166ca548f
Related: SYS#7339
The file was modifiedsmdpp/smdpp_Tests.cfg
The file was modifiedsmdpp/smdpp_Tests.ttcn
Commit 2069e2e81e2550f4eac1fa8ea29e34dec67630bb by pmaier@sysmocom.de
smdpp_Tests: rename smdp_server_url to smdp_server_fqdn

The member name "smdp_server_url" is technically not correct as the
content is an FQDN. Let's rename it to "smdp_server_fqdn".

Let's also put a comment in which we explain why FQDN is hardcoded
and not available as configurable module parameter.

Related: SYS#7339
Change-Id: I0224c838a368656821fff6014b0df7eb49466b0a
The file was modifiedsmdpp/smdpp_Tests.ttcn
Commit 54f8aadeaac6f5e2bcd293c1cee6ba82ec150162 by pmaier@sysmocom.de
smdpp_Tests: make ES9+ and ES2+ ports configurable

Change-Id: I17f2713088c583bec26a0a8cdff40c796e0a490b
Related: SYS#7339
The file was modifiedsmdpp/smdpp_Tests.ttcn
The file was modifiedsmdpp/smdpp_Tests.cfg
Commit 3211614b5be69d17f7f6f249a463ecccf4e141fa by pmaier@sysmocom.de
smdpp_Tests: simplify generation of smdpp_ConnHdlrPars (NIST vs. BRP)

When we call f_init_pars() it will return a record with default parameters.
However, those parameters are only a suitable default when the NIST curve
is used. For the brainpool curve we will have to modify returned result.

Let's simlify this by adding a parameter to f_init_pars() that allows us to
switch between the defaults for NIST and BRP as needed.

Realated: SYS#7339
Change-Id: Ied4ffa6ff4b3efbbcfc9204ce8f21ea7ca4becf5
The file was modifiedsmdpp/smdpp_Tests.ttcn
Commit f27abc13d9ec733647f1701672d03ad606f71659 by Oliver Smith
hlr: pyhss: create/delete subscribers

Run the PyHSS API service, and fill it with a default APN on startup.
Having one APN entry in the database is required for creating
subscribers.

Talk to the API service for creating and deleting subscribers. Do this
with a new script pyhss_api_helper.py. Deleting subscribers requires
reading JSON returned from the server (to get the AUC and subscriber ID
from the IMSI). I have first attempted to do this via HTTP_Adapter
instead of using a helper script, but this was a lot more complex and
would have required to have the JSON structure in the TTCN3 files. The
eim testsuite also runs an external script for REST requests.

With this change and additional fixes in PyHSS, more tests pass:
* HLR_Tests.TC_gsup_sai
* HLR_Tests.TC_gsup_sai_num_auth_vectors
* HLR_Tests.TC_gsup_ul
* HLR_Tests.TC_gsup_purge_cs
* HLR_Tests.TC_gsup_purge_ps

Related: OS#6862
Change-Id: Ic924dabbc813459f73d6646ee17b79cb11d39a76
The file was modifiedhlr/HLR_Tests.ttcn
The file was addedlibrary/PyHSS_REST_Functions.ttcn
The file was addedhlr/pyhss/setup_db.sh
The file was modified_testenv/data/podman/Dockerfile
The file was modifiedhlr/gen_links.sh
The file was modifiedhlr/regen_makefile.sh
The file was modifiedhlr/testenv_pyhss.cfg
The file was modifiedhlr/README.md
The file was added_testenv/data/scripts/pyhss_api_helper.py