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


Ignore:
Timestamp:
Mar 8, 2012, 10:51:32 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/VLANstitching

    v1 v2  
    99== Configurations ==
    1010`of1` shows up as DPID 00:00:00:23:20:08:0f:f7 on `kvm-big`. On `of1`, this is the MAC address of interface tap0. [[BR]]
    11 The following flow entries are created for `of1`'s DPID on `kvm-big`:
     11
     12This is done from the CLI, in config-switch mode.
     13{{{
     14kvm-big> en
     15kvm-big# conf
     16kvm-big(config)# switch 00:00:00:23:20:08:0f:f7
     17kvm-big(config-switch)#
     18}}}
     19
     20From the config-switch context, two flow entries are created for `of1`'s DPID on `kvm-big`: one for switching VLAN tags from 3733 to 5 on nf2c2, and the other, from 5 to 3733 on nf2c1.
    1221{{{
    1322  flow-entry port-c1
     
    2332}}} 
    2433
    25 This is done from the CLI, in config-switch mode.
    26 {{{
    27 kvm-big> en
    28 kvm-big# conf
    29 kvm-big(config)# switch 00:00:00:23:20:08:0f:f7
    30 kvm-big(config-switch)#
    31 }}}
    32 
    33 Setting flow entries from the `config-switch` context is a matter of copy/pasting each line from the first quote block above. Key points are:
     34Setting 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:
     35 * The four ports of the NetFPGA are designated 1,2,3,4, not 0,1,2,3 as the nf2cx numbering might suggest. 
    3436 * 'active True' must be specified to enable the flow policy since the default for any newly created flow is 'active False'
    3537 * at least one layer 2 or lower constraint e.g. ingress/egress port or src/dst MAC must be specified