$ show facebook/fboss
The Facebook FBOSS (Open Switching System) is a network operating system for data center switches. It provides a modular architecture with a central agent daemon that controls the switch hardware (via HALs like SAI and Broadcom), manages routing protocols (BGP, etc.), and offers telemetry via FSDB. The system includes a CLI for configuration, various services (QSFP, LED, fan, sensor), and extensive testing. Key entry points are the agent main (fboss/agent/Main.cpp), CLI main (fboss/cli/fboss2/Main.cpp), and service daemons. Data flows involve configuration pushing to hardware, telemetry publishing via FSDB, and packet processing by the ASIC.
The LLM identified 1 files worth highlighting for reuse:
The FSDB client provides a type-safe, delta-based publish/subscribe interface for distributing state updates. It enables efficient synchronization of distributed state with minimal bandwidth usage.