[MERGED] osmo-gsm-manuals[master]: OsmoHLR: update ctrl description and examples

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Oct 27 00:07:57 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: OsmoHLR: update ctrl description and examples
......................................................................


OsmoHLR: update ctrl description and examples

The patch to refactor ctrl commands to osmo-hlr, change
I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50, was tweaked. Adjust accordingly.

Change-Id: Ie4da6115bb2eb005a9f95bf4de1bfe36468fd607
---
M OsmoHLR/chapters/control.adoc
M OsmoHLR/example_subscriber_cs_ps_enabled.ctrl
M OsmoHLR/example_subscriber_info.ctrl
3 files changed, 50 insertions(+), 6 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 name<tab>value
 ----
 
-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 <<subscriber-params>>:
 
 .Returned values by OsmoHLR's 'info', 'info-all' and 'info-aud' commands
@@ -50,11 +50,16 @@
 |'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 @@
 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 @@
 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 @@
 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 @@
 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 @@
 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.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

-- 
To view, visit https://gerrit.osmocom.org/4393
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4da6115bb2eb005a9f95bf4de1bfe36468fd607
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list