diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-07-15 10:35:22 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-07-15 14:13:46 +0200 |
commit | 3b33b01fb039817b49c9c8c06bd33650dc5e4a7a (patch) | |
tree | cf7350749ff13cad6c51be27ae836bb482cd2a3e /tests | |
parent | 78abea6a0e4824cb8e5baa770012c41524fa81dd (diff) |
VTY: add subscriber update network-access-mode
Allow updating the NAM (Network Access Mode) of subscribers with the
VTY. This is important for the subscriber create on demand use case
where subscribers get created without access to PS and CS NAM by
default. Regenerate hlr_vty_reference.xml.
Related: OS#2542
Change-Id: I231e03219355ebe6467d62ae2e40bef9d8303e3b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_subscriber.vty | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/tests/test_subscriber.vty b/tests/test_subscriber.vty index 265f8fa..8e9026d 100644 --- a/tests/test_subscriber.vty +++ b/tests/test_subscriber.vty @@ -12,6 +12,7 @@ OsmoHLR# list subscriber (imsi|msisdn|id|imei) IDENT update aud3g none subscriber (imsi|msisdn|id|imei) IDENT update aud3g milenage k K (op|opc) OP_C [ind-bitlen] [<0-28>] subscriber (imsi|msisdn|id|imei) IDENT update imei (none|IMEI) + subscriber (imsi|msisdn|id|imei) IDENT update network-access-mode (none|cs|ps|cs+ps) OsmoHLR# subscriber? subscriber Subscriber management commands @@ -125,10 +126,11 @@ OsmoHLR# subscriber msisdn 423 show MSISDN: 423 OsmoHLR# subscriber imsi 123456789023000 update ? - msisdn Set MSISDN (phone number) of the subscriber - aud2g Set 2G authentication data - aud3g Set UMTS authentication data (3G, and 2G with UMTS AKA) - imei Set IMEI of the subscriber (normally populated from MSC, no need to set this manually) + msisdn Set MSISDN (phone number) of the subscriber + aud2g Set 2G authentication data + aud3g Set UMTS authentication data (3G, and 2G with UMTS AKA) + imei Set IMEI of the subscriber (normally populated from MSC, no need to set this manually) + network-access-mode Set Network Access Mode (NAM) of the subscriber OsmoHLR# subscriber imsi 123456789023000 update msisdn ? none Remove MSISDN (phone number) @@ -437,3 +439,35 @@ OsmoHLR# show subscriber id 99 IMSI: 000000000000099 MSISDN: none IMEI: 12345 (INVALID LENGTH!) + +OsmoHLR# subscriber imsi 123456789023000 create +% Created subscriber 123456789023000 + ID: 101 + IMSI: 123456789023000 + MSISDN: none +OsmoHLR# subscriber imsi 123456789023000 update network-access-mode none +OsmoHLR# subscriber imsi 123456789023000 show + ID: 101 + IMSI: 123456789023000 + MSISDN: none + CS disabled + PS disabled +OsmoHLR# subscriber imsi 123456789023000 update network-access-mode cs +OsmoHLR# subscriber imsi 123456789023000 show + ID: 101 + IMSI: 123456789023000 + MSISDN: none + PS disabled +OsmoHLR# subscriber imsi 123456789023000 update network-access-mode ps +OsmoHLR# subscriber imsi 123456789023000 show + ID: 101 + IMSI: 123456789023000 + MSISDN: none + CS disabled +OsmoHLR# subscriber imsi 123456789023000 update network-access-mode cs+ps +OsmoHLR# subscriber imsi 123456789023000 show + ID: 101 + IMSI: 123456789023000 + MSISDN: none +OsmoHLR# subscriber imsi 123456789023000 delete +% Deleted subscriber for IMSI '123456789023000' |