[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Dynamic links



> How can I create dynamic links?
> I mean, I want to have a node that connects in certain times to different 
> nodes... How can I connect/disconnect?
I don't think ns supports this in the exact way you suggest.
However, what you can do is creating all the possible links you need, and enforcing that only one link at a time is up (with something like: "$one_link up; $another_link down" or "$ns rtmodel-at $t down $n0 $n1; $ns rtmodel-at $t up $n0 $n2").

Regards, 
Chris.

---------
ir. Chris Develder
INTEC, Ghent University
Sint-Pietersnieuwstraat 41
9000 Gent
Belgium
[email protected]