diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-06 02:59:54 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-17 00:59:00 +0200 |
commit | 183e7009afc8577f0d89c99f92a5720697040494 (patch) | |
tree | 3c774fa05e32f09d3805845751b48d9554177153 /src/hlr_vty.c | |
parent | b6837e36a34a1e9e7fafea822516e61285e3c09c (diff) |
implement subscriber vty interface, tests
Implement VTY commands for subscriber manipulation:
- create / delete subscriber
- modify MSISDN
- add/edit/remove 2G and 3G authentication data
- show by IMSI, MSISDN or DB ID.
(enable/disable CS/PS and purge/unpurge to follow later.)
Implement VTY unit tests for the new commands using new
osmo_verify_transcript_vty.py from osmo-python-tests.
Depends: libosmocore I1e94f5b0717b947d2a7a7d36bacdf04a75cb3522
osmo-python-tests Id47331009910e651372b9c9c76e12f2e8964cc2c
Change-Id: I42b3b70a0439a8f2e4964d7cc31e593c1f0d7537
Diffstat (limited to 'src/hlr_vty.c')
-rw-r--r-- | src/hlr_vty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hlr_vty.c b/src/hlr_vty.c index 946117e..a5eb26f 100644 --- a/src/hlr_vty.c +++ b/src/hlr_vty.c @@ -26,6 +26,7 @@ #include <osmocom/vty/logging.h> #include "hlr_vty.h" +#include "hlr_vty_subscr.h" static struct hlr *g_hlr = NULL; @@ -135,4 +136,6 @@ void hlr_vty_init(struct hlr *hlr, const struct log_info *cat) install_default(GSUP_NODE); install_element(GSUP_NODE, &cfg_hlr_gsup_bind_ip_cmd); + + hlr_vty_subscriber_init(hlr); } |