Skip to main content

Crate pocketscion

Crate pocketscion 

Source
Expand description

Pocket SCION is a SCION network simulator.

To create a PocketSCION simulation, create a PocketScionRuntimeBuilder and configure the desired state.

Pocketscion is split into:

  • io_config::IoConfig: Host specific Network Address configuration.
  • state::PocketScionState: The global state of the PocketSCION simulation
  • comp: The components that implement the logic of components of the simulation, e.g. APIs
  • runtime::PocketScionRuntime: The running PocketSCION simulation, which provides an API to interact with the simulation.
  • util: Utility functions and types used across the PocketSCION codebase.
  • network: SCION network simulation code, including topology and path management.

As a user you can use:

Example usage can be found in the tests and in the util::topologies module, which contains example topologies that can be used in tests.

Modules§

comp
Pocket SCION components.
io_config
PocketSCION I/O configuration.
network
Pocket SCION network simulation
runtime
PocketSCION Runtime - the main runtime that manages the state and tasks of a PocketSCION simulation.
state
PocketSCION state.
util
Shared utility functions