Changes between Version 6 and Version 7 of Internal/OpenFlow/HostSetup


Ignore:
Timestamp:
Nov 11, 2009, 10:59:08 PM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/HostSetup

    v6 v7  
    105105
    106106Ultimately, the second NetFPGA host was built using Ubuntu 8.04 (kernel 2.6.24-16). To make things neat, user 'netfpga' was created for this process. Make sure the user is added to the sudoers list. 
     107
     108=== installing NetFPGA drivers ===
    107109
    108110First off, you need an account at netfpga.org to download the .tar files needed to install the netfpga drivers. The files needed are netfpga_base_beta_x_x.tar.gz and netfpga_lib.tar.gz. With an account, they can be downloaded from here: http://netfpga.org/beta/distributions/
     
    124126Then you can make and install the drivers. Note, the selftest can't be run in Ubuntu.
    125127
     128=== installing !OpenFlow on NetFPGA ===
     129
     130General directions are found here: http://netfpga.org/netfpgawiki/index.php/OpenFlow-NetFPGA-090
     131
     132In order to install !OpenFlow on the FPGA you need both the netFPGA !OpenFlow switch driver and the actual !OpenFlow software.
     133 * netFPGA-OpenFLow-switch package : http://netfpga.org/beta/distributions/netfpga_openflow_switch.0_9_0-1.tar.gz (you need an account to access it)
     134 * !OpenFlow : use git (directions below)
     135 
     136Don't bother with the ./install.sh stuff under the '' Usage '' section of the directions found at netfpga.org, since they are custom-fitted for CentOS. Instead, the directions found at [http://openflowswitch.org/wk/index.php?title=CentOS_Install openflowswitch.org] should be referenced. The directions need to be modified slightly for Ubuntu:
     137
     1381. ''' Install Dependencies '''
     139
     140The following are needed to install everything properly (you should be able to `apt-get install` these):
     141 * git-core (recommended)
     142 * curl - dependency for Git that does not get installed properly due to a known bug in some versions of Ubuntu
     143 * autoconf
     144 * automake
     145 * libtool
     146 * gcc
     147 * pkg-config
     148
     149The stuff needed to build kernel modules:
     150 * linux-kernel-devel
     151 * kernel-package
     152 * linux-libc-dev
     153
     154
     1552. ''' Install ''' [[BR]]
     156 
     157The commands, as per the CentOS install page at openflow.org:
     158{{{
     159git clone git://openflowswitch.org/openflow
     160cd openflow
     161./boot.sh
     162}}}
     163Reboot the machine, then build the kernel modules:
     164{{{
     165./configure --with-l26=/lib/modules/`uname -r`/build
     166make
     167sudo make install
     168}}}
     169
     1703. ''' Check that all is well/ the kernel modules exist: '''
     171
     172the command
     173{{{
     174ls <path-to-your-openflow-directory>/datapath/linux-2.6 | grep ofdatapath
     175}}}
     176should bring up the following 2 things:
     177 * ofdatapath.ko
     178 * ofdatapath_netfpga.ko
     179 
    126180
    127181== Regression testing ==