Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.58 KB

README.md

File metadata and controls

40 lines (28 loc) · 2.58 KB

ProNA p4-boilerplate

Currently p4-boilerplate uses the p4-tutorials, nsg-ethz p4-learning and the P4Environment of Fulda University of Applied Sciences. It serves as a basis for P4 based labs in the masters' course Advanced Computer Networks of the NetLab @ Fulda University of Applied Sciences and in the research Project ProNA.

Installation

Install the p4-tutorials VM or setup a Linux host with the provided bootstrap scripts (you can find pre-build VM images in the Web (e.g., here), but we recommend building a fresh install). You can also prepare a Ubuntu VM by using the installation scripts from the p4 guide repo.

git clone https://github.com/prona-p4-learning-platform/p4-boilerplate
git clone https://github.com/p4lang/tutorials
ln -s tutorials/utils utils

For testing and non-production setups, we also provide a container image containing the necessary toolchain, dependencies and lab material: p4-container

The container image can be run by using:

docker pull prona/p4-container
docker run -it --rm --privileged prona/p4-container

For additional details, see p4-container.

Usage Example

cd p4-boilerplate/Example1-Repeater
make
make clean

For further information, please see usage and examplary lab sheet the provided Examples:

p4-boilerplate is used together with learn-sdn-hub, p4-container and P4Environment in the research digLL Project ProNA of Hochschule Darmstadt University of Applied Sciences and NetLab @ Fulda University of Applied Sciences.