pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/upf-benchmark/+/39898?usp=email )
Change subject: tunend: trex: Set proper port in server ASTFAssociationRule
......................................................................
tunend: trex: Set proper port in server ASTFAssociationRule
Change-Id: I5ed0b9e241593a5a96581e0ca99a52def8781b7e
---
M testsuites/gtplab-sysmo2025/tunend/trex/udp_simple.py
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/upf-benchmark refs/changes/98/39898/1
diff --git a/testsuites/gtplab-sysmo2025/tunend/trex/udp_simple.py
b/testsuites/gtplab-sysmo2025/tunend/trex/udp_simple.py
index 99ef6d4..5c7e5f7 100644
--- a/testsuites/gtplab-sysmo2025/tunend/trex/udp_simple.py
+++ b/testsuites/gtplab-sysmo2025/tunend/trex/udp_simple.py
@@ -39,8 +39,9 @@
# ip generator
ip_gen = self.create_ip_gen(prog_c, prog_s, addr_idx)
# template
- temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen)
- temp_s = ASTFTCPServerTemplate(program=prog_s,
assoc=ASTFAssociation(rules=ASTFAssociationRule(port=80+addr_idx)))
+ srv_port = 80 + addr_idx
+ temp_c = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen, port=srv_port)
+ temp_s = ASTFTCPServerTemplate(program=prog_s,
assoc=ASTFAssociation(rules=ASTFAssociationRule(port=srv_port)))
template = ASTFTemplate(client_template=temp_c, server_template=temp_s)
return template
--
To view, visit
https://gerrit.osmocom.org/c/upf-benchmark/+/39898?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: I5ed0b9e241593a5a96581e0ca99a52def8781b7e
Gerrit-Change-Number: 39898
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>