aaglenn / SAI-P4-BM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAI BEHAVIORAL MODEL

This repository clearly defines widely accepted network switch behaviour. The switch behavioral model provides a commom framework for all network vendors and users. It meant to describe the standard ethernet switch features and flows. The model enables for both users and vendors to experiance the SAI switch model using SAI API over P4 soft switch.

Repository Structure

The repository consist of:

P4_14 source files to be complied by the p4c complier Can be independently configured via the CLI interface.

C source files implementation for the SAI API build for P4 soft switch model. SAI lib Tests frameworks: PTF, unittests.

Example applications built on top of SAI api. Currently only teamd based lacp app exists.

Insatllation Instructions

The installation should be in the following order:

  1. Enter p4-switch/ dir, and follow the readme instructions.
  2. Enter sai_adapter/ dir, and follow the readme instructions.

Architecture

The following image describes the architecture of the SAI bm:

About


Languages

Language:C++ 38.5%Language:Python 29.3%Language:C 23.8%Language:Shell 4.6%Language:P4 1.6%Language:Thrift 0.9%Language:HTML 0.7%Language:Makefile 0.5%Language:M4 0.2%