pespin has submitted this change. (
https://gerrit.osmocom.org/c/docker-playground/+/29615
)
Change subject: ttcn3-mgw: Set osmux bind-ip(-v6) VTY configs
......................................................................
ttcn3-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: Ib7e9428a10238fae395a1707d6034dc5c97b9024
---
M ttcn3-mgw-test/jenkins.sh
M ttcn3-mgw-test/osmo-mgw.cfg
2 files changed, 6 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/ttcn3-mgw-test/jenkins.sh b/ttcn3-mgw-test/jenkins.sh
index c0cf2f5..48cd1d1 100755
--- a/ttcn3-mgw-test/jenkins.sh
+++ b/ttcn3-mgw-test/jenkins.sh
@@ -15,6 +15,10 @@
mkdir $VOL_BASE_DIR/mgw
cp osmo-mgw.cfg $VOL_BASE_DIR/mgw/
+# Can be dropped once released osmo-mgw is >1.10.0:
+if image_suffix_is_latest; then
+ sed -i "/^ osmux bind-ip-v6 fd02:db8:4::180/d" $VOL_BASE_DIR/mgw/osmo-mgw.cfg
+fi
SUBNET=4
network_create $SUBNET
diff --git a/ttcn3-mgw-test/osmo-mgw.cfg b/ttcn3-mgw-test/osmo-mgw.cfg
index 4770732..36485d8 100644
--- a/ttcn3-mgw-test/osmo-mgw.cfg
+++ b/ttcn3-mgw-test/osmo-mgw.cfg
@@ -58,6 +58,8 @@
number endpoints 31
allow-transcoding
osmux off
+ osmux bind-ip 172.18.4.180
+ osmux bind-ip-v6 fd02:db8:4::180
trunk 1
sdp audio-payload send-ptime
sdp audio-payload send-name
--
To view, visit
https://gerrit.osmocom.org/c/docker-playground/+/29615
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ib7e9428a10238fae395a1707d6034dc5c97b9024
Gerrit-Change-Number: 29615
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged