Changes between Version 3 and Version 4 of Internal/OpenFlow/VLANstitching
- Timestamp:
- May 16, 2012, 1:55:21 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/VLANstitching
v3 v4 32 32 }}} 33 33 34 If 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 34 39 Setting 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: 35 40 * The four ports of the NetFPGA are designated 1,2,3,4, not 0,1,2,3 as the nf2cx numbering might suggest.