#parallel #networking #simulation #toml-config #config-file #ns3 #multitask

ns3-parallel

A Multitask Parallel Concurrent Executor for ns-3 (network simulator)

5 releases

0.2.3 Nov 2, 2022
0.2.2 Feb 9, 2022
0.2.1 Feb 8, 2022
0.2.0 Jan 25, 2022
0.1.0 Jan 23, 2022

#524 in Concurrency

Apache-2.0

28KB
474 lines

ns3-parallel

github-repo crates.io docs.rs LICENSE Apache-2.0

A Multitask Parallel Concurrent Executor for ns-3 (network simulator).

Usage

Define your config struct and param struct, implement trait BuildParam for the first and trait BuildCmd for the second.

Then call the ExecutorBuilder to build a Executor. Then launch the tasks, wait for the results.

Examples see examples/simple.rs.

To run the example, you can first execute the script setup-ns3.sh then execute cargo run --example simple in the root directory.

Currently support 4 config file formats: toml, ron, json, yaml. Example config files can see config.toml and config.ron under root. Welcome contributions for any new config format.

Maintainer

@BobAnkh

How to contribute

You should follow our Code of Conduct.

See CONTRIBUTING GUIDELINES for contributing conventions.

Make sure to pass all the tests before submitting your code.

Contributors

Yixin
Yixin Shen

LICENSE

Apache-2.0 © BobAnkh

Dependencies

~6–13MB
~164K SLoC