MCPcopy Create free account
hub / github.com/NetSys/bess

github.com/NetSys/bess @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
2,579 symbols 6,593 edges 303 files 483 documented · 19% updated 3y agov0.4.0 · 2018-09-03★ 33374 open issues

Browse by type

Functions 2,023 Types & classes 552 Endpoints 4
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status codecov

BESS (Berkeley Extensible Software Switch)

BESS (formerly known as SoftNIC) is a modular framework for software switches. BESS itself is not a virtual switch; it is neither pre-configured nor hardcoded to provide particular functionality, such as Ethernet bridging or OpenFlow-driven switching. Instead, you (or an external controller) can configure your own packet processing datapath by composing small "modules". While the basic concept is similar to Click, BESS does not sacrifice performance for programmability.

BESS was created by Sangjin Han and is developed at the University of California, Berkeley and at Nefeli Networks. Contributors to BESS include students, researchers, and developers who care about networking with high performance and high customizability. BESS is open-source under a BSD license.

If you are new to BESS, we recommend you start here:

  1. BESS Overview
  2. Build and Install BESS
  3. Write a BESS Configuration Script
  4. Connect BESS to a Network Interface, VM, or Container

To install BESS on Linux quickly, you can download the binary from Release. Please refer to GCC x86 Options to determine which tarball to use. Suppose bess-core2-linux.tar.gz is downloaded:

sudo apt-get install -y python python-pip libgraph-easy-perl
pip install grpcio scapy
sudo sysctl vm.nr_hugepages=1024  # For single NUMA node systems
tar -xf bess-core2-linux.tar.gz
cd bess/
make -C core/kmod # Build the kernel module (optional)
bessctl/bessctl

Documentation can be found here. Please consider contributing to the project!

Core symbols most depended-on inside this repo

Shape

Method 1,393
Function 630
Class 522
Enum 30
Route 4

Languages

C++76%
Python20%
C4%

Modules by API surface

bessctl/commands.py105 symbols
core/traffic_class.h82 symbols
pybess/bess.py70 symbols
core/bessctl.cc65 symbols
core/module.h53 symbols
core/packet.h44 symbols
core/kmod/sn_netdev.c44 symbols
core/gate.h39 symbols
core/kmod/sn_host.c38 symbols
core/kmod/llring.h37 symbols
core/utils/cuckoo_map.h35 symbols
core/modules/l2_forward.cc33 symbols

For agents

$ claude mcp add bess \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page