topGen in omnet++

61 views
Skip to first unread message

Baba

unread,
Feb 2, 2012, 12:19:17 PM2/2/12
to omnetpp
Hi,
I want to generate a random topology with 10000 nodes. Someone can
help me how to use
the framework topGen under omnet++ to do this?

Thanks in advance.

Rudolf Hornig

unread,
Feb 2, 2012, 12:28:36 PM2/2/12
to omn...@googlegroups.com
The most straightforward way would be to generate the topology with your favorite program, then import that format into omnet. For importing see the "wizards" sample that contains several examples how to import different file formats. You may need to adjust it to your format. See the example formats in the sample-data folder (csv, json, LEDA, xml, graphml)

Rudolf


--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp

Baba

unread,
Feb 2, 2012, 12:46:25 PM2/2/12
to omnetpp
thank. But can I use routers in inet framework in a my topology using
this way?

Rudolf Hornig

unread,
Feb 2, 2012, 5:14:49 PM2/2/12
to omn...@googlegroups.com
Why not, you can use also Router and StandardHost in the generated network. It does not matter what is inside the node, at this level you are dealing only with top level of the model...

As for assigning IP addresses and setting up meaningful routing tables. That would be the harder part of the work.
Rudolf
Reply all
Reply to author
Forward
0 new messages