osmo-msc/tests
Neels Hofmeyr 4dfb2babf2 add 'encryption uea 1 2' cfg / fix ttcn3 iu tests
Recently, the ability to run UTRAN without encryption was added, but the config
for it was tied to the A5 GERAN encryption configuration. This affected
osmo-msc's default behavior of Iu, breaking osmo-msc ttcn3 Iu tests: the ttcn3
test suite sets A5 to 0 (no encryption) but still expects Iu to enable air
encryption. Fix this "regression".

Add a separate vty config option for UEA encryption, even if it does not
provide full granularity to select individual UEA algorithms yet.

As a result, Iu default behavior remains to enable encryption regardless of the
A5 config. UTRAN encryption can be disabled by the new cfg option
"encryption uea 0" alone.

Even though the new vty command already allows passing various combinations of
the UEA algorithm numbers, only '0' and '1 2' are accepted as valid
combinations, to reflect current osmo-msc capabilities.

Revert most changes to the msc_vlr test suite in commit "do not force
encryption on UTRAN" (I04ecd7a3b1cc603b2e3feb630e8c7c93fc36ccd7): use new
net->iu_encryption instead of net->a5_encryption_mask.

Adjust/add to test_nodes.vty transcript tests.

Related: OS#4144
Change-Id: Ie138f2fcb105533f7bc06a6d2e6deccf6faccc5b
2019-08-13 23:52:31 +02:00
..
db_sms libmsc/db.c: get rid of hard-coded SMS expiry threshold 2019-06-07 08:05:24 +07:00
msc_vlr add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
smpp use osmo_init_logging2() with proper talloc ctx 2018-03-30 23:20:03 +02:00
sms_queue Use GSM23003_MSISDN_MAX_DIGITS from libosmogsm 2019-05-29 08:48:16 +00:00
Makefile.am Introduce initial unit test for db_sms_* API 2019-06-03 17:28:35 +07:00
atlocal.in remove further files and autotest/autoconf bits irrelevant to osmo-msc 2017-10-03 09:44:23 +08:00
ctrl_test_runner.py python tests: use py shebang instead of $(PYTHON) 2018-12-05 19:35:11 +00:00
smpp_test_runner.py python tests: use py shebang instead of $(PYTHON) 2018-12-05 19:35:11 +00:00
stubs.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
test_neighbor_ident.vty vty/cfg: add missing write-back of inter-BSC and inter-MSC HO config 2019-05-09 02:06:42 +02:00
test_nodes.vty add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
testsuite.at db_sms_test: Remove libdbi expected driver load errors 2019-06-05 17:01:06 +00:00
vty_test_runner.py python tests: use py shebang instead of $(PYTHON) 2018-12-05 19:35:11 +00:00