Commit Graph

12 Commits

Author SHA1 Message Date
Pau Espin 78d8eb2f4a ttcn3-epdg: Test GTP-U userplane
Set the assigned IP address for the UE in the EPDG docker container on
the eth0 interface. This way the emulated UPF (ttcn3) can test
decaps+encaps of osmo-epdg tun by pinging the UE IP address and
expecting a pong back.

Related: OS#6235
Change-Id: Icc5710b42e5a5374aade6b952e1c543565ffad2e
2024-03-04 19:06:06 +00:00
Pau Espin 988fe310e7 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
2024-03-04 19:06:06 +00:00
Pau Espin 5d0361210b ttcn3-epdg: Give some time for osmo-epdg to start
erlang osmo-epdg is a bit slow starting up, and sometimes the first ttcn3
test may start when osmo-epdg is still not yet listening on the GSUP
socket, specially when the system is on high load.
Give some head time to make sure it is properly started.

Change-Id: I14e39db6548409b203e15fb562e0b44a90bd44cd
2024-02-21 18:23:21 +01:00
Pau Espin db7d74263c ttcn3-epdg: Create tun with iface name gtp0
As done in the default/usual config.

Change-Id: I066c22a381ab85762c8ef247a5eb248f7adf6c71
2024-02-21 18:22:41 +01:00
Pau Espin 11b9d4c85c epdg: Configure gtpu tunnel
Related: OS#6235
Change-Id: Ifeece08cdcceb378ae1e195cada5bfef54a1e2bd
2024-02-14 18:35:06 +01:00
Pau Espin 27a8a92deb ttcn3-epdg: Run osmo-epdg with CAP_NET_ADMIN
This will be needed since soon osmo-epdg will start creating tunnel
devices througth gtp_u_kmod, which requires CAP_NET_ADMIN, plus it will
need probably need to set up local IP addresses.

Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
2024-01-22 13:46:17 +01:00
Pau Espin 26d9e95c11 ttcn3-epdg: Add section to control logging
Similar as to what's defined in osmo-epdg.git/config/sys.config.

Change-Id: I7b9a3421b5f0f384324bb0f9b6de3fffdceaef53
2024-01-18 14:10:40 +01:00
Pau Espin e988b37ea5 ttcn3-epdg: Update renamed config fields
The config file fields have been renamed recently, update them.

Depends: osmo-epdg.git Change-Id I63fe4c7acc7460575a921b254adf066134c0527f
Change-Id: Ic9f2f33b8ffae7b4273e6fac8a42b6e9e1e38ed8
2024-01-16 19:48:57 +01:00
Pau Espin 9f49f87963 ttcn3-epdg: Set new osmo-epdg diameter connect/wathdog configs
Depends: osmo-epdg.git Change-Id I99b5e02264c2c35a3fbfcd2d6083a07e2cfea566
Change-Id: I3632abb8b33d5f2636f443573196d73ea8d3c818
2024-01-16 18:40:53 +01:00
Pau Espin 3b40997ca6 ttcn3-epdg: Configure S6b interface
Configure the newly added S6b interface on both TTCN3 emulation code as
well as osmo-epdg.

Depends: osmo-ttcn3-hacks.git Change-Id Ia50698a3f6f5ed8251486b84c09f84edfd6d3951
Depends: osmo-epdg.git Change-Id Ia2b138317cb291a95882853f5403949c5e6a5a1b
Change-Id: I1145ee1068a2fdd2fe8d3e48b80c8e6c1fcb50ad
2023-10-23 14:39:18 +02:00
Pau Espin 07ba820565 ttcn3-epdg-test: Update config file to set up GTPv2C socket
Depends: osmo-epdg.git I6f00b7fce2d5fcdc484bfd45629b9141f16bc579
Depends: osmo-ttcn3-hacks.git I8f18c927b1897806233cc9d049c25694c1e639d4
Change-Id: I05ae2d87e16cef9772bc5c3690f687e5ecbd5f51
2023-10-19 17:08:20 +02:00
Pau Espin 2a5ce78348 Introduce ttcn3-epdg-test
Change-Id: I77a4d66c1bd0236dee8fc54e03a9d6bf8d63f204
2023-10-17 19:13:25 +02:00