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

Make PFC commands use a class #3057

Merged
merged 11 commits into from
May 31, 2024
Merged

Commits on May 28, 2024

  1. Make pfc commands use a class.

    This change puts contents originally in pfc/main.py into a class,
    to support the usage of the multi-asic helper in a future change.
    This change is required, as multi-asic helper relies on certain members
    of the class to exist. The multi-asic class helper will be used to add
    multi-asic support to pfc commands.
    bktsim-arista authored and kenneth-arista committed May 28, 2024
    Configuration menu
    Copy the full SHA
    4e11595 View commit details
    Browse the repository at this point in the history
  2. add tests

    bktsim-arista authored and kenneth-arista committed May 28, 2024
    Configuration menu
    Copy the full SHA
    0aacc29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    666ca91 View commit details
    Browse the repository at this point in the history
  4. Miscellaneous linter fixes

    rdjeric-arista authored and kenneth-arista committed May 28, 2024
    Configuration menu
    Copy the full SHA
    29c1681 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    15c1bae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e96eea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4e7731f View commit details
    Browse the repository at this point in the history
  8. Add new test result import

    rdjeric-arista authored and kenneth-arista committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ff4f399 View commit details
    Browse the repository at this point in the history
  9. Sorted imports

    rdjeric-arista authored and kenneth-arista committed May 28, 2024
    Configuration menu
    Copy the full SHA
    8566ef7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    735bccd View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Removed UTILITIES_UNIT_TESTING

    Removed the use of the environment variable to test `config asymmetric
    on`. Instead replaced the validation method with a direct check for the
    expected CONFIG_DB entry. Also removed the unnecessary classmethods in
    TestPfcBase.
    kenneth-arista committed May 29, 2024
    Configuration menu
    Copy the full SHA
    cc424b4 View commit details
    Browse the repository at this point in the history