aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nodes.vty
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-04-02 04:24:49 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2019-05-08 04:12:38 +0000
commit5857c595b3288906665cbc3e1e0576f50e90634d (patch)
treeebbc1a0f47f4975c47e63496f439ee70fb77c1b3 /tests/test_nodes.vty
parentd9724f429818c6ecd2af822ee2c68a52c2cce358 (diff)
osmo-hlr: allow configuring db path from cfg file
So far, the cmdline argument was the only way to set a database config file. Add a similar config to VTY as 'hlr' / 'database'. The cmdline arg is stronger than the 'database' cfg item. DB is not reloaded from VTY command. Change-Id: I87b8673324e1e6225afb758fb4963ff3279ea3d8
Diffstat (limited to 'tests/test_nodes.vty')
-rw-r--r--tests/test_nodes.vty2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
index d90fa70..a4e53db 100644
--- a/tests/test_nodes.vty
+++ b/tests/test_nodes.vty
@@ -75,6 +75,7 @@ OsmoHLR(config-hlr)# list
exit
end
gsup
+ database PATH
euse NAME
no euse NAME
ussd route prefix PREFIX internal (own-msisdn|own-imsi)
@@ -124,6 +125,7 @@ log stderr
...
hlr
store-imei
+ database hlr_vty_test.db
gsup
bind ip 127.0.0.1
ussd route prefix *#100# internal own-msisdn