Skip to main content

Integrations Overview

NSB works with any network simulator. It doesn't matter whether your simulator is top-down (a single script controlling an entire topology) or bottom-up (each host as an independent module) โ€” NSB just needs the simulator side to implement fetch() and post() through an NSBSimClient.

Two Integration Patternsโ€‹

NSB supports simulator integration through exactly two topology patterns, selected via the simulator_mode field:

  • System-Wide โ€” a single NSBSimClient handles the entire simulation
  • Per-Node โ€” each simulated node has its own NSBSimClient

For the full comparison โ€” diagrams, constraints, and the identifier-matching rule โ€” see System-Wide vs Per-Node.

When to Use Each Patternโ€‹

If your simulator...Use
Manages the entire network from one script (ns-3 style)System-Wide
Models each host as an independent module (OMNeT++ style)Per-Node

Simulator-Specific Guidesโ€‹

For hands-on, step-by-step setup, see the Tutorials section โ€” these overview pages cover the what and why; the tutorials cover the how.