Skip to content

Getting started with P4: P4 examples and tutorials

Notifications You must be signed in to change notification settings

jwbensley/p4-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P4 Examples and Getting Started

This repo contains various materials which have been compiled in a single location. This collection of resources provides everything you need in one place, in order to work through some P4 "hello world" exercises.

Contents

  • P4 Overview - A good place to start, this is a glossary of P4 terminology which should give an idea of how the various P4 components relate to each other
  • bmv2 - After reading the overview, this shows how to compile programmes for the software switch based on the bmv2
  • examples/ - After reading the overview and bmv2 pages, next run various P4 example programs which provide working examples of different P4 features
  • learnings - Lessons learned about P4 whilst working on these exercises
  • resources/ - A local mirror of random P4 resources found on the Internet