Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Túlio Pascoal
I performed: sudo pip install ryu --upgrade And now, when I run: ryu-manager --version, I get the following: Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in load_entry_point('ryu==4.5', 'console_scripts', 'ryu-manager')() File "/usr/local/lib/python2.7/di

Re: [Ryu-devel] Monitoring control packets

2016-08-25 Thread Iwase Yusuke
Hi, How about monitoring the switch's port which port number is OFPP_CONTROLLER? You can get this port statistics with OFPPortStatsRequest messages: e.g.) req = ofp_parser.OFPPortStatsRequest(datapath, 0, ofp.OFPP_CONTROLLER) Thanks, Iwase On 2016年08月25日 23:22, Osman Titu wrote: > Hi > > I am

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Túlio Pascoal
Thanks for the reply, Iwase. I got version 3.6. I think I may need to upgrade my Ryu. Any hints? Regards, -- Túlio Albuquerque Pascoal On 25 August 2016 at 22:19, Iwase Yusuke wrote: > Hi, >

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Iwase Yusuke
Hi, Which version of Ryu are you using? On my environment, length field can be get. e.g.) $ curl -X GET http://localhost:8080/stats/flow/1 | jq . { "1": [ { "duration_sec": 256, "byte_count": 0, "match": { "in_port": 1 }, "actions": [

Re: [Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-25 Thread Túlio Pascoal
Hi, Can anyone help me in this thread? I really think it is an implementation problem in the REST API, Ryu or OpenFlow. Regards, -- Túlio Albuquerque Pascoal On 23 August 2016 at 15:55, Túlio P

[Ryu-devel] Monitoring control packets

2016-08-25 Thread Osman Titu
Hi I am using RYU. For my project I need to monitor control packets, specifically control packet loss between switches and controller. Is there any way to monitor control packet losses? Any suggestion would highly be appreciated. Thanks ---

[Ryu-devel] Ryu patch

2016-08-25 Thread 林東岳
Hi, Attachment is my patch. tungyueh From 206a5d096a6c3ffb2fc2029979d28aa2fd1d15ab Mon Sep 17 00:00:00 2001 From: tungyueh Date: Thu, 25 Aug 2016 15:53:17 +0800 Subject: [PATCH] add change role API in ofctl_rest Signed-off-by: tungyueh --- ryu/app/ofctl_rest.py | 12 ryu/lib/of

Re: [Ryu-devel] Not able to install the RYU controller

2016-08-25 Thread Iwase Yusuke
Hi, Ryu drops Python 2.6 support at this patch. https://github.com/osrg/ryu/commit/af5e6b5fb7bfcce070fb94c46157546a70453c34 So, the latest Ryu might not work well on your environment. Please install Python version 2.7, 3.4 or 3.5, first. To activate Python virtualenv, please refer to the foll