summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/osmo_hlr.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-08 23:08:59 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-08 23:26:51 +0200
commit7b02ed0f4b7fbe906d294590e7bb1e89d86d0ec6 (patch)
treedefa9469d9607ae82e3a26f4525d4e5d3c2abad0 /src/osmo_gsm_tester/osmo_hlr.py
parentb902b299121d52cde92d0f235212b1f5cd97b872 (diff)
osmo-msc: configure HLR address
In db59bcf9fcdc5f05fdb9047b905ab497472440bc we added a configured GSUP server address for the osmo-hlr, but the osmo-msc is still trying to connect to 127.0.0.1. In the same way as for mgcpgw, add conf_for_msc() to OsmoHLR, and use that to configure the HLR's address in osmo-msc.cfg. Related: OS#2320 Change-Id: I005aa160c679fc92b248abd762888959bd5b2c55
Diffstat (limited to 'src/osmo_gsm_tester/osmo_hlr.py')
-rw-r--r--src/osmo_gsm_tester/osmo_hlr.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/osmo_hlr.py b/src/osmo_gsm_tester/osmo_hlr.py
index 354eb1d..3492f06 100644
--- a/src/osmo_gsm_tester/osmo_hlr.py
+++ b/src/osmo_gsm_tester/osmo_hlr.py
@@ -126,4 +126,7 @@ class OsmoHlr(log.Origin):
% (subscriber_id, modem.imsi(), modem.msisdn))
return subscriber_id
+ def conf_for_msc(self):
+ return dict(hlr=dict(ip_address=self.ip_address))
+
# vim: expandtab tabstop=4 shiftwidth=4