pespin has uploaded this change for review.
ttcn3-epdg: Set up params to get GTP-U echo working
Set the new module parameter added in the test.
Make sure the gtp_u_kmod osmo-epdg.config IP address is updated to the
proper docker network subnet.
Depends: osmo-ttcn3-hacks.git Change-Id I3fd96f212175959cb113d2f6a362c0e77e5ca0d7
Change-Id: I5cd9dcd6188227baed71823b0cbceb77dc771011
---
M ttcn3-epdg-test/EPDG_Tests.cfg
M ttcn3-epdg-test/jenkins.sh
2 files changed, 18 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/36/36136/1
diff --git a/ttcn3-epdg-test/EPDG_Tests.cfg b/ttcn3-epdg-test/EPDG_Tests.cfg
index 5dbcb4c..d61939a 100644
--- a/ttcn3-epdg-test/EPDG_Tests.cfg
+++ b/ttcn3-epdg-test/EPDG_Tests.cfg
@@ -11,6 +11,7 @@
EPDG_Tests.mp_swx_local_ip := "172.18.10.103"
EPDG_Tests.mp_s6b_local_ip := "172.18.10.103"
EPDG_Tests.mp_s2b_local_ip := "172.18.10.103"
+EPDG_Tests.mp_upf_gtpu_local_ip := "172.18.10.103"
EPDG_Tests.mp_gsup_remote_ip := "172.18.10.20"
EPDG_Tests.mp_s6b_remote_ip := "172.18.10.20"
diff --git a/ttcn3-epdg-test/jenkins.sh b/ttcn3-epdg-test/jenkins.sh
index 096b2af..a4d029b 100755
--- a/ttcn3-epdg-test/jenkins.sh
+++ b/ttcn3-epdg-test/jenkins.sh
@@ -18,6 +18,9 @@
network_create
network_replace_subnet_in_configs
+# gtp_u_kmod has the IP addresses as usual erlang-tuple format. Patch them too:
+sed -i -E -e "s/172\,18\,[0-9]{1,3}\,/172,18,$SUBNET,/g" $VOL_BASE_DIR/epdg/osmo-epdg.config
+#TODO: Patch IPv6 address once it's supported.
echo Starting container with osmo-epdg
docker run --rm \
To view, visit change 36136. To unsubscribe, or for help writing mail filters, visit settings.