[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Altering link throughput
At least you can find both simplex links using Simulator::link{}, then
find the delay module in each of them using Link::link{}, then set
the bandwidth_ variable of each delay module. I'm not sure if this will
work as you expect, but perhaps it's worth a try.
On Tue, 11 Apr 2000, Ishan Mandrekar wrote:
> Dear ns-users:
>
> Is it possible to dynamically alter the throughput of a link during
> run-time, which has been intially defined as:
> $ns duplex-link $n0 $n3 1Mb 10ms DropTail
>
> In my script, in certain conditions are met, I would like to reduce the
> throughput to 0.5Mb
>
> Please let me know if it's possible.
>
> Thanks,
> Ishan.
>
>