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
This commit is contained in:
parent
8f8568b1e3
commit
988fe310e7
|
@ -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"
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue