[RFC v2 0/6] Add TREX Traffic Generator to DTS Framework
Nicholas Pratte
npratte at iol.unh.edu
Fri May 16 22:18:28 CEST 2025
v2:
* Still some formatting issues that need clean up.
* Several issues have been addressed
- Includes some of Patrick's comments.
- Personally identified bug fixes.
* Single core perf test has been fleshed out.
Nicholas Pratte (6):
dts: rework config module to support perf TGs
dts: rework traffic generator inheritance structure.
dts: add asynchronous support to ssh sessions.
dts: add extended timeout option to interactive shells.
dts: add trex traffic generator to dts framework
dts: add performance test functions to test suite api
dts/{ => configurations}/nodes.example.yaml | 0
.../test_run.example.yaml | 8 +-
dts/configurations/tests_config.example.yaml | 9 +
.../trex_configs/intel_40g.yaml | 18 ++
dts/framework/config/test_run.py | 20 +-
dts/framework/context.py | 11 +-
.../remote_session/interactive_shell.py | 9 +-
dts/framework/remote_session/ssh_session.py | 14 +
dts/framework/settings.py | 6 +-
dts/framework/test_run.py | 27 +-
dts/framework/test_suite.py | 33 +-
.../traffic_generator/__init__.py | 22 +-
.../capturing_traffic_generator.py | 34 ++
.../performance_traffic_generator.py | 69 +++++
.../traffic_generator/traffic_generator.py | 43 ---
.../testbed_model/traffic_generator/trex.py | 292 ++++++++++++++++++
dts/tests/TestSuite_single_core_perf.py | 56 ++++
dts/tests_config.example.yaml | 4 -
18 files changed, 605 insertions(+), 70 deletions(-)
rename dts/{ => configurations}/nodes.example.yaml (100%)
rename dts/{ => configurations}/test_run.example.yaml (82%)
create mode 100644 dts/configurations/tests_config.example.yaml
create mode 100644 dts/configurations/trex_configs/intel_40g.yaml
create mode 100644 dts/framework/testbed_model/traffic_generator/performance_traffic_generator.py
create mode 100644 dts/framework/testbed_model/traffic_generator/trex.py
create mode 100644 dts/tests/TestSuite_single_core_perf.py
delete mode 100644 dts/tests_config.example.yaml
--
2.47.1
More information about the dev
mailing list