[Ryu-devel] RYU SwitchFeatures and PortStatus messages

2014-05-24 Thread Karthik Sharma
Hi , My RYU application handles both SwitchFeatures and PortStatus messages.I connect my simple topology (consisting of 6 SWITCHES) to RYU Controller Application. I can see that SwitcheFeatures handler is called exactly 6 times - once for every switch PortStatus handler is called exactly ONLY o

[Ryu-devel] RYU Controller APP getting packet_in without sending any traffic across mininet topology.

2014-05-24 Thread Karthik Sharma
Hi I connect my mininet topology to my RYU controller application and I start getting PACKET_IN messages. What is causing this? Is there any way to stop this? I want to receive PACKET_IN in my controller app only when I deliberately send traffic across the switches in my topology Regards, Kar

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

2014-05-24 Thread Quân Nguyễn Thanh
Hi there I send again. On Fri, May 23, 2014 at 11:45 AM, Quân Nguyễn 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.EventOFPPa

[Ryu-devel] How to get or calculate the real-time bandwidth of a link?

2014-05-24 Thread Ivor Hu
Hi there! I'm new to Ryu. I'm trying to writing a Ryu module to complete a simple traffic engineering. It has 3 switches A,B and C, they are connected with each other. A-B link is the shortest path between A and B, and A-C-B link is another path. Normally, traffic go through A-B link. But when A-