Skip to content
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

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Commits on Aug 26, 2021

  1. Design testing framework for ASTF-mode TRex for linerate TCP testing

    * 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
    Darius Grassi committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    ba1df04 View commit details
    Browse the repository at this point in the history
  2. Add copyright and licensing information to new files

    Darius Grassi committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    e564ef0 View commit details
    Browse the repository at this point in the history
  3. Bugfix and cleanup

    * 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
    Darius Grassi committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    90156b0 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2021

  1. Minor cleanup

    Darius Grassi committed Aug 27, 2021
    Configuration menu
    Copy the full SHA
    ce508e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2021

  1. Configuration menu
    Copy the full SHA
    4bebbba View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. Address comments

    Darius Grassi committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    d27f106 View commit details
    Browse the repository at this point in the history
  2. Fix small mistake

    Darius Grassi committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    5376aac View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2021

  1. Add update from debugging and forum advice

    * astf_tcp_flow: add switch port configuration and capture receive port
    * http_eflow: match style of http_eflow profile instead of http_eflow2
    Darius Grassi committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    d23ced6 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2021

  1. Configuration menu
    Copy the full SHA
    cb958a3 View commit details
    Browse the repository at this point in the history
  2. Fix bug where ASTF servers were not receiving client requests

    * 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
    Darius Grassi committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    e024ff5 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Configuration menu
    Copy the full SHA
    b834bcb View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Employ multiple methods to increase throughput and change behaviour of

    TCP profile
    Darius Grassi committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    d461149 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2021

  1. Cleanup and verify test is only using one flow

    * 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
    Darius Grassi committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    e14cf92 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Configuration menu
    Copy the full SHA
    c1ed339 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Create a helper function for TRex tests which prints out readable

    statistics for a specified port every second
    Darius Grassi committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    17e4444 View commit details
    Browse the repository at this point in the history
  2. Normalize TRex INT tests to meet certain baseline expectations:

    * 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
    Darius Grassi committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    6bbce17 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Switch branch from trex-continuous-helper to main

    Darius Grassi committed Sep 25, 2021
    Configuration menu
    Copy the full SHA
    ccc3e09 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Configuration menu
    Copy the full SHA
    95a445f View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Address Yi comments

    Darius Grassi committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    dd373c9 View commit details
    Browse the repository at this point in the history
  2. Address comments and list all ports

    Darius Grassi committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    d78ba82 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'trex-continuous-helper' into tcp-linerate

    Darius Grassi committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    5f554cb View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Address Carmelo comments

    Darius Grassi committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    c880cff View commit details
    Browse the repository at this point in the history
  2. Return dictionary of all results with function

    Darius Grassi committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    3dbbf81 View commit details
    Browse the repository at this point in the history
  3. Address comments

    Darius Grassi committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    8eb6768 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2021

  1. Merge branch 'trex-continuous-helper' into tcp-linerate

    Darius Grassi committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    18925df View commit details
    Browse the repository at this point in the history
  2. Merge branch 'normalize-trex-test' into tcp-linerate

    Darius Grassi committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    e2e86b6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into tcp-linerate

    Darius authored Sep 30, 2021
    Configuration menu
    Copy the full SHA
    6c42081 View commit details
    Browse the repository at this point in the history
  4. Remove extra monitor_port_stats function

    Darius Grassi committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    7222d87 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. Split sanity test, normalize and add verification

    * 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
    Darius Grassi committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    cf558b7 View commit details
    Browse the repository at this point in the history
  2. Modify push_chassis_config and remove shaped sanity test

    Darius Grassi committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b86dcd3 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2021

  1. Configuration menu
    Copy the full SHA
    8aa46ef View commit details
    Browse the repository at this point in the history