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

Fwd: Re: [ns] ns-2.1b8 & MNS v2



Hi there!
I followed Christian Glomb's steps to run mns in ns-2.1b8 but in the end 
still no luck.

The system kept saying the same thing when I run test-*.tcl files:

(_o3 cmd line 1)
    invoked from within
"_o3 cmd MPLSnode"
    invoked from within
"catch "$self cmd $args" ret"
    (procedure "_o3" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$ns MPLSnode"
    invoked from within
"set LSR1   [$ns MPLSnode]"
    (file "test-constraint-routing.tcl" line 94)

Can anyone give me some advice?

Jason Liu


<html><P>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>Jason Kuang-Jen 
Liu <BR>MSc Mobile &amp; Personal Communication<BR>King's College London</P>
<P>Tel:&nbsp; +44 (0) 7979818952<BR>Email: <A 
href="mailto:[email protected]">[email protected]</A><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<A 
href="mailto:[email protected]">[email protected]</A><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</P>
<DIV></DIV></html>



>From: Onno Kievit <[email protected]>
>To: Christian Glomb <[email protected]>
>CC: [email protected]
>Subject: Re: [ns] ns-2.1b8 & MNS v2
>Date: Thu, 09 Aug 2001 15:25:56 +0200
>
>Have you tried to use the code of the MPLS module included in
>ns-28, i.e.
>
>Simulator instproc mpls-node args {
>         $self node-config -MPLS ON
>         set n [$self node]
>         $self node-config -MPLS OFF
>         return $n
>}
>
>Maybe this helps...
>
>Onno Kievit
>
>Christian Glomb wrote:
> >
> > O.k. the problem is in 'tcl/mns_v2.0/ns-mpls-simulator.tcl':
> >
> > Simulator instproc MPLSnode args {
> >        $self instvar linked_mplsnodes_
> >
> >        # let node_factory_ indicate MPLSnode(class)
> >
> >        set tmp [Simulator set node_factory_]               <<== HERE
> >
> >        Simulator set node_factory_ MplsNode                <<== HERE
> >
> >        set n [$self node]
> >
> >        lappend linked_mplsnodes_ $n
> >
> >        Simulator set node_factory_ $tmp                    <<== HERE
> >
> >        return $n
> > }
> >
> > The 'node_factory_' setting is old-style and not recommended to be used.
> > It results in 'target_' pointer being set to NULL.
> > Does anybody know how to solve this problem?
> >
> > 
>----------------------------------------------------------------------------
> > Christian Glomb
> > Siemens AG
> > Corporate Technology
> > Networks and Multimedia Communications
> > Email: [email protected]
> > 
>----------------------------------------------------------------------------
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp