Included in a semi-complete, RFC implementation for a would-be implementation of the TREX traffic generator, in addition to a mock implementation of a single core performance test suite, leveraging newly added performance test API functionality.
Code is incomplete with a handful of typing issues, but does execute without errors on my system. Nicholas Pratte (5): dts: rework config module to support perf TGs dts: rework traffic generator inheritance structure. dts: add asychronous support to ssh sessions. 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 +- .../tests_config.example.yaml | 0 .../trex_configs/intel_40g.yaml | 18 ++ dts/framework/config/test_run.py | 20 +- dts/framework/context.py | 11 +- dts/framework/remote_session/ssh_session.py | 17 ++ dts/framework/settings.py | 6 +- dts/framework/test_run.py | 28 +- dts/framework/test_suite.py | 33 +- .../traffic_generator/__init__.py | 22 +- .../capturing_traffic_generator.py | 34 +++ .../performance_traffic_generator.py | 62 ++++ .../traffic_generator/traffic_generator.py | 43 +-- .../testbed_model/traffic_generator/trex.py | 287 ++++++++++++++++++ dts/tests/TestSuite_single_core_perf.py | 24 ++ 16 files changed, 550 insertions(+), 63 deletions(-) rename dts/{ => configurations}/nodes.example.yaml (100%) rename dts/{ => configurations}/test_run.example.yaml (82%) rename dts/{ => configurations}/tests_config.example.yaml (100%) 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 -- 2.47.1