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

Re: [Testbed-admins] NetFPGA Instructions



On Fri, Sep 25, 2009 at 09:14:01AM -0500, David A. Kotz wrote:
> I've entered the missing data, and now I can attempt to allocate 
> NetFPGAs, but I'm not quite there yet:
> 
> 
> --------- testnetfpga.ns --------
> #generated by Netbuild 1.03
> set ns [new Simulator]
> source tb_compat.tcl
> 
> set node24 [$ns node]
> tb-set-hardware $node24 netfpga
> 
> $ns rtproto Static
> $ns run
> #netbuild-generated ns file ends.

Yes, since you have added the netfpgas as "subnodes", you have to explicitly
allocated a parent/host node in your ns file and bind the subnode to the
parent.  See the netfpga tutorial:
<http://users.emulab.net/trac/emulab/wiki/netfpga> for the right NS stuff.