pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39918?usp=email )
Change subject: stp: TC_tmt_loadshare*: Use new vty command 'binding-table reset'
......................................................................
stp: TC_tmt_loadshare*: Use new vty command 'binding-table reset'
Reset the eSLS binding table state before starting the test, to run it
with a clean state.
This test also fixes TC_unknown_client_dynamic_tmt_loadshare since it
now resets the table after connecting the 2nd dynamic ASP, which allows
re-distributing all seeds in the table into the new available set of
ASPs.
Depends: libosmo-sigtran.git Change-Id I56c34072a9ded42c13dbfc105a0ab3353ca353ec
Change-Id: I40b7724edcc06a3df641e316be4770d0e56bb72d
---
M stp/STP_Tests_IPA.ttcn
M stp/STP_Tests_M3UA.ttcn
2 files changed, 8 insertions(+), 2 deletions(-)
Approvals:
osmith: Looks good to me, but someone else must approve
Jenkins Builder: Verified
pespin: Looks good to me, approved
diff --git a/stp/STP_Tests_IPA.ttcn b/stp/STP_Tests_IPA.ttcn
index 88c9312..66e7262 100644
--- a/stp/STP_Tests_IPA.ttcn
+++ b/stp/STP_Tests_IPA.ttcn
@@ -269,7 +269,8 @@
f_init_ipa();
- f_vty_config2(VTY, {"cs7 instance 0", "as " & mp_ipa_as_names[2] & " ipa"}, "traffic-mode loadshare");
+ f_vty_config3(VTY, {"cs7 instance 0", "as " & mp_ipa_as_names[2] & " ipa"},
+ { "traffic-mode loadshare", "binding-table reset" });
/* bring up the 'sender' side (single ASP in AS) */
f_connect_ipa(0, unknwon_dynamic_asp);
@@ -284,6 +285,10 @@
/* activate the second 'receiver' side ASP */
f_connect_ipa(3, unknwon_dynamic_asp);
+ /* Since we are using dynamic ASPs, they were unknown by STP until they got connected.
+ * Hence, reset the binding-table so that load is now properly spread among them: */
+ f_vty_config2(VTY, {"cs7 instance 0", "as " & mp_ipa_as_names[2] & " ipa"}, "binding-table reset" );
+
/* verify traffic is routed from sender to new receiver */
const integer iter_per_asp := 20;
const integer NUM_SLS := 16; /* SLS in ITU is 4 bits. */
diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn
index ba44b3f..89be9e0 100644
--- a/stp/STP_Tests_M3UA.ttcn
+++ b/stp/STP_Tests_M3UA.ttcn
@@ -663,7 +663,8 @@
f_init_m3ua();
- f_vty_config2(VTY, {"cs7 instance 0", "as as-receiver m3ua"}, "traffic-mode loadshare");
+ f_vty_config3(VTY, {"cs7 instance 0", "as as-receiver m3ua"},
+ { "traffic-mode loadshare", "binding-table reset" });
var OCT4 rctx_sender := int2oct(f_m3ua_cli_config(0).routing_ctx, 4);
var OCT4 pc_sender := int2oct(f_m3ua_cli_config(0).point_code, 4);
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39918?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I40b7724edcc06a3df641e316be4770d0e56bb72d
Gerrit-Change-Number: 39918
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Jenkins Builder has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39931?usp=email )
Change subject: testsuites: eupf: Apply correct iface name in yaml file
......................................................................
Patch Set 1:
(1 comment)
File testsuites/gtplab-sysmo2025/tunend/upf/eupf/configure.sh:
Robot Comment from checkpatch (run ID ):
https://gerrit.osmocom.org/c/upf-benchmark/+/39931/comment/8ac57c63_2a473e3… :
PS1, Line 81: sed -i "s/TEMPLATE_IFACE_CN/$IFACE_CN/g" "${SCRIPT_DIR}/eupf.yaml"
adding a line without newline at end of file
--
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: comment
Gerrit-Project: upf-benchmark
Gerrit-Branch: master
Gerrit-Change-Id: Idde13ca376fa97ddc509a9f2d53a0ca903e7f46f
Gerrit-Change-Number: 39931
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Fri, 04 Apr 2025 15:15:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39932?usp=email )
Change subject: testsuites: tunmap: trex: Set default run time to 600 seconds
......................................................................
testsuites: tunmap: trex: Set default run time to 600 seconds
Previous default of 60 was too short and I was all the time changing it
manually.
Also change the default target rate to 8275 kpps, which is aproximatelly
the amount needed to fill the 100 gbps NIC.
Change-Id: I9a20d71f542956eee08eff75eeab6a284cfdd16e
---
M testsuites/gtplab-sysmo2025/tunmap/trex/run.sh
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/upf-benchmark refs/changes/32/39932/1
diff --git a/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh b/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh
index 99f5e3c..d402c89 100755
--- a/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh
+++ b/testsuites/gtplab-sysmo2025/tunmap/trex/run.sh
@@ -8,7 +8,7 @@
NUM_ADDRS=100
# TODO: apply this automatically with "expect":
-echo "To start the test, run: > reset; start -f ${SCRIPT_DIR}/gtp_1pkt_simple.py -p 0 -m 4000kpps -d 60 -t num-streams=${NUM_STREAMS},num-addrs=${NUM_ADDRS}"
+echo "To start the test, run: > reset; start -f ${SCRIPT_DIR}/gtp_1pkt_simple.py -p 0 -m 8275kpps -d 600 -t num-streams=${NUM_STREAMS},num-addrs=${NUM_ADDRS}"
echo "Once the test finishes, run: > stats"
# Needs to be executed from /opt/trex ...
--
To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39932?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: I9a20d71f542956eee08eff75eeab6a284cfdd16e
Gerrit-Change-Number: 39932
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>