You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Getting started

Select and install a P4 data-plane target platform architecture

BMv2

ubuntu 18.04

sudo add-apt-repository ppa:frederic-loui/p4lang-3rd-party 
sudo apt-get update

sudo add-apt-repository ppa:frederic-loui/p4lang-master-bionic-nightly
sudo apt-get update

ubuntu 20.04

sudo add-apt-repository ppa:frederic-loui/p4lang-3rd-party-focal 
sudo add-apt-repository ppa:frederic-loui/p4lang-master-focal-nightly 
sudo apt-get update

debian 10

echo 'deb https://download.opensuse.org/repositories/home:/frederic-loui:/p4lang:/p4c/Debian_10/  ./" | sudo tee /etc/apt/source.list.d/p4lang.list
sudo apt-get update

TOFINO

Software for TOFINO NPU is subject to a Software License and Confidentiality Agreement (SLACA)

If you are an R&E organization please submit an application via INTEL/BAREFOOT FASTER portal

Install FreeRouter control-plane

ubuntu 18.04 & 20.04

sudo add-apt-repository ppa:frederic-loui/freerouter-nightly
sudo apt-get update
sudo apt-get install freerouter-native freerouter

debian 10

echo 'deb https://download.opensuse.org/repositories/home:/frederic-loui:/freerouter/Debian_10/  ./" | sudo tee /etc/apt/source.list.d/p4lang.list
sudo apt-get update

Install RARE software

BMv2

git clone https://github.com/frederic-loui/RARE.git

TOFINO (on going)

RARE package is planned to be released soon.

(in compliance with INTEL/BAREFOOT announcement that grant the publication of the P4 code)

  • No labels