osmo-bsc/tests
Neels Hofmeyr f93970b167 implement support for 3-digit MNC with leading zeros
Add 3-digit flags and use the new RAI and LAI API from libosmocore throughout
the code base to be able to handle an MNC < 100 that has three digits (leading
zeros).

The changes to abis_test and gsm0408_test show that this code now handles
3-digit MNC correctly, by not dropping the leading zero as 0xf in the encoded
PLMN.

Re-implement CTRL commands 'mcc', 'mnc' and 'mcc-mnc-apply' to preserve the
presence of the third digit of the MNC. Always reply with all leading zeros.
Adjust the expected results in ctrl_test_runner.py, to show that it works.

In VTY and CTRL, the parsing of MCC and MNC is inherently made stricter by use
of osmo_{mcc,mnc}_from_str() -- they will no longer allow surplus characters
and detect errno returned by strtol() (in contrast to atoi()).

Depends: Id2240f7f518494c9df6c8bda52c0d5092f90f221 (libosmocore),
	 Ib7176b1d65a03b76f41f94bc9d3293a8a07d24c6 (libosmocore),
	 I020a4f11791c61742a3d795f782805f7b7e8733e (libosmocore)
Change-Id: I8e722103344186fde118b26d8353db95a4581daa
2018-03-07 15:34:48 +00:00
..
abis implement support for 3-digit MNC with leading zeros 2018-03-07 15:34:48 +00:00
bsc cosmetic: bsc_network_init(): imply default 001-01 PLMN 2018-03-05 05:37:54 +01:00
bsc-nat logging: Remove obsolete log categories 2018-02-19 10:47:50 +01:00
bsc-nat-trie drop libcommon completely, move remaining files to libbsc 2018-02-14 12:54:38 +01:00
bssap implement support for 3-digit MNC with leading zeros 2018-03-07 15:34:48 +00:00
channel cosmetic: bsc_network_init(): imply default 001-01 PLMN 2018-03-05 05:37:54 +01:00
gsm0408 implement support for 3-digit MNC with leading zeros 2018-03-07 15:34:48 +00:00
handover cosmetic: bsc_network_init(): imply default 001-01 PLMN 2018-03-05 05:37:54 +01:00
nanobts_omlattr implement support for 3-digit MNC with leading zeros 2018-03-07 15:34:48 +00:00
subscr drop libcommon-cs completely 2018-02-14 12:55:45 +01:00
Makefile.am HO: Implement load based handover, as handover_decision_2.c 2018-02-19 17:11:47 +01:00
atlocal.in Fix repo split aftermath 2017-10-02 08:38:34 +00:00
ctrl_test_runner.py implement support for 3-digit MNC with leading zeros 2018-03-07 15:34:48 +00:00
handover_cfg.vty HO: vty: clearly mark 'handover foo' as legacy alias for 'handover1 foo' 2018-02-19 19:01:13 +01:00
testsuite.at HO: Implement load based handover, as handover_decision_2.c 2018-02-19 17:11:47 +01:00
vty_test_runner.py Remove unneeded .py scripts 2017-12-19 18:08:46 +01:00