-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] [SDFAB-512] Design testing framework for ASTF-mode TRex for linerate TCP testing #368
base: main
Are you sure you want to change the base?
Conversation
* Create new TRex class for ASTFClient * Add astf flag option to activate TRex in ASTF mode * Implement basic ASTF test class and ASTF HTTP profile
Codecov Report
@@ Coverage Diff @@
## main #368 +/- ##
============================================
+ Coverage 67.09% 67.12% +0.02%
- Complexity 552 554 +2
============================================
Files 60 60
Lines 3951 3951
Branches 401 401
============================================
+ Hits 2651 2652 +1
Misses 1080 1080
+ Partials 220 219 -1
Continue to review full report at Codecov.
|
* Remove `argparse` section of HTTP ASTF profile. This removes the ability to call the profile from the CLI, but solves annoying bugs related to passing the tunables from the test to the profile * Remove `astf_path.py` file * Fix small issues with test file
* astf_tcp_flow: add switch port configuration and capture receive port * http_eflow: match style of http_eflow profile instead of http_eflow2
* Pass astf param to start_stateless call in ptf_runner * Combine ASTF profile and client code into one test file * Create new ASTF base class not including any STL calls
* Revert trex-config changes * Change to 1 core so there is only 1 flow generated (if 16 core, 16 parallel flows are created) * Cleanup test file
statistics for a specified port every second
* Runtime is based on specified duration is test file * Generate expected amount of traffic * Use a multiplier/speedup of 1 * Only specify traffic rate as part of stream definition * Only use doRunTest convention if multiple parameters are being tested
* Split sanity test into two tests: unshaped 40G ports, and shaped 1G egress port * Add pydoc for both tests * Normalize tests to match TRex INT test structure * Add verification of average rates to tests
Can one of the admins verify this patch? For help please reach out to [email protected]. The list of admins can be updated in the Jenkins configuration. |
a6ebb69
to
fe32c4a
Compare
--trex-astf-mode
flag to activate TRex in ASTF mode