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

[BFN] Added support for tofino3 profiles naming #2148

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

taras-keryk
Copy link

What I did

Added support for tofino3 P4 profiles naming.

How I did it

Changed P4 profile naming format for support new tofino3 profiles. Added backward compatibility support for previous profile naming format.

How to verify it

The next commands should correctly work with the old and new profile naming format

show platform barefoot profile

and

config platform barefoot profile

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

akokhan
akokhan previously approved these changes May 5, 2022
show/plugins/barefoot.py Outdated Show resolved Hide resolved
show/plugins/barefoot.py Outdated Show resolved Hide resolved
@taras-keryk taras-keryk force-pushed the tk_tof3_prof_nam_bf branch 4 times, most recently from 5dccfe8 to 14da5ab Compare December 13, 2022 09:50
@taras-keryk taras-keryk force-pushed the tk_tof3_prof_nam_bf branch 3 times, most recently from ff47f67 to 4831a8e Compare January 5, 2023 20:02
@taras-keryk taras-keryk force-pushed the tk_tof3_prof_nam_bf branch 5 times, most recently from db50151 to 9b3189e Compare January 10, 2023 08:14
@taras-keryk taras-keryk marked this pull request as ready for review January 10, 2023 09:16
config/plugins/barefoot.py Outdated Show resolved Hide resolved
@taras-keryk
Copy link
Author

@qiluo-msft could you please review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants