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

[Fwd: [ns] How to create a link with variable delay?]



Yes, look at the ns-users archives

copying from changelog for version 2.1b7

[floyd] Sat May 27 16:59:07 PDT 2000
    Added new validation test "./test-all-links" to illustrate
dynamically changing link delay and bandwidth.

Tarik Taleb wrote:

> Dear Seniors,
>
> According to chapter 6, links can be created by the following simple
> syntax:
> $ns simplex-link <node0> <node1> <bandwidth> <delay> <queue_type>.
>
> Normally, links have constant delay value, but i would like to
> create a link with delay that varies during the simulation time.
>
> ******************************************************
> for instance, at 0.0 (begining of the simulation):
>
>   <node0>-----------------------------<node1>
>                 delay1= 10ms
>
> at 1 (after one second)
>
>    <node0>----------------------------<node1>
>                delay2= 27ms
>
> *******************************************************
>
> is this possible?
> if it is , i would appreciate it pretty much if you provide me with
> any idea. And thank you in advance!
>
> -------------------------------
> Tarik Taleb
> Information Science Departement
> Tohoku University, Japan