Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P4 Lab

Introduction

Welcome to the P4 Lab! We've prepared a set of exercises to help you get started with P4 programming:

  1. Week 1: Introduction and Language Basics
  1. Week 2: P4Runtime and the Control Plane
  1. Weel 3: Monitoring and Debugging
  1. Week 4: Advanced Behavior and Stateful Packet Processing

Resources

Presentation slides are available online and in the P4_tutorial.pdf in the p4lab directory.

A P4 Cheat Sheet is also available online and in the p4-cheat-sheet.pdf in the p4lab directory. This contains various examples that you can refer to.

Obtaining required software

You can use the VM that is provided to you on Canvas.

Use the VM as follows:

  1. Make sure you have VirtualBox installed.
  2. Download the VM from the link on Canvas.
  3. Within VirtualBox: File>Import Appliance
  4. Follow the steps

The account p4 (password p4) should be logged in when the VM boots up by default, and is the one you are expected to use.

About

P4 language tutorials

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages