-
Notifications
You must be signed in to change notification settings - Fork 475
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
Added P4 Behavioral Model #492
Conversation
Fixed links, rename sai_object to sai_adapter in readme
Almost 600 files in one commit ? can you split that into couple PR ? Are all files go to BM directory ? |
|
Does this needs to be in SAI repo ? is that developed for SAI ? or maybe this can be in other repo and jus be git submodule here? I believe nobody will be able to do review of this code in this form |
yes, this provides the official SAI compliant software switch. |
@snifbh, can you rename the root directory to bm? we are using non capital letters. |
@lguohan done. |
did we modify any p4 switch behavior model? Is it possible to use submodule to link to a p4 switch behavior model here? The concern is that from time to time we probably want to upgrade to a new p4 switch behavior model. I prefer to only have following in the SAI repo.
Then, we can have a submodule link to bmv2 software, so that we can compile our P4-SAI model. This may be cleaner and more easy to understand our own contribution. |
@lguohan |
we can do this using our own build script, for example, first copy our target to the behaviroal-model/targets/folder and then compile. |
@lguohan done. |
This pull request contains:
currently only L2 (1D,1Q) flows are supported.