mgw: Set osmux bind-ip(-v6) VTY configs

Until now we forgot to properly configure the osmux socket local ip, but
that was fine because 0.0.0.0 was taken as a default.
With addition of IPv6, this changed, and the socket is not bound unless
an IP address is set (to allow conditional use of IPv4, IPv6 or both).

Depends: osmo-mgw.git Change-Id I446cd7da217e9f4a74995d7784ae55dcc60a29b7
Change-Id: I4e0ea11ae7e55da600aec56bebf694f3ba0f7b72
changes/16/29616/3
Pau Espin 2 months ago
parent 5fa8f781c3
commit a990b1bb60
  1. 28
      mgw/expected-results.xml
  2. 2
      mgw/osmo-mgw.cfg

@ -80,31 +80,11 @@
<testcase classname='MGCP_Test' name='TC_crcx_mdcx_ip6' time='MASKED'/>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_ipv4_ipv6' time='MASKED'/>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_ipv6' time='MASKED'/>
<testcase classname='MGCP_Test' name='TC_two_crcx_and_rtp_osmux_bidir_ipv6' time='MASKED'>
<failure type='fail-verdict'>Received unexpected type from Osmux
MGCP_Test.ttcn:MASKED MGCP_Test control part
MGCP_Test.ttcn:MASKED TC_two_crcx_and_rtp_osmux_bidir_ipv6 testcase
</failure>
</testcase>
<testcase classname='MGCP_Test' name='TC_two_crcx_and_rtp_osmux_bidir_ipv4_ipv6' time='MASKED'>
<failure type='fail-verdict'>Received unexpected type from Osmux
MGCP_Test.ttcn:MASKED MGCP_Test control part
MGCP_Test.ttcn:MASKED TC_two_crcx_and_rtp_osmux_bidir_ipv4_ipv6 testcase
</failure>
</testcase>
<testcase classname='MGCP_Test' name='TC_two_crcx_and_rtp_osmux_bidir_ipv6' time='MASKED' />
<testcase classname='MGCP_Test' name='TC_two_crcx_and_rtp_osmux_bidir_ipv4_ipv6' time='MASKED' />
<testcase classname='MGCP_Test' name='TC_two_crcx_and_rtp_osmux_bidir_ipv6_ipv4' time='MASKED'/>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_osmux_ipv6' time='MASKED'>
<failure type='fail-verdict'>Received unexpected type from Osmux
MGCP_Test.ttcn:MASKED MGCP_Test control part
MGCP_Test.ttcn:MASKED TC_two_crcx_mdcx_and_rtp_osmux_ipv6 testcase
</failure>
</testcase>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_osmux_ipv4_ipv6' time='MASKED'>
<failure type='fail-verdict'>Received unexpected type from Osmux
MGCP_Test.ttcn:MASKED MGCP_Test control part
MGCP_Test.ttcn:MASKED TC_two_crcx_mdcx_and_rtp_osmux_ipv4_ipv6 testcase
</failure>
</testcase>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_osmux_ipv6' time='MASKED' />
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_osmux_ipv4_ipv6' time='MASKED' />
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_rtp_osmux_ipv6_ipv4' time='MASKED'/>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_iuup' time='MASKED'/>
<testcase classname='MGCP_Test' name='TC_two_crcx_mdcx_and_iuup_rfci_unordered' time='MASKED'/>

@ -47,3 +47,5 @@ mgcp
number endpoints 31
allow-transcoding
osmux off
osmux bind-ip 127.0.0.1
osmux bind-ip-v6 ::1

Loading…
Cancel
Save