The goal of this tutorial is to teach you the basics of P4, P4Runtime, and ONOS. It includes also hands-on exercises that you can run on a tutorial VM. In the exercises, you will learn how to create an emulated network of P4 devices using Mininet and BMv2 (the reference P4 software switch) controlled by ONOS via P4Runtime, while using a custom P4 program.
Download the tutorial VM
While you go through the slides, it is a good idea to start downloading the VM (~4 GB):
I want more!
Here are some pointers for you to learn more about P4 and ONOS:
- Basic ONOS Tutorial: learn more about ONOS
- Official P4 language tutorials: learn more about the P4 language
- Trellis+P4 tutorial: Use ONOS and P4 in leaf-spine data center fabric (includes exercises on P4-based VNF offloading of mobile S/PGW)