Re: [Ryu-devel] How to get link bandwidth?

2014-05-23 Thread FUJITA Tomonori
On Fri, 23 May 2014 21:40:05 +0800 胡博宏 wrote: > At present, my solution is using EventOFPPortStatsReply to get some port's > parameters, like rx_bytes, tx_bytes, duration_sec and duration_nsec etc. > Then, calculating the bandwidth. Sounds reasonable to me. > Is there any method to acquire link

Re: [Ryu-devel] [PATCH] wsgi: add ws_topology application

2014-05-23 Thread FUJITA Tomonori
On Thu, 22 May 2014 11:23:12 + Satoshi Kobayashi wrote: > - Topology change is notified > - JSON-RPC/WebSocket > > Signed-off-by: Satoshi Kobayashi > --- > ryu/app/ws_topology.py | 105 > > ryu/app/wsgi.py| 34 +++-

Re: [Ryu-devel] [PATCH] rest_topology: use decorator api

2014-05-23 Thread FUJITA Tomonori
On Wed, 21 May 2014 09:12:03 + Satoshi Kobayashi wrote: > > Signed-off-by: Satoshi Kobayashi > --- > ryu/app/rest_topology.py | 74 > +- > 1 files changed, 34 insertions(+), 40 deletions(-) Applied, thanks! --

Re: [Ryu-devel] Problem with Ryu installation on Mac OSX

2014-05-23 Thread FUJITA Tomonori
On Thu, 22 May 2014 14:43:05 +0200 Antoine Fressancourt wrote: > Then, when launching Ryu's installation, I get an error > > In file included from src/lxml/lxml.etree.c:346: > > > /private/tmp/pip_build_root/lxml/src/lxml/includes/etree_defs.h:9:10: fatal > error: 'libxml/xmlversion.h' file no

[Ryu-devel] Getting Flow information from RYU

2014-05-23 Thread Karthik Sharma
​Hi, I need to get the following information about a flow for my application. - FLOW_ID - MATCHED_SRC_MAC - DST_PORT - SRC_SWITCH - DST_SWITCH - FLOW_PATH_FLAGS - MATCH_DST_MAC - SRC_PORT - TYPE - INSTALLED - DATA_PATH_SUMMARY - USER_STATE. Can I get these information by 1) Importing some imodu

[Ryu-devel] Information regarding Switches and Ports from RYU

2014-05-23 Thread Karthik Sharma
Hi, I am attempting to get some information from OpenFlow for my OpenFlow Application on RYU. The information that I want to get is given below. For each SWITCH,I want - DPID - STATE (ACTIVE/INACTIVE) For each PORT, I want - DPID - PORT_NUMB

[Ryu-devel] How to get link bandwidth?

2014-05-23 Thread 胡博宏
Hello everybody! I'm a beginner, and i'm confusing about getting link bandwidth in real time. At present, my solution is using EventOFPPortStatsReply to get some port's parameters, like rx_bytes, tx_bytes, duration_sec and duration_nsec etc. Then, calculating the bandwidth. Is there any method t

Re: [Ryu-devel] help with ryu config

2014-05-23 Thread Yoshihiro Kaneko
Hi, 2014-05-21 12:04 GMT+09:00 马超 : > Hi > > I have Havana with three node: Controller, Network and Compute > > Q1: neutron-server is running on both Controller and Network node > according to "OpenStack Installation Guide for Ubuntu 12.04", witch node > should Ryu controller run on ? neutron-

Re: [Ryu-devel] EventOFPPacketIn in OF1.2

2014-05-23 Thread YAMADA Hideki
Hi, (2014/05/23 11:45), Qun Nguyn Thanh wrote: > Dear Ryu-Devel, > > I would like to ask one question about my issues. > > When controller send "Echo Reply" to switch. I want to do something with > this function. So I use > > > *@set_ev_cls(ofp_event.EventOFPPacketIn, [HANDSHAKE_DISPATCHER, > CONF