Changes between Version 50 and Version 51 of Internal/OpenFlow/HostSetup


Ignore:
Timestamp:
Oct 24, 2011, 10:08:26 PM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/HostSetup

    v50 v51  
    77In order to download tarballs, you need a Foswiki account. Get one [http://netfpga.org/foswiki/bin/view/NetFPGA/UserRegistration here] if you don't have one.
    88
    9 `cd` to /opt/ and fetch the following:
     9`cd` to /opt/ and fetch and untar the following:
    1010
    1111 * netfpga_full_2_2_0.tar.gz from:
     
    139139/opt/openflow/udatapath/ofdatapath --detach punix:/var/run/dp0 -d 001010222324 -i nf2c0,nf2c1,nf2c2,nf2c3
    140140}}}
    141 making it so that the DPID can be taken as an argument to the command-line is left as an exercise to the reader.
    142 
     141You can then run the same command as:
     142{{{
     143./of_start.sh 172.16.0.14:6633 000000101010
     144}}}
     145assigning the switch the DPID 000000101010. Making it so that the script takes DPID as an argument from the command-line is left as an exercise to the reader.
    143146`./of_stop.sh` turns the !OpenFlow components off.   
    144147