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

Re: duplex-link-of-interfaces?



Hi,


duplex-link-of-interfaces have been omitted it seems. To correct this 
problem you just add this procedure :

Simulator instproc duplex-link-of-interfaces {args} {

    ;# Extraction des arguments
    set n1 [lindex $args 0]
    set n2 [lindex $args 1]
    set BW [lindex $args 2]
    set delay [lindex $args 3]
    set queue [lindex $args 4]

    ;# Execution de l'instruction
    $self duplex-link $n1 $n2 $BW $delay $queue
}

Hope this Helps,
Abdelhamid
>From: K Sun <[email protected]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: duplex-link-of-interfaces?
>Date: Mon, 13 Sep 1999 14:07:25 +0100 (GMT Daylight Time)
>
>Hello,
>      I meet problem at
>"$ns duplex-link-of-interfaces $n(0) $n(58) $linkBW 490ms DropTail"
>after I use the tcl file translated from r100-0.tcl (in gt-itm
>generator). I do not why there is such a problem and could not find any
>explanation about this command in ns Notes and Documentation
>(1998.11.20).
>
>The error message is:
>
>.......
>
>_o3: unable to dispatch method duplex-link-of-interfaces
>     while executing
>"$ns duplex-link-of-interfaces $n(0) $n(58) $linkBW 490ms DropTail"
>     (procedure "create-topology" line 19)
>     invoked from within
>"create-topology ns node BW"
>     (file "temp.tcl" line 241)
>......
>
>
>       I do not know where I can find the definition of this command.
>Sometime, I feel it is headache to find what commands (or functions)
>ns-2 has. If there is an function and commands list of ns-2 avaliable,
>it should be better.
>
>       Really need help!
>
>       Sun Kai
>
>
>
>
>
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com