[Click] NS API

El Doble O eldobleo at gmail.com
Mon May 2 11:27:34 EDT 2011


Ideally, I would like to add a wired interface that connects to another
Click node. (I.e. eth0 on Node 0 connects to eth0 on Node 1, eth1 on Node 0
connects to eth0 on Node 2). Something along those lines.

On Mon, May 2, 2011 at 2:50 AM, Bart Braem <bart.braem at ua.ac.be> wrote:

> Hi,
>
> What would you like to do with nodes running Click? There is an "API" to
> call handlers from ns, would that be sufficient?
>
> best regards,
> Bart
>
> On 30 Apr 2011, at 21:09, El Doble O wrote:
>
> > Hello, I apologize if this sounds like a stupid question. I tried very
> hard
> > to locate an API for NS (Network Simulator) for use with nsclick. I was
> > unable to find anything. I just want to know about the various commands
> and
> > classes available for use, something similar to this for Click:
> > http://read.cs.ucla.edu/click/elements
> >
> > A more specific question is that I'm trying to figure out the arguments
> for
> > the add-wired-interface command I noticed in the nsclick-simple-lan.tcl
> > code.
> >
> > $node_($i) add-wired-interface $chan_1_ $netll $netmac \
> >        $netifq 1 $netphy
> >
> > In addition, I would like to know if there are other commands that I can
> > perform on ClickNodes and how to use those commands. This is why I need
> an
> > API.
> >
> > Thanks,
> > Olu
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list