barefootnetworks / Open-Tofino

Other
322 stars 66 forks source link

Open Tofino

We are openly publishing these files to make it possible for anyone developing Tofino-specific P4 data plane programs (both P414 and P416 versions) and related control plane applications to openly publish their data plane and control plane code.

License

The files are licensed under Creative Commons Attribution-NoDerivs (CC BY-ND 4.0) license (https://creativecommons.org/licenses/by-nd/4.0/legalcode). The text of the license can also be found in the LICENSE file.

Contents

This repository contains the files that describe the P4 target architecture for Intel® Tofino™ and Intel ® Tofino 2™. These files are copies of the corresponding files in the corresponding Intel® P4 Studio SDE release (see VERSION file), explicitly licensed under CC BY-ND 4.0.

FAQs

Q: What is being allowed?
A: You can openly publish your data plane code written for Tofino in both P414 and P416, as well as the accompanying control plane code. You can openly publish your own code written for Tofino, e.g. by putting it on Github, attaching to a publication, etc.

Q: What can I not publish?
A: You are not allowed to publish Intel software, e.g. the P4Studio SDE in source or in binary. You are also not allowed to publish the artifacts produced by the P4 compiler and other P4Studio tools, such as Tofino binary file (tofino.bin), context.json and bfrt.json, logs, visualizations, etc.

Q: Do I need an NDA to develop this code?
A: Yes, you do need an NDA and SLA to get access to documentation and P4 Studio release so you can develop the control plane and data plane code.

Q: What is Intel's vision for being more open about Tofino?
A: Just as Intel helped create one of the biggest software ecosystems in the computing industry, it is approaching the networking industry in a similar way. Thus, Intel believes Ethernet switch ASICs should have a software ecosystem that is as open and easy to participate in as CPUs. This announcement is just the first step. Stay tuned!

Q: Can you share examples of others who have taken advantage of Open Tofino?
A: Here is a list of repos, which showcase several projects using Open Tofino in ongoing research:

Q: How often is Open Tofino updated?
A: Next update of Open Tofino is expected to be a year from now along with next dot zero LTS SDE release