Topology Generator: Difference between revisions
m (→Example screenshot: - minor typo fix sen->seem) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
You need Qt 4 libraries to compile and use ns-3 topology generator. | 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 == | == Installation == | ||
To download the project: | |||
$ hg clone http://svnet.u-strasbg.fr/hg/ns-3-generator | |||
To build the project: | To build the project: | ||
Line 33: | 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 | [[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 - Roadmap - Summer Projects - Project Ideas - Developer FAQ - Tools - Related Projects
HOWTOs - Installation - Troubleshooting - User FAQ - 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
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)