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

[ns] Problem in Dynamic Routing if Link is made up/down in procedure!



Hi,

I am using, $ns rtproto DV ,  for dynamic routing in the topology.

Problem Statement :
If I use normal commands like following in the  schedule event,
$ns rtmodel-at $<time-instance> down $<node1> $<node2>
I get expected results according to given commands.

But If I use the same commands in a procedure,
proc ... { ...  } {
..
$ns rtmodel-at $<time-instance> down $<node1> $<node2>
...
}

the links do not get updated according to given commands.

Does anybody know solution to this problem?

Best Regards,
Thanks in Advance,

Vivek Kulkarni