From 8a08220bbb0086220922b91e8dbd59e6164aeaf7 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 24 Oct 2017 15:47:12 +0200 Subject: OsmoHLR: update ctrl description and examples The patch to refactor ctrl commands to osmo-hlr, change I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50, was tweaked. Adjust accordingly. Change-Id: Ie4da6115bb2eb005a9f95bf4de1bfe36468fd607 --- OsmoHLR/chapters/control.adoc | 13 +++++++++---- OsmoHLR/example_subscriber_cs_ps_enabled.ctrl | 25 +++++++++++++++++++++++++ OsmoHLR/example_subscriber_info.ctrl | 18 ++++++++++++++++-- 3 files changed, 50 insertions(+), 6 deletions(-) diff --git a/OsmoHLR/chapters/control.adoc b/OsmoHLR/chapters/control.adoc index 89c9c08..50fd314 100644 --- a/OsmoHLR/chapters/control.adoc +++ b/OsmoHLR/chapters/control.adoc @@ -39,8 +39,8 @@ of the format namevalue ---- -To keep the reply as short as possible, most values are omitted if they are -empty or reflect the default. These are the returned values and their presence +To keep the reply as short as possible, some values are omitted if they are +empty. These are the returned values and their presence modalities; for their meaning, see <>: .Returned values by OsmoHLR's 'info', 'info-all' and 'info-aud' commands @@ -50,11 +50,16 @@ modalities; for their meaning, see <>: |'info'|id|-9223372036854775808 .. 9223372036854775807 (usually not negative)|always |'info'|imsi|6 to 15 decimal digits|always |'info'|msisdn|1 to 15 decimal digits|when non-empty -|'info'|nam_cs|'1' or '0'|when '0' -|'info'|nam_ps|'1' or '0'|when '0' +|'info'|nam_cs|'1' if CS is enabled, or '0'|always +|'info'|nam_ps|'1' if PS is enabled, or '0'|always |'info'|vlr_number|up to 15 decimal digits|when non-empty |'info'|sgsn_number|up to 15 decimal digits|when non-empty |'info'|sgsn_address||when non-empty +|'info'|ms_purged_cs|'1' if CS is purged, or '0'|always +|'info'|ms_purged_ps|'1' if PS is purged, or '0'|always +|'info'|periodic_lu_timer|0..4294967295|always +|'info'|periodic_rau_tau_timer|0..4294967295|always +|'info'|lmsi|8 hex digits|always |'info-aud'|aud2g.algo|one of 'comp128v1', 'comp128v2', 'comp128v3' or 'xor'|when valid 2G auth data is set |'info-aud'|aud2g.ki|32 hexadecimal digits|when valid 2G auth data is set |'info-aud'|aud3g.algo|so far always 'milenage'|when valid 3G auth data is set diff --git a/OsmoHLR/example_subscriber_cs_ps_enabled.ctrl b/OsmoHLR/example_subscriber_cs_ps_enabled.ctrl index 1a98a80..a103fb8 100644 --- a/OsmoHLR/example_subscriber_cs_ps_enabled.ctrl +++ b/OsmoHLR/example_subscriber_cs_ps_enabled.ctrl @@ -3,6 +3,13 @@ GET_REPLY 1 subscriber.by-msisdn-103.info id 3 imsi 901990000000003 msisdn 103 +nam_cs 1 +nam_ps 1 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 GET 2 subscriber.by-msisdn-103.ps-enabled GET_REPLY 2 subscriber.by-msisdn-103.ps-enabled 1 @@ -18,7 +25,13 @@ GET_REPLY 5 subscriber.by-msisdn-103.info id 3 imsi 901990000000003 msisdn 103 +nam_cs 1 nam_ps 0 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 SET 6 subscriber.by-msisdn-103.cs-enabled 0 SET_REPLY 6 subscriber.by-msisdn-103.cs-enabled OK @@ -33,6 +46,11 @@ imsi 901990000000003 msisdn 103 nam_cs 0 nam_ps 0 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 SET 9 subscriber.by-msisdn-103.cs-enabled 1 SET_REPLY 9 subscriber.by-msisdn-103.cs-enabled OK @@ -44,3 +62,10 @@ GET_REPLY 11 subscriber.by-msisdn-103.info id 3 imsi 901990000000003 msisdn 103 +nam_cs 1 +nam_ps 1 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 diff --git a/OsmoHLR/example_subscriber_info.ctrl b/OsmoHLR/example_subscriber_info.ctrl index 2020508..1bdf00b 100644 --- a/OsmoHLR/example_subscriber_info.ctrl +++ b/OsmoHLR/example_subscriber_info.ctrl @@ -3,6 +3,13 @@ GET_REPLY 1 subscriber.by-imsi-901990000000003.info id 3 imsi 901990000000003 msisdn 103 +nam_cs 1 +nam_ps 1 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 GET 2 subscriber.by-msisdn-103.info-aud GET_REPLY 2 subscriber.by-msisdn-103.info-aud @@ -12,17 +19,24 @@ aud3g.algo MILENAGE aud3g.k 000102030405060708090a0b0c0d0e0f aud3g.opc 101112131415161718191a1b1c1d1e1f aud3g.ind_bitlen 5 -aud3g.sqn 2342 +aud3g.sqn 0 GET 3 subscriber.by-id-3.info-all GET_REPLY 3 subscriber.by-id-3.info-all id 3 imsi 901990000000003 msisdn 103 +nam_cs 1 +nam_ps 1 +ms_purged_cs 0 +ms_purged_ps 0 +periodic_lu_timer 0 +periodic_rau_tau_timer 0 +lmsi 00000000 aud2g.algo COMP128v1 aud2g.ki 000102030405060708090a0b0c0d0e0f aud3g.algo MILENAGE aud3g.k 000102030405060708090a0b0c0d0e0f aud3g.opc 101112131415161718191a1b1c1d1e1f aud3g.ind_bitlen 5 -aud3g.sqn 2342 +aud3g.sqn 0 -- cgit v1.2.3