How to change network layout during simulation runtime?

18 views
Skip to first unread message

Filex

unread,
Jul 1, 2009, 4:43:06 AM7/1/09
to omnetpp
Hi everyone,

I need to simulate a dynamic network, which means that I need to add/
remove/alter nodes and connections during runtime. Does anyone know
how that is feasible? I haven't found anything on the documentation
which seems to fit...

Thanks in advance,

Filip

Rudolf Hornig

unread,
Jul 1, 2009, 5:18:14 AM7/1/09
to omn...@googlegroups.com
Chapter 4.11 Dynamic Module Creation
http://www.omnetpp.org/doc/omnetpp40/manual/usman.html#sec182

Also take a look at the dyna example. Especially the Server.cc code. The dyna example creates modules dynamically for the incoming connection requests.

Rudolf

Filex

unread,
Jul 1, 2009, 5:46:47 AM7/1/09
to omnetpp
Hi Rudolf,

thank you very much. Just rubbing my eyes, wondering how I overlooked
it. Maybe I should consider getting at least 6 hours of sleep per
night ;)
Thanks for pointing that out for me.

best regards,

Filip

On Jul 1, 11:18 am, Rudolf Hornig <rudolf.hor...@gmail.com> wrote:
> Chapter 4.11 Dynamic Module Creationhttp://www.omnetpp.org/doc/omnetpp40/manual/usman.html#sec182
>
> Also take a look at the dyna example. Especially the Server.cc code. The
> dyna example creates modules dynamically for the incoming connection
> requests.
>
> Rudolf
>
Reply all
Reply to author
Forward
0 new messages