Skip to content

Latest commit

 

History

History
 
 

documentation

Documentation

This documentation contains helpful information that will help you getting started with P4.

The questions that get asked often (if any) will be added to the FAQ section (which at the moment is empty). Useful resources and documentation will also be added if something new comes or if people ask about it.

Before asking something check if the solution to your problem can be found in any of the following documents and links, or examples.

Getting Started With P4:

  1. Build VM Build The VM from scratch using Vagrant
  2. Download VM Get the OVA Image to directly import it to VirtualBox
  3. P4 Tutorials Official P4 tutorials (they use the P4Runtime).
  4. P4 Exercises List of exercises from this repository.
  5. P4 Utils Mininet Extension to build P4 networks

P4 References

  1. P4 Spec P4 Language and Related Specifications.
  2. P4-guide Repository which contains a lot of useful information, examples, tests of what works or what does not, etc.
  3. P4 Repositories Guide to the public p4lang repositories

Resources

  1. Manual Topology Setup Example that shows how to run a small topology without using mininet
  2. Useful Scripts Set of useful scripts
  3. Simple Switch Bmv2 Simple Switch implementation documentation
  4. Control Plane Simple Switch Control plane documentation
  5. Debugging and Troubleshooting Debugging and Troubleshooting guidelines
  6. Scapy Scapy Packet Manipulation library written in python
  7. FAQ List of most asked questions from students