Adding P4D2_2018_East Folder (#116)
* Copying P4D2 Fall 2017 into P4D2 2018 East. * Updated P4D2_2018_East VM. Added vagrant URL workaround, cdrom to VM. Updated to latest commits of BMV2, p4c, PI. Known issue with p4runtime exercise. * Applied patch from @antoninbas in and updated solution
This commit is contained in:
49
P4D2_2018_East/exercises/README.md
Normal file
49
P4D2_2018_East/exercises/README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# P4 Tutorial
|
||||
|
||||
## Introduction
|
||||
|
||||
Welcome to the P4 Tutorial!
|
||||
|
||||
We've prepared a set of exercises to help you get started with P4
|
||||
programming, organized into four modules:
|
||||
|
||||
1. Introduction and Language Basics
|
||||
* [Basic Forwarding](./basic)
|
||||
* [Basic Tunneling](./basic_tunnel)
|
||||
|
||||
2. P4 Runtime and the Control Plane
|
||||
* [P4 Runtime](./p4runtime)
|
||||
|
||||
3. Monitoring and Debugging
|
||||
* [Explicit Congestion Notification](./ecn)
|
||||
* [Multi-Hop Route Inspection](./mri)
|
||||
|
||||
4. Advanced Data Structures
|
||||
* [Source Routing](./source_routing)
|
||||
* [Calculator](./calc)
|
||||
|
||||
5. Dynamic Behavior
|
||||
* [Load Balancing](./load_balance)
|
||||
|
||||
## Obtaining required software
|
||||
|
||||
If you are starting this tutorial at the Fall 2017 P4 Developer Day, then we've already
|
||||
provided you with a virtual machine that has all of the required
|
||||
software installed.
|
||||
|
||||
Otherwise, to complete the exercises, you will need to either build a
|
||||
virtual machine or install several dependencies.
|
||||
|
||||
To build the virtual machine:
|
||||
- Install [Vagrant](https://vagrantup.com) and [VirtualBox](https://virtualbox.org)
|
||||
- `cd vm`
|
||||
- `vagrant up`
|
||||
- Log in with username `p4` and password `p4` and issue the command `sudo shutdown -r now`
|
||||
- When the machine reboots, you should have a graphical desktop machine with the required
|
||||
software pre-installed.
|
||||
|
||||
To install dependencies by hand, please reference the [vm](../vm) installation scripts.
|
||||
They contain the dependencies, versions, and installation procedure.
|
||||
You can run them directly on an Ubuntu 16.04 machine:
|
||||
- `sudo ./root-bootstrap.sh`
|
||||
- `sudo ./user-bootstrap.sh`
|
||||
Reference in New Issue
Block a user