[Ryu-devel] Send a packet to the controller

2016-03-04 Thread Anees Mohsin Hadi Al-Najjar
Dear All, Is it possible to send an id for a packet as a packet_in msg to RYU controller. Actually, I don't need to send the whole packet with its payload. I am looking for a facility in openflow to send an id represents that packet in the openflow switch to the controller. OR Could I send j

[Ryu-devel] send a packet to the controller

2016-03-04 Thread Anees Mohsin Hadi Al-Najjar
Dear All, Is it possible to send an id for a packet as a packet_in msg to RYU controller. Actually, I don't need to send the whole packet with its payload. I am looking for a facility in openflow to send an id represents that packet in the openflow switch to the controller. Thanks for help

Re: [Ryu-devel] how to connect to another tcp server in ryu application?

2016-03-04 Thread David Gabriel
Hi Look at this example . It was suggested by Iwase and I used it to trigger & catch event and it is very useful. Hope it helps ... Kind regards 2016-03-04 0:14 GMT-08:00 俊 赵 : > Yes, I agree with

Re: [Ryu-devel] How can I get a notification that a flow has been deleted?

2016-03-04 Thread mehran shetabi
hi, in addition that what you wrote, by adding "out_port=ofp.OFPP_ANY, out_group=ofp.OFPG_ANY" to the Flow_Mod command for deleting the flow entry, it is now working. Thank you, ... mehran shetabi PhD student Computer Engineering Department IUST

Re: [Ryu-devel] how to connect to another tcp server in ryu application?

2016-03-04 Thread 俊 赵
Yes, I agree with you. Usually I use twisted to send and receive tcp message, and twisted is also driven by event. But I did not know how to integrate ryu and twisted together. So I have no idea about receiving data using tcp socket. Thanks. Zhao Jun From: [email protected] Date: Fri, 4

Re: [Ryu-devel] how to connect to another tcp server in ryu application?

2016-03-04 Thread Shuoling Deng
Maybe, it concerns about network programming using python. On Fri, Mar 4, 2016 at 4:02 PM, 俊 赵 wrote: > Thanks for your reply. > > Yes, I can connect to tcp server. > > But I do not know how to receive the message sent from that tcp server and > handle this message. > > I only know how to sendin

Re: [Ryu-devel] how to connect to another tcp server in ryu application?

2016-03-04 Thread 俊 赵
Thanks for your reply. Yes, I can connect to tcp server. But I do not know how to receive the message sent from that tcp server and handle this message. I only know how to sending message to tcp server. So can you give me some advices? Thanks. Zhao Jun From: [email protected] Date: Fri,