Skip to content
Unstable

Changes

Summary

  1. smdpp_Tests: simplify generation of smdpp_ConnHdlrPars (NIST vs. BRP) (details)
  2. hlr: pyhss: create/delete subscribers (details)
  3. Update key for Osmocom OBS (details)
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 added_testenv/data/scripts/pyhss_api_helper.py
The file was modifiedhlr/testenv_pyhss.cfg
The file was addedhlr/pyhss/setup_db.sh
The file was modifiedhlr/README.md
The file was modifiedhlr/regen_makefile.sh
The file was modifiedhlr/HLR_Tests.ttcn
The file was modified_testenv/data/podman/Dockerfile
The file was addedlibrary/PyHSS_REST_Functions.ttcn
The file was modifiedhlr/gen_links.sh
Commit 45436991eb93a4ab42d649bc9e51f1da0a2d4487 by Oliver Smith
Update key for Osmocom OBS

Change-Id: Id72581dc1cffb9d43dfc56aa16f2b1b9baf9c04f
The file was modified_testenv/data/podman/obs.key