On Mon, 19 Jan 2015 10:45:10 +0900
Yusuke Iwase <[email protected]> wrote:

> this patch makes ofctl_rest enable use of OFPQueueStats message.
> 
> usage)
> 
>   URI:    /stats/queue/<dpid>
>   method: GET
> 
> e.g.)
> 
>   $ curl -X GET http://localhost:8080/stats/queue/1
>   {
>     "1": [
>       {
>         "port_no": 1,
>         "queue_id": 0,
>         "tx_bytes": 0,
>         "tx_packets": 0,
>         "tx_errors": 0,
>         "duration_sec": 4294963425,
>         "duration_nsec": 3912967296
>       },
>       {
>         "port_no": 1,
>         "queue_id": 1,
>         "tx_bytes": 0,
>         "tx_packets": 0,
>         "tx_errors": 0,
>         "duration_sec": 4294963425,
>         "duration_nsec": 3912967296
>       }
>     ]
>   }
> 
> NOTE: The "duration_sec" and "duration_nsec" fields are for OF1.3(or later).
> 
> Signed-off-by: IWASE Yusuke <[email protected]>
> ---
>  ryu/app/ofctl_rest.py | 27 +++++++++++++++++++++++++++
>  ryu/lib/ofctl_v1_0.py | 19 +++++++++++++++++++
>  ryu/lib/ofctl_v1_2.py |  4 ++--
>  3 files changed, 48 insertions(+), 2 deletions(-)

Applied all, thanks a lot!

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to