I need to run a NS2 simulation that the delay of a link will change during the runtime, and I use following procedure in tcl script:
$ns delay $node3 $node4 $delay_time
to change the delay in a link between $node3 and $node4.
But it only works when it's set before the simulation starts.
If I want to change the delay in a certain time, e.g.
$ns at 1.0 "$ns delay $node3 $node4 10ms"
It doesn't work.So how to change the delay of a link during runtime?
Thanks for any help.