aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-mgw-test
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-08 20:09:37 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-08 20:12:25 +0200
commitc90560f64fff5fa490ae965c6e9a4c37f2939d2a (patch)
tree9e38f547ba2ff5967c609863bce9245fddaf4b23 /ttcn3-mgw-test
parent4d9cde0f4d4c885cca7ae9b4b0adff8796caf1a4 (diff)
ttcn3-mgw: Update module param addresses naming to support ipv6
Diffstat (limited to 'ttcn3-mgw-test')
-rw-r--r--ttcn3-mgw-test/MGCP_Test.cfg6
-rwxr-xr-xttcn3-mgw-test/jenkins.sh2
-rw-r--r--ttcn3-mgw-test/osmo-mgw.cfg1
3 files changed, 7 insertions, 2 deletions
diff --git a/ttcn3-mgw-test/MGCP_Test.cfg b/ttcn3-mgw-test/MGCP_Test.cfg
index 0c6a550..b70514e 100644
--- a/ttcn3-mgw-test/MGCP_Test.cfg
+++ b/ttcn3-mgw-test/MGCP_Test.cfg
@@ -8,8 +8,10 @@
*.MGWVTY.CTRL_HOSTNAME := "172.18.4.180"
[MODULE_PARAMETERS]
-mp_local_ip:= "172.18.4.181";
-mp_remote_ip:= "172.18.4.180";
+mp_local_ipv4 := "172.18.4.181";
+mp_local_ipv6 := "fd02:db8:4::181";
+mp_remote_ipv4 := "172.18.4.180";
+mp_remote_ipv6 := "fd02:db8:4::180";
[MAIN_CONTROLLER]
diff --git a/ttcn3-mgw-test/jenkins.sh b/ttcn3-mgw-test/jenkins.sh
index 228740b..c49096b 100755
--- a/ttcn3-mgw-test/jenkins.sh
+++ b/ttcn3-mgw-test/jenkins.sh
@@ -20,6 +20,8 @@ if [ "$IMAGE_SUFFIX" = "latest" ]; then
sed -i "s/e1_line.*//" $VOL_BASE_DIR/mgw/osmo-mgw.cfg
sed -i "s/e1_input.*//" $VOL_BASE_DIR/mgw/osmo-mgw.cfg
sed -i "s/line 0.*//" $VOL_BASE_DIR/mgw/osmo-mgw.cfg
+ # Disable IPv6 until osmo-mgw .git release > 1.7.0 is available
+ sed "/fd02:db8/d" -i $VOL_BASE_DIR/mgw/osmo-mgw.cfg
fi
# start container with mgw in background
diff --git a/ttcn3-mgw-test/osmo-mgw.cfg b/ttcn3-mgw-test/osmo-mgw.cfg
index 8036058..1c49b11 100644
--- a/ttcn3-mgw-test/osmo-mgw.cfg
+++ b/ttcn3-mgw-test/osmo-mgw.cfg
@@ -31,6 +31,7 @@ mgcp
bind port 2427
rtp port-range 4002 16000
rtp bind-ip 172.18.4.180
+ rtp bind-ip-v6 fd02:db8:4::180
rtp ip-probing
rtp ip-dscp 184
no rtp keep-alive