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


Ignore:
Timestamp:
May 16, 2012, 1:55:21 AM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/VLANstitching

    v3 v4  
    3232}}} 
    3333
     34If using the REST API, the exact same keyword=value pairs can be placed in a HTTP PUT using a script, or a tool such as `curl`:
     35{{{
     36% curl -d '{"switch": "00:00:00:23:20:08:0f:f7", "name": "port-c1", "active": "true" ... }'  http://<controller_ip>:8080/wm/staticflowentrypusher/json
     37}}} 
     38
    3439Setting 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:
    3540 * The four ports of the NetFPGA are designated 1,2,3,4, not 0,1,2,3 as the nf2cx numbering might suggest.