fixed PFC tests for Sonic fanouts#6640
Conversation
|
The pre-commit check detected issues in the files touched by this pull request. For old issues, it is not mandatory to fix them because they were not caused by this change. It is unfair to blame Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
|
@antonptashnik , pls port this to 202205 as well. Thanks! |
PFC tests fail on Sonic fanout because it has Python 3 env but PFC gen script is written for Python 2. Adapted PFC gen script to work both on Python 2 and 3.
PFC tests fail on Sonic fanout because it has Python 3 env but PFC gen script is written for Python 2. Adapted PFC gen script to work both on Python 2 and 3.
Description of PR
Summary: fixed PFC tests for Sonic fanouts
Fixes # (issue)
PFC tests fail on Sonic fanout because it has Python 3 env but PFC gen script is written for Python 2.
Adapted PFC gen script to work both on Python 2 and 3.
Type of change
Back port request
Approach
What is the motivation for this PR?
Support PFC tests on fanouts with Python 3
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation