Changes between Version 6 and Version 7 of Documentation/fSDN/eNetFpgaTutorial


Ignore:
Timestamp:
Mar 12, 2011, 12:08:28 AM (13 years ago)
Author:
nkiran
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/fSDN/eNetFpgaTutorial

    v6 v7  
    5757 * (3/10/11) Session [attachment:netfpga-session-2011.03.10-from-scratch-NetFPGA-Openflow.txt terminal log]
    5858 
     59 * (3/11/11) VLANS assigned to host virtual interfaces using vconfig. However, the names assigned to these ifaces is inflexible, and quite sadly, the NetFPGA regression tests are hard-coded to use 2 ethernet ports (non NetFPGA) on host names  'eth1' and 'eth2'. Modified one of the regression tests - reference_router (in a copied project dir 'reference_nic_mod' - to replace eth1 with exp0.1 created by vconfig, and similarly eth2 with exp0.2 - perl one liner to the rescue:
     60
     61{{{
     62perl -p -i -e 's/oldstring/newstring/g' `grep -ril oldstring *`
     63}}}
     64
     65 * (3/11/11) But the router regression tests still FAIL. NF ifaces nf2c0-nf2c3 are on switch ports 1-4 and are assigned VLANS 1-4, respectively. The exp0 iface is on switch port 5, and is assigned VLAN trunk 1,2. The virtual interfaces on host, exp0.1 & exp0.2, are correspondingly assigned VLAN ids 1 & 2. The regression tests are throwing up all kind of errors, unexpected packets, missing packets, register read errors... Some of the errors I think are attributable to failure to execute 'usleep' - need to change those to 'sleep' equivalents. But there are 'unexpected pkt' errors on unconnected NetFPGA ports like 'nf2c2'??? Have to check this out correctly before going onto OpenFlow controller. If we get this going, then we have 2 configurations set up just using the top switch and by setting VLANs : 1.) selftest with nf2c0<->nf2c1, nf2c2<->nf2c3, and 2.) switch/router/nic regression with nf2c0<->exp0.1,nf2c1<->exp0.2
     66
     67 * (3/11/11) Session [attachment:netfpga-session-2011.03.11-from-scratch-NetFPGA-Openflow.txt terminal log]
     68
     69
    5970 
    6071