Code Monkey home page Code Monkey logo

stratum's Introduction

stratum logo

Stratum - Enabling the era of next-generation SDN

Copyright 2018 Google LLC
Copyright 2018-present Open Networking Foundation

Stratum is an open source silicon-independent switch operating system for software defined networks. It is building an open, minimal production-ready distribution for white box switches. Stratum exposes a set of next-generation SDN interfaces including P4Runtime and OpenConfig, enabling interchangeability of forwarding devices and programmability of forwarding behaviors. Current support includes Barefoot Tofino and Broadcom Tomahawk devices, as well as the bmv2 software switch.

Build status (master): CircleCI codecov

Documentation

Running Stratum

Broadcom

Tofino

bmv2

dummy

Stratum inside Docker

Other Topics

p4c-fpm

PHAL

PHAL Development Tutorial

PHAL DB Configurators

gNMI

cdlang

testvectors

Component Overview

img

P4Runtime provides a flexible mechanism for configuring the forwarding pipeline on a network switch.

gNMI is a framework for network device management that uses gRPC as the transport mechanism.

SDKLT is used to program fixed-pipeline switches using the Tomahawk chip from Broadcom.

Supported Devices

Tofino

  • Delta AG9064v1

  • Edgecore Wedge 100BF 32x

  • Edgecore Wedge 100BF 65x

  • Inventec D5254

  • Stordis BF6064X

Broadcom

  • Edgecore AS7712-32X

  • Dell Z9100

  • Inventec D7032

  • QCT QuantaMesh T7032-IX1

Software Switches

  • bmv2

  • dummy

Source code

This repository contains source code for a reference implementation of the P4Runtime and gNMI services, that serves as the hardware abstraction layer for a network switch. It has been successfully prototyped at Google, running on production hardware on a data center network subsystem.

Development environment

We provide a script to create a Docker development environment for Stratum.

To start the container, run the following in your stratum directory:

./setup_dev_env.sh

The script will build a Docker image using Dockerfile.dev and run a bash session in it. This directory will be mounted in the Docker image and you will be able to run git, edit code, and build Stratum / run tests using Bazel.

For more information, you can see a complete list of arguments by running: setup_dev_env.sh -h

If you are using Docker on Linux, make sure that you can use Docker as a non-root user, otherwise you will not be able to run setup_dev_env.sh:

sudo usermod -aG docker $USER

stratum's People

Contributors

bocon13 avatar antoninbas avatar pudelkom avatar devjitgopalpur avatar yi-tseng avatar ccascone avatar uyenchau avatar phani-karanam avatar rohantib avatar tiffany-chiang avatar mhwang408 avatar teverman avatar dbainbri-ciena avatar craigsdell avatar tomek-us avatar mohammedhabeebinventec avatar alex-yashchuk avatar andrea-campanella avatar lkhedyk-pl avatar maxpolovyi avatar muraligunturu avatar pandeyrajesh avatar chravikumar avatar

Watchers

James Cloos avatar

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.