Skip to content

BobAnkh/ns3-parallel

Repository files navigation

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