Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This tutorial is for developers with intermediate knowledge of the P4 language who are interested in using ONOS as the control plane. It is organized around a sequence of hands-on exercises that show how to build a leaf-spine data center fabric based on Segment Routing over IPv6 (SRv6). Exercises include activities such as:

  • P4 implementation of basic forwarding behaviors (bridging and routing) as well as SRv6
  • Writing P4 unit tests using the Packet Test Framework (PTF)
  • Implementing an ONOS app providing the fabric control plane


Tutorial for beginners

If you are new to P4, we suggest you start from these other tutorials which focus more on the basics of the P4 language

Download the tutorial VM

While you go through the slides, it is a good idea to start downloading the VM (~5.3 GB):

Instructions to download the tutorial VM

Tutorial slides

Click here to download/open the slides in a new browser window (via Google Slides)

I want more!

Here are some pointers for you to learn more about P4 and ONOS:


  • No labels