osmo-hlr/tests
Neels Hofmeyr 191f4b6eb3 db v6: determine 3G AUC IND from VLR name
Each VLR requesting auth tuples should use a distinct IND pool for 3G auth.  So
far we tied the IND to the GSUP peer connection; MSC and SGSN were always
distinct GSUP peers, they ended up using distinct INDs.

However, we have implemented a GSUP proxy, so that, in a distributed setup, a
remotely roaming subscriber has only one direct GSUP peer proxying for both
remote MSC and SGSN. That means as soon as a subscriber roams to a different
site, the site's MSC and SGSN compete for the same IND bucket, waste SQNs
rapidly and cause auth tuple generation load.

So instead of using the local client as IND, persistently keep a list of VLR
names and assign a different IND to each. Use the GSUP source_name as
indicator, which reflects the actual remote VLR's name.

Furthermore, make 100% sure that CS and PS pools can never collide, by keeping
all CS pools odd numbered and all PS pools even numbered.

Persist the site <-> IND assignments in the database.

Add an IND test to db_test.c

Related: OS#4319
Change-Id: I6f0a6bbef3a27507605c3b4a0e1a89bdfd468374
2019-12-12 21:51:27 +01:00
..
auc tests/auc: change back to python3 2019-12-10 14:37:25 +01:00
db db v6: determine 3G AUC IND from VLR name 2019-12-12 21:51:27 +01:00
db_upgrade db v6: determine 3G AUC IND from VLR name 2019-12-12 21:51:27 +01:00
gsup 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2019-12-12 21:51:27 +01:00
gsup_server WIP: proxy routing refactor / SMS-over-GSUP 2019-12-12 21:51:27 +01:00
mslookup add mDNS lookup method to libosmo-mslookup 2019-12-12 21:51:27 +01:00
Makefile.am 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2019-12-12 21:51:27 +01:00
test_nodes.vty D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2019-12-12 21:51:27 +01:00
test_subscr_create_on_demand.vty Create subscribers on demand 2019-05-19 14:42:46 +07:00
test_subscriber.ctrl test_subscriber.ctrl: test against octal/hex interpretation of id 2017-10-27 02:37:20 +02:00
test_subscriber.sql test_subscriber.ctrl: test against octal/hex interpretation of id 2017-10-27 02:37:20 +02:00
test_subscriber.vty D-GSM 2/n: implement mDNS method of mslookup server 2019-12-12 21:51:27 +01:00
test_subscriber.vty.sql VTY: integrate IMEI 2019-01-24 15:29:08 +00:00
test_subscriber_errors.ctrl ctrl test: fix: adjust expectations after stricter ctrl parsing 2018-01-07 22:27:08 +01:00
testsuite.at 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2019-12-12 21:51:27 +01:00