osmo-hlr-db-tool1
Osmo-hlr-db-tool
Usage
osmo-hlr-db-tool [-l
<hlr.db>]
[{create | import-nitb-db
<nitb.db>}]
Overview
-
-l --database db-name -
The OsmoHLR database to use, default 'hlr.db'.
-
-h --help -
This text.
-doption--debug=DMAIN:DDB:DAUC-
Enable debugging.
-
-s --disable-color -
Do not print ANSI colors in the log
-
-T --timestamp -
Prefix every log line with a timestamp.
-
-e --log-level number -
Set a global loglevel.
-
-U --db-upgrade -
Allow HLR database schema upgrades.
-
-V --version -
Print the version of OsmoHLR-db-tool.
Commands:
- create
-
Create an empty OsmoHLR database. (All commands imply this if none exists yet.)
- import-nitb-db <nitb.db>
-
Add OsmoNITB db's subscribers to OsmoHLR db. Be aware that the import is somewhat lossy, only the IMSI, MSISDN, IMEI, nam_cs/ps, 2G auth data and last seen LU are set. The most recently associated IMEI from the Equipment table is used.