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

Re: detailedDM doesn't work



Sarah,

there is no easy way to fix it because there have been too many
changes to multicast/interface code/lans.  Shuqian is right that it is
not going to be supported in b5.  I think it's easier to rewrite
detailedDM from scratch than to fix it. 

  -Yuri

"Sarah Liu" <[email protected]> writes:

> Hi, Shuqian:
> 
> Following your suggestion, I added the line to set PruneTimeout, but it
> still doesn't work. I still got the following error messages. I just wonder
> if I can modify somewhere in the detailedDM.tcl to make it runable for the
> ns-2.1b5 instead of ns-2.1b4. Do you have any successful experience in that?
> 
> ------------begin of error message----------------------
> ns: _o13 new-group 0 32770 -1 cache-miss: _o10: unable to dispatch method
> get-oifs
>     while executing
> "$node_ get-oifs"
>     (procedure "_o179" line 13)
>     (detailedDM handle-cache-miss line 13)
>     invoked from within
> "_o179 handle-cache-miss 0 32770 -1"
>     ("eval" body line 1)
>     invoked from within
> "eval $self handle-$code $args"
>     (procedure "_o179" line 2)
>     (McastProtocol upcall line 2)
>     invoked from within
> "$protocols_($iface) upcall $code $source $group $iface"
>     (procedure "_o14" line 9)
>     (mrtObject upcall line 9)
>     invoked from within
> "$mrtObject_ upcall $code $src $group $iface"
>     (procedure "_o10" line 3)
>     (Node new-group line 3)
>     invoked from within
> "$node_ new-group $src $group $iface $code"
>     (procedure "_o13" line 3)
>     (Classifier/Multicast new-group line 3)
>     invoked from within
> "_o13 new-group 0 32770 -1 cache-miss"
> 
> -------end of error message------------
> 
> Any help is highly appreciated.
> 
> cheers,
> 
> Sarah 
> 
> -----Original Message-----
> From: Shuqian YAN [mailto:[email protected]]
> Sent: Monday, March 15, 1999 12:45 PM
> To: Liu, Sarah [CAR:0C21:EXCH]
> Cc: '[email protected]'
> Subject: Re: your mail
> 
> 
> Hi,
> 
> If I am not wrong, detailDM is not longer working under current version 
> of ns.
> 
> As your error message indicates, there is no PruneTimeout value is 
> defined, so you probably need to define this value explicitly in the 
> simulation script, e.g. detailDM set PruneTimeout_ 0.5.
> 
> Hope it helps,
> 
> shuqian
>  
> On Mon, 15 Mar 1999, Sarah Liu wrote:
> 
> > Hi. everybody:
> > 
> > When I tried to run the test file of detailedDM under
> > ns-2.1b5/tcl/ex/newmcast, I got the following error messages:
> > can't read "PruneTimeout": no such variable
> >     (Object set line 1)
> >     invoked from within
> > "[$self info class] set PruneTimeout"
> >     (procedure "_o174" line 5)
> >     (Object next line 5)
> >     invoked from within
> > "$self next $sim $node"
> >     (procedure "_o174" line 2)
> >     (detailedDM init line 2)
> >     invoked from within
> > "_o174 init _o3 _o30"
> >     (Class create line 1)
> >     invoked from within
> > "detailedDM create _o174 _o3 _o30"
> >     invoked from within
> > "catch "$className create $o $args" msg"
> >     (procedure "new" line 3)
> >     invoked from within
> > "new $mproto $self $node"
> >     (procedure "_o3" line 2)
> >     (Simulator mrtproto-iifs line 2)
> >     invoked from within
> > "$self mrtproto-iifs $mproto $Node_($n) """
> >     (procedure "_o3" line 12)
> >     (Simulator mrtproto line 12)
> >     invoked from within
> > "$ns mrtproto $mproto  {}"
> >     (file "detailedDM1.tcl" line 74)
> > 
> > Thanks very much for any help that could solve this problem.
> > 
> > Cheers,
> > 
> > Sarah
> > 
> > 
> >