A Hands-on Workshop on P4 Programmable Data Planes

 

A Hands-on Workshop on P4 Programmable Data Planes

CENIC 2022 Annual Conference

Wednesday September 28, 01:30-03:00pm, Pacific Time

 
Organizers
  • The Cyberinfrastructure Lab at UofSC
Venue
  • Hyatt Regency
  • Monterey, California
  •  

 

Overview

This tutorial provides Information Technology (IT) professionals with hands-on exercises on P4 programmable data plane switches, covering from introductory to advanced topics. Programmable data plane switches have recently emerged, attracting significant attention from the industry and the academia. They permit operators and programmers in general to run customized packet processing functions in the data plane at terabit rates, thus paving the way for an unprecedented wave of innovation and experimentation by reducing the time of designing, testing, and adopting new protocols; enabling a customized, top-down approach to develop network applications; providing granular visibility of packet events defined by the programmer; reducing complexity and enhancing resource utilization of the programmable switches; and drastically improving the performance of applications that are offloaded to the data plane. This tutorial will permit each attendee to execute virtual laboratory experiments, covering a wide range of features and topics related to P4 programmable switches, from introductory to advanced levels.

 

Outcomes

By the end of this tutorial, attendees will:

 
P4 Programmable Data Plane Switches (Part I):
  • Describe the elements of the Protocol Independent Switch Architecture (PISA)
  • Define protocol headers and header fields in P4
  • Write simple parsers using P4
  • Define match-action tables

Intended Audience

The tutorial is targeted to IT educators and professionals such as system administrators, network engineers, practitioners. The content is suitable for instructors who want to incorporate advanced material into their networking classes. The content is available for NETLAB systems.
 

Pre-requisites

Attendees are expected to know basic networking (IPv4, local area networks, OSI model). Training activities will be conducted using NetLab. Attendees will be provided with a username and a password.

 

Agenda

 

Wednesday, September 28
Time Topic Presenter
01:30 - 01:45 Overview of P4 and programmable data plane switches [PPT, PDF] Jorge Crichigno
01:45 - 02:10 Hands-on Session 1: intro to P4 and BMv2; writing, compiling, and downloading P4 code to the switch [PPT, PDF] Jorge Crichigno, Ali AlSabeh
02:00 - 02:20 Break  
02:20 - 02:30 Parsers and Match-action Tables [PPT, PDF] Jorge Crichigno
02:30 - 03:00 Hands-on Session 2: Parser Implementation and Match-action Tables [PPT, PDF] Jorge Crichigno, Ali AlSabeh

 

 

Resources

Item Note
VM for P4 Programmable Data Plane Switches (BMv2) Link Virtual Machine for the Introduction to P4 Programmable Data Plane Switches (BMv2) lab series
VM for P4 Programmable Data Planes: Applications, Stateful Elements, and Custom Packet Processing Link Virtual Machine for the P4 Programmable Data Planes: Applications, Stateful Elements, and Custom Packet Processing lab series
Cybertraining Material: Link List of virtual labs on Network tools and protocols, perfSONAR, P4, SDN, ...