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:
- io_config::IoConfig to configure the network addresses are used by the simulation to interact with your host.
- state::PocketScionState to configure the simulation, e.g. add ASes, links, and components to the simulation.
- runtime::PocketScionRuntime to start the simulation and interact with it while it’s running.
Example usage can be found in the tests and in the util::topologies module, which contains example topologies that can be used in tests.