[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: topo-gen-script
The error msg means that it uses an obsolete API. Change
duplex-link-of-interfaces to duplex-link may make it work.
- Haobo
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Chalermpol
> Charnsripinyo
> Sent: Sunday, August 29, 1999 9:54 PM
> To: [email protected]
> Subject: topo-gen-script
>
>
>
>
> Hi,
>
>
> I got the following messages when I tried to run
> topo-gen-script.tcl in ns/tcl/ex.
>
> $ ns2 topo-gen-script.tcl
> type random, seed 16807
> nodes 12, scale 12, method pure-random
> conn prob 0.25, beta 0.5, gamma 0.5
> creating nodes...
> Creating links 0..._o5: unable to dispatch method
> duplex-link-of-interfaces
> while executing
> "$ns duplex-link-of-interfaces $n(0) $n(11) $linkBW 60ms DropTail"
> (procedure "create-topology" line 19)
> invoked from within
> "create-topology ns node 1.5Mb"
> (procedure "view-topology" line 13)
> invoked from within
> "view-topology $topofile-$i.$topoext $outfile-$i.$outext $hier_flag"
> (file "topo-gen-script.tcl" line 31)
>
>
> I'm using ns2.1b5 on my machine. Is it because ns does not know
> duplex-link-of-interfaces method?
>
>
>
>
> Chalermpol.
>
>