A presentation by the P4 Education Working Group at NANOG 75.
Held at the Hyatt Regency San Francisco on Tuesday, February 19, 2019, 4:00-6:00pm.
Instructors
- Andy Fingerhut (Cisco Systems)
- Antonin Bas (Barefoot Networks)
Software
We have created a Docker image that has all of the software needed to complete the tutorial exercises already installed.
- To download the Docker image:
- Install Dockerhttps://www.docker.comYou may also find the instructions at the following links useful:
When installing on Ubuntu, make sure you do the optional step 2 (“Executing the Docker Command Without Sudo”).
- Clone the p4app repository:
git clone --branch p4app --recurse-submodules https://github.com/p4lang/tutorials
- Change directory to the first exercise:
cd tutorials/p4app-exercises/basic.p4app
- Try running the first example. This will download the docker image and store it locally, so you will have it ready for the event. You should see a mininet prompt (
mininet>
) at the end:make run
- Install Dockerhttps://www.docker.comYou may also find the instructions at the following links useful: