diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-02-29 21:01:28 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2024-03-04 19:06:06 +0000 |
commit | 988fe310e73e2c9ede87bf8e59d401a8fd791c85 (patch) | |
tree | a348792f8f0a14e49a685cd301d73d86a91080e7 | |
parent | 8f8568b1e32c1cc6d5948283cf981671be0f2b7e (diff) |
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
-rw-r--r-- | ttcn3-epdg-test/EPDG_Tests.cfg | 1 | ||||
-rwxr-xr-x | ttcn3-epdg-test/jenkins.sh | 3 |
2 files changed, 4 insertions, 0 deletions
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_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 096b2af..a4d029b 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 \ |