Changes between Version 2 and Version 3 of Internal/OpenFlow/VLANstitching


Ignore:
Timestamp:
Mar 9, 2012, 7:27:15 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/VLANstitching

    v2 v3  
    3232}}} 
    3333
    34 Setting flow entries from the `config-switch` context is a matter of copy/pasting each line above, and exiting between different flow entries. Key points are:
     34Setting flow entries from the `config-switch` context is a matter of copy/pasting each line above, and exiting contexts between different flow entries. Key points are:
    3535 * The four ports of the NetFPGA are designated 1,2,3,4, not 0,1,2,3 as the nf2cx numbering might suggest. 
    3636 * 'active True' must be specified to enable the flow policy since the default for any newly created flow is 'active False'
     
    3939
    4040=== sanity checks ===
    41 For the sake of sanity checking, IP addresses were assigned to the VLAN interfaces for 5 and 3733 on sw-top and sw-outside, respectively. If successful, pings will work between the two VLAN interfaces.
     41The NetFPGA host implements !OpenFlow features via the following processes:
     42{{{
     43root      1374     1  0 10:55 ?        00:00:00 /opt/netfpga2.1.1/openflow/udatapath/ofdatapath -D punix:/var/run/test -d 002320080ff7 -i nf2c0 nf2c1 nf2c2 nf2c3
     44root      1452     1  0 10:55 ?        00:00:00 /opt/netfpga2.1.1/openflow/secchan/ofprotocol -D unix:/var/run/test tcp:nox.orbit-lab.org:6633 --out-of-band
     45}}}
     46To check for flows on the host itself, `dpctl` should be used. The commands to pull the switch's status and current flows (e.g. traces) are:
     47{{{
     48dpctl show unix:/var/run/test
     49dpctl status unix:/var/run/test
     50dpctl montior unix:/var/run/test
     51}}}
     52This is similar to the commands `show [DPID] status` and `show [DPID] trace detail` on the controller CLI.
     53
     54An external test involved IP address assignments to the VLAN interfaces for VLANs 5 and 3733 on sw-top and sw-outside, respectively. The IP addresses were pinged from each side; Pings pass between the two VLAN interfaces when stitched correctly.