osmo-msc: configure HLR address
In db59bcf9fc
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
This commit is contained in:
parent
b902b29912
commit
7b02ed0f4b
|
@ -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
|
||||
|
|
|
@ -72,6 +72,7 @@ class OsmoMsc(log.Origin):
|
|||
config.overlay(values, self.suite_run.config())
|
||||
config.overlay(values, dict(msc=dict(ip_address=self.ip_address)))
|
||||
config.overlay(values, self.mgcpgw.conf_for_msc())
|
||||
config.overlay(values, self.hlr.conf_for_msc())
|
||||
|
||||
self.dbg('MSC CONFIG:\n' + pprint.pformat(values))
|
||||
|
||||
|
|
|
@ -28,3 +28,5 @@ smpp
|
|||
esme test
|
||||
password test
|
||||
default-route
|
||||
hlr
|
||||
remote-ip ${hlr.ip_address.addr}
|
||||
|
|
Loading…
Reference in New Issue