GithubHelp home page GithubHelp logo

P4DB: On-the-fly Debugging of the Programmable Data Plane

P4Db is a general debugging platform to troubleshoot runtime bugs of P4 programs.

This repository is the P4DB debugging platform running on ONOS. So if you want to use the P4DB debugging platform, it's better for readers to have an intimate knowledge of ONOS.

Prerequisites

Dependencies

  1. Install git, jdk and maven

Install git.

$ sudo apt-get install git

Install jdk.

$ sudo apt-get install software-properties-common -y
$ sudo add-apt-repository ppa:webupd8team/java -y
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer oracle-java8-set-default -y

Install maven.

$ cd; mkdir Downloads Applications
$ cd Downloads
$ wget http://archive.apache.org/dist/karaf/3.0.5/apache-karaf-3.0.5.tar.gz
$ wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
$ tar -zxvf apache-karaf-3.0.5.tar.gz -C ../Applications/
$ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/

Installation of ONOS

Installation of dependent modules

Install

Run

Modules

There are as many as 7 modules in the repository. Three of them, i.e. api, driver and provider, are cloned from the ONOS repository. And they are modified to fix some bugs in the original repository. The remains four are developed by us to to constitute the main framework of P4DB.

Their functions are listed as below:

Notice

The debugging is still under extensive developing. Furthermore, we will release the stable version as soon as we finish the development in the near future. This open-source version of P4DB is aimed at helping people deeply understand how P4Db work.

P4DB's Projects

behavioral-model icon behavioral-model

Rewrite of the behavioral model as a C++ project without auto-generated code (except for the PD interface)

hyperv icon hyperv

HyperV: High-Performance Virtualization of the Programmable Data Plane

onos icon onos

Open Network Operating System

p4db icon p4db

P4DB: On-the-fly Debugging of the Programmable Data Plane

switch icon switch

Consolidated switch repo (API, SAI and Nettlink)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.