Tools for ns2 Simulations

about | archive


[ 2007-September-28 07:53 ]

The ns2 network simulator is a powerful tool, but unfortunately it does not provide any tools for getting results. It simply simulates a network, and provides a trace file of all the events that occured. This means that everyone goes out and writes their own tools to parse through these files. This is my attempt at creating a collection of tools for working with ns2. These tools are written in Python, and require Python 2.3. Many of them are command line tools, but all of them also expose a Python API. None of them are supported, so you'll need to figure it out yourself. Good luck! [Updated 2007-09-28: New revision and more documentation].

ns2tools.tar.bz2

Included Files

drawnetwork Sample Output

Example output from drawnetwork

stupidplot Sample Output

Example output from stupidplot