Changes between Version 7 and Version 8 of OpenFlow/Controllers/Floodlight
- Timestamp:
- 12/11/12 14:50:56 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenFlow/Controllers/Floodlight
v7 v8 9 9 10 10 === Monitoring === 11 Monitoring what is going on within an OpenFlow network can be done with a few basic curl commands and a basic understanding of how to read JSON. The full set of commands are documented at http://www.openflowhub.org/display/floodlightcontroller/Floodlight+REST+API, but a few select useful ones are documented below.11 Monitoring what is going on within an !OpenFlow network can be done with a few basic curl commands and a basic understanding of how to read JSON. The full set of commands are documented at http://www.openflowhub.org/display/floodlightcontroller/Floodlight+REST+API, but a few select useful ones are documented below. 12 12 13 13 ==== Variables ==== … … 20 20 21 21 ==== Querying for Flow Stats ==== 22 This will tell you what flows are in the switch currently, which table that flow is in, and statistics on the flow (i.e. how many packets have matched that flow, how long that flow has been in the table for, etc.). 22 This will tell you what flows are in the switch currently, which table that flow is in, and statistics on the flow (i.e. how many packets have matched that flow, how long that flow has been in the table for, etc.). This is probably the most useful query in terms of collecting information for debugging issues. 23 23 {{{ 24 24 curl <controller_url>/wm/core/switch/all/flows/json | python -m json.tool