pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39931?usp=email )
Change subject: testsuites: eupf: Apply correct iface name in yaml file ...................................................................... testsuites: eupf: Apply correct iface name in yaml file Change-Id: Idde13ca376fa97ddc509a9f2d53a0ca903e7f46f --- M testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh M testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml M testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh M testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml M testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh 5 files changed, 11 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/upf-benchmark refs/changes/31/39931/1 diff --git a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh index ec57655..6e832e6 100755 --- a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh @@ -75,3 +75,7 @@ # Add route towards HTTP server on the CN side, aka "the Internet" sudo ip route add 48.0.0.0/16 via $ADDR_GW_CN dev $IFACE_CN || true + +# Apply host specific iface names: +sed -i "s/TEMPLATE_IFACE_RAN/$IFACE_RAN/g" "${SCRIPT_DIR}/eupf.yaml" +sed -i "s/TEMPLATE_IFACE_CN/$IFACE_CN/g" "${SCRIPT_DIR}/eupf.yaml" \ No newline at end of file diff --git a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml index 2d41730..3f7326b 100644 --- a/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml +++ b/testsuites/gtplab-sysmo2025/tunend/upf/eupf/eupf.yaml @@ -1,4 +1,4 @@ -interface_name: [enp2s0f0np0, enp2s0f1np1] +interface_name: [TEMPLATE_IFACE_RAN, TEMPLATE_IFACE_CN] xdp_attach_mode: native api_address: :8080 pfcp_address: 172.16.31.2:8805 diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh index 42526ff..bcd9ee7 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/configure.sh @@ -58,3 +58,7 @@ # TRex doesn't answer ARPs, so we need to set up the CN-side peer: sudo ip neigh add 172.16.31.200 lladdr "$MAC_CN_PEER" nud permanent dev $IFACE_CN || true; + +# Apply host specific iface names: +sed -i "s/TEMPLATE_IFACE_RAN/$IFACE_RAN/g" "${SCRIPT_DIR}/eupf.yaml" +sed -i "s/TEMPLATE_IFACE_CN/$IFACE_CN/g" "${SCRIPT_DIR}/eupf.yaml" diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml index 2483a72..bdc60d8 100644 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/eupf/eupf.yaml @@ -1,4 +1,4 @@ -interface_name: [enp2s0f0np0, enp2s0f1np1] +interface_name: [TEMPLATE_IFACE_RAN, TEMPLATE_IFACE_CN] xdp_attach_mode: native api_address: :8080 pfcp_address: 172.16.31.2:8805 diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh index 42526ff..7c308ce 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/osmo-upf/configure.sh @@ -58,3 +58,4 @@ # TRex doesn't answer ARPs, so we need to set up the CN-side peer: sudo ip neigh add 172.16.31.200 lladdr "$MAC_CN_PEER" nud permanent dev $IFACE_CN || true; + -- To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39931?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: upf-benchmark Gerrit-Branch: master Gerrit-Change-Id: Idde13ca376fa97ddc509a9f2d53a0ca903e7f46f Gerrit-Change-Number: 39931 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pes...@sysmocom.de>