PyHSS and PyHSS cli

One of the milestone of the journey to a good VoLTE support is a test setup containing a fully working LTE and VoLTE network.

While doing so, I've came across PyHSS, a 4G HSS (central database), which will be used in the test setup. However the problem of PyHSS is, there wasn't any good tooling to interact with. PyHSS itself offers a REST interface, but not cli. There is a webinterface written by zarya - pyhss-gui but it requires nodejs and couple of npm dependencies.

So I've started writing a minimal cli in python using click and httpx.

Even though PyHSS offers a swagger.json I went manual implemented those calls, because parsing the swagger.json also requires a lot of dependencies. Further only a couple API calls are needed to get basic subscriber management. The project can be found on https://codeberg.org/lynxis/PyHSS-cli

This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.

links

social