Posts

Showing posts with the label topology

How to import a graphml topology in mininet

If you want to load topologies in your network emulation with mininet, the best option is use grahpml format. I compared a lot extesions available from Gephi and Cytoscape (software for work with topologies) and graphml is one of the extensions that gives more information about the topology. You can export your topologies and save information like label, geolocalization, delay, bw, loss, etc. If you want real topologies, you can get them from Topology Zoo website . To import these topologies to mininet, you can use  Auto-Mininet (for mininet 2.0.0): git clone https://github.com/uniba-ktr/assessing-mininet.git cd assessing-mininet/parser wget  http://topology-zoo.org/files/Chinanet.graphml ./GraphML-Topo-to-Mininet-Network-Generator.py -f Chinanet.graphml -o chinaNet.py python chinaNet.py   File "test", line 44     Xi'an = self.addSwitch( 's18' )                             ^ Syn...

Topology Generator for ns3 on Ubuntu 16.04

Image
While I find a solution to execute different BRITE configuration files or how to export ns2 topologies to ns3, I found this application compatible with ns-3.25 (since last week available). To try it, follow these commands: git clone https://github.com/idaholab/Topology_Generator.git cd Topology_Generator  qmake make ./ns-3-generator You can generate a C++ or a Python code and export your topology as XML code. Also, you can create applications, like ping, UDP Echo or TCP Transfer. I tested and it works! Enjoy it!