osmo-msc/tests/msc_vlr
Stefan Sperling defc3c8caf implement periodic Location Update expiry in the VLR
Remove subscribers which fail to send periodic Location Updates from the
list of subscribers known to the VLR. This complements the IMSI detach
procedure: periodic LU expiry triggers an implicit IMSI detach.

Expired subscribers are purged from a periodic timer which iterates
over all subscribers once per minute.

Subscribers with an active connection do not expire. This is controlled
by the subscriber conn FSM which sets a subscriber's the LU expiry timeout
value to GSM_SUBSCRIBER_NO_EXPIRATION while a connection is active.

Add support for fake time with osmo_clock_gettime() to msc_vlr tests.

This functionality existed in OpenBSC but was lost during the nitb split.
This code took some inspiration from the OpenBSC implementation.

Related: OS#1976
Change-Id: Iebdee8b12d22acfcfb265ee41e71cfc8d9eb3ba9
2018-05-23 14:55:00 +02:00
..
Makefile.am remove empty libcommon-cs 2018-03-22 17:11:30 +01:00
msc_vlr_test_authen_reuse.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_authen_reuse.err tests/msc_vlr: fix expected SS message names 2018-04-17 19:28:55 +07:00
msc_vlr_test_authen_reuse.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_call.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_call.err msc conn ref counts: log human readable list of conn owners 2018-04-12 19:40:01 +00:00
msc_vlr_test_call.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_authen.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_gsm_authen.err tests/msc_vlr: fix expected SS message names 2018-04-17 19:28:55 +07:00
msc_vlr_test_gsm_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_ciph.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_gsm_ciph.err tests/msc_vlr: fix expected SS message names 2018-04-17 19:28:55 +07:00
msc_vlr_test_gsm_ciph.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_hlr_reject.err msc conn ref counts: log human readable list of conn owners 2018-04-12 19:40:01 +00:00
msc_vlr_test_hlr_reject.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_hlr_timeout.err msc conn ref counts: log human readable list of conn owners 2018-04-12 19:40:01 +00:00
msc_vlr_test_hlr_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_ms_timeout.err msc conn ref counts: log human readable list of conn owners 2018-04-12 19:40:01 +00:00
msc_vlr_test_ms_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.c implement periodic Location Update expiry in the VLR 2018-05-23 14:55:00 +02:00
msc_vlr_test_no_authen.err implement periodic Location Update expiry in the VLR 2018-05-23 14:55:00 +02:00
msc_vlr_test_no_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.c refactor VLR FSM result handling 2018-04-12 19:40:00 +00:00
msc_vlr_test_reject_concurrency.err tests/msc_vlr: fix expected SS message names 2018-04-17 19:28:55 +07:00
msc_vlr_test_reject_concurrency.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_rest.err vlr_access_req_fsm: use correct cause codes 2018-05-16 10:34:16 +02:00
msc_vlr_test_rest.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_umts_authen.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
msc_vlr_test_umts_authen.err tests/msc_vlr: fix expected SS message names 2018-04-17 19:28:55 +07:00
msc_vlr_test_umts_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_tests.c implement periodic Location Update expiry in the VLR 2018-05-23 14:55:00 +02:00
msc_vlr_tests.h implement periodic Location Update expiry in the VLR 2018-05-23 14:55:00 +02:00