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

RE: Question on mac-test.tcl



Thanks Yuri for the reply. 

If the "trace" method is not in the current LAN object, what is
the other way to see the trace result? In the current release of ns,
has anyone successfully test MAC function using "newLan"?

Any help is appreciated!

Laura Liu 

> -----Original Message-----
> From:	Yuri Pryadkin [SMTP:[email protected]]
> Sent:	Thursday, January 28, 1999 6:34 PM
> To:	Liu, Laura-Lei [RICH2:IP10:EXCH]
> Cc:	'[email protected]'
> Subject:	Re: Question on mac-test.tcl
> 
> "Laura-Lei Liu" <[email protected]> writes:
> 
> > Thanks for the reply.
> > 
> > I looked into ns-lib.tcl file, there is a line " source
> ../lan/vlan.tcl".
> > But
> >  "source ../lan/ns-lan.tcl" and "source ../lan/ns-mac.tcl" are there
> > ahead of it. I tried "source ../lan/vlan.tcl" in mac-test.tcl, it give
> me
> > the same error message.
> 
> That means that ns-lan.tcl is superseded by vlan.tcl.  If you wish,
> you can comment out ns-lib.tcl altogether.
> 
> > 
> > I would like to know what the following error message means:
> > 
> > 	 _o18: unable to dispatch method trace
> > 	 while executing
> > 	"$lan trace $ns $trfd "
> > 	(file "./mac-test.tcl" line 160)
> 
> As I said, it means that mac-test.tcl hasn't been updated after LAN
> architecture was changed.  
> 
> It means that OTcl cannot find method "trace" in a lan object ($lan).
> And it cannot find this method because there isn't one.  Don't use
> mac-test.tcl as it is.  If you must, you'll have to add whatever other
> methods may be missing.  Or you can try commenting out the offending
> line 160 from mac-test.tcl and see if it works that way.