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

Re: [Testbed-admins] NetFPGA Instructions



Thanks, David. I'm not an actual emulab user, so I usually just use the old GUI to create test experiments. I should have looked at the sample NS files in the tutorial. I just assumed I still had parts of the setup wrong, which I think I do...

Now that I'm using an NS file, I move on to the following error, which seems to suggest its own solution, but I wanted to ask before hacking the database.

________

Type precheck passed.
  *** No possible mapping for nfrouter
      No links of type ethernet found! (2 requested)
  *** No possible mapping for nfhost
      No physical nodes have feature hosts-netfpga!
*** Node mapping precheck failed!

________


I see that there is a node_type_features table in the database which is currently empty. Should it have entries to indicate that pcr200 has the feature "hosts-netfpga"?

- dave


David M. Johnson wrote:
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.