A presentation by the P4 Language Consortium
Held at InterContinental Budapest on Monday, August 20, 2018
Virtual Machine
We have created a virtual machine that has all of the software needed to complete the developer day exercises already installed. You can either download a virtual machine image or build it from source. Note that both of these procedures can take around 45 minutes depending on the speed of your network connection.
- To download the virtual machine image
- Install VirtualBox
https://virtualbox.org - Download virtual machine image
P4 Tutorial 2018-06-01.ova - Import virtual machine into VirtualBox
Open VirtualBox, select “File > Import Appliance”, and navigate to the downloaded file. - Boot virtual machine
Select “P4 Tutorial 2018-06-01”, and click “Start”.
- Install VirtualBox
- To build the virtual machine from source
- Install VirtualBox
https://virtualbox.org - Install Vagrant
https://vagrantup.com - Clone the tutorial repository
$ git clone https://github.com/p4lang/tutorials
- Navigate to the vm directory
$ cd tutorials/vm/
- Build the virtual machine
$ vagrant up
- Install VirtualBox
- Final steps
After the machine boots, you should have a graphical desktop with all required software pre-installed, logged in as username “p4” (with password “p4”).
Agenda
- 9:00 – 10:30am
- Introduction to P4 and Overview of New Language Features
- 10:30 – 11:00am
- Break
- 11:00 – 12:40
- P4 Development Tools and Control Plane Interface
- 12:40 – 2:00pm
- Lunch
- 2:00 – 3:15pm
- Collaborative Lab Exercises
- 3:15 – 3:45pm
- Break
- 3:45-5:30
- Mini Research Workshop, Conclusion