From 988fe310e73e2c9ede87bf8e59d401a8fd791c85 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 29 Feb 2024 21:01:28 +0100 Subject: [PATCH] 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 --- ttcn3-epdg-test/EPDG_Tests.cfg | 1 + ttcn3-epdg-test/jenkins.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ttcn3-epdg-test/EPDG_Tests.cfg b/ttcn3-epdg-test/EPDG_Tests.cfg index 5dbcb4c1..d61939a1 100644 --- a/ttcn3-epdg-test/EPDG_Tests.cfg +++ b/ttcn3-epdg-test/EPDG_Tests.cfg @@ -11,6 +11,7 @@ EPDG_Tests.mp_gsup_local_ip := "172.18.10.103" 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 096b2af2..a4d029bb 100755 --- a/ttcn3-epdg-test/jenkins.sh +++ b/ttcn3-epdg-test/jenkins.sh @@ -18,6 +18,9 @@ cp osmo-epdg.config $VOL_BASE_DIR/epdg/ 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 \