Difference between revisions of "Topology Generator"

From Nsnam
Jump to: navigation, search
(Caveats)
m (Example screenshot: - minor typo fix sen->seem)
 
Line 41: Line 41:
 
[[File:Ns-3-generator-test.png]]
 
[[File:Ns-3-generator-test.png]]
  
[[File:Ns-3-generator-test.cc.patch]]: C++ code generated from the above screenshot. Python code can also be generated.  The configuration can be saved in XML and reloaded. '''Note:'''  two applications were added and can be sen in the generated code (not visible in the screenshot).
+
[[File:Ns-3-generator-test.cc.patch]]: C++ code generated from the above screenshot. Python code can also be generated.  The configuration can be saved in XML and reloaded. '''Note:'''  two applications were added and can be seen in the generated code (not visible in the screenshot).
  
 
== Feature requests ==
 
== Feature requests ==

Latest revision as of 19:13, 6 October 2017

Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects

Installation - Troubleshooting - User FAQ - HOWTOs - Samples - Models - Education - Contributed Code - Papers

The ns-3 topology generator project aims to provide a quick and easy way to create ns-3 topology. It provides intuitive GUI so you can add nodes, link, applications, ... and generates C++ simulation code for ns-3.

This tool has been written by Pierre Weiss and Sebastien Vincent, University of Strasbourg.

Prerequisites

You need Qt 4 libraries to compile and use ns-3 topology generator.

Caveats

The code seems to be a bit outdated, and it is no longer able to generate code compliant with the latest ns-3 releases.

The generated code will have to be modified in order to fix all the errors (e.g., missing headers) and remove the deprecated functions.

Installation

To download the project:

$ hg clone http://svnet.u-strasbg.fr/hg/ns-3-generator

To build the project:

$ qmake
$ make

Usage

To use it, simply run:

$ ./ns-3-generator

To generate the API documentation (you need doxygen tool): $ doxygen Doxyfile

The HTML generated documentation is located in doc/html/ directory of sources.

Configurations may be saved to an XML file and later loaded.

Example screenshot

Ns-3-generator-test.png

File:Ns-3-generator-test.cc.patch: C++ code generated from the above screenshot. Python code can also be generated. The configuration can be saved in XML and reloaded. Note: two applications were added and can be seen in the generated code (not visible in the screenshot).

Feature requests

  • Ability to configure tracing
  • (others go here)