Changes between Version 7 and Version 8 of OpenFlow/Controllers/Floodlight


Ignore:
Timestamp:
12/11/12 14:50:56 (11 years ago)
Author:
tupty@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenFlow/Controllers/Floodlight

    v7 v8  
    99
    1010=== 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.
     11Monitoring 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.
    1212
    1313==== Variables ====
     
    2020
    2121==== 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.).
     22This 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.
    2323{{{
    2424curl <controller_url>/wm/core/switch/all/flows/json | python -m json.tool