-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New p4 platform based on SAI behavioral model software switch #1105
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…llow compiling json in make
can you merge into master branch, v1.0.3 is no longer maintained. |
lguohan
reviewed
Nov 2, 2017
.gitmodules
Outdated
url = https://github.com/Mellanox/SAI-P4-BM.git | ||
[submodule "platform/p4/p4-hlir/p4-hlir-v1.1"] | ||
path = platform/p4/p4-hlir/p4-hlir-v1.1 | ||
url = git@github.com:p4lang/p4-hlir.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be https://github.com/p4lang/p4-hlir.git
Created a new pull request to master bracnh |
Pterosaur
added a commit
to Pterosaur/sonic-buildimage
that referenced
this pull request
Sep 8, 2022
660a920 [Chassis] Create fabric ports for switch_type fabric. (sonic-net#1114) 8140c22 Fix issue: bulk counter feature cannot compile on platforms having no sai_bulk_object_get_stats/sai_bulk_object_clear_stats (sonic-net#1105) 0aa60f5 [lgtm] Add uuid library (sonic-net#1119) Signed-off-by: Ze Gan <ganze718@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I did:
new software switch is aligned to SAI v1.0.3 tag, and currently supports basic L2, L3 (only via vlan interfaces) and host interface.
Build is the same as previous p4 platform.
How to verify it:
A similliar testbed to p4-test was created (same topology, only with vlan interface connections):
p4-test.tar.gz
to run the test (almost identical instructions found in the link):
• extract the tar
• install docker_ovs if you don't have already using the install_docker_ovs.sh script
• load the built image using the load_image.sh script
• start the switches and hosts using the start.sh
• wait about ~1-2 minutes until switches load entirely (until they run quagga services).
• Run the test using the test_patch.sh
Remark:
There is an open issue regarding misses in neighbor table in ipv4, which is why the test is patched by first pinging from the host
A picture of a cute animal (not mandatory but encouraged):