Thank you.
This does provide me some ideas. I will try.
Zhao Jun
Date: Fri, 4 Mar 2016 05:13:57 -0800
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: Re: [Ryu-devel] how to connect to another tcp server in ryu
application?
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 俊 赵 <[email protected]>:
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 Mar 2016 16:06:58 +0800
To: [email protected]
CC: [email protected]
Subject: Re: [Ryu-devel] how to connect to another tcp server in ryu
application?
Maybe, it concerns about network programming using python.
On Fri, Mar 4, 2016 at 4:02 PM, 俊 赵 <[email protected]> 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 sending message to tcp server.
So can you give me some advices?
Thanks.
Zhao Jun
From: [email protected]
Date: Fri, 4 Mar 2016 15:56:19 +0800
To: [email protected]
CC: [email protected]
Subject: Re: [Ryu-devel] how to connect to another tcp server in ryu
application?
Ryu App is driven by the event. So, it depend on what you want to do when
receiving event.
For example. you can connect TCP server when receiving PACKET-IN.
@set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER)
def _packet_in_handler(self, ev):# establish TCP connection with the TCP server.
On Wed, Mar 2, 2016 at 10:02 PM, 俊 赵 <[email protected]> wrote:
Hi all,
I write a RYU application, and several openvswitch connect to it.
class OVSRouter(app_manager.RyuApp):
OFP_VERSIONS = [ofproto_v1_3.OFP_VERSION]
def __init__(self, *args, **kwargs):
super(OVSRouter, self).__init__(*args, **kwargs)
And I run this application using ryu-manager.
At the same time, I want the ryu controller connecting to another TCP server,
acting as a client, and receive data message from that server.
I didn't know how to achieve this. Does anyone have any ideas?
Thanks!
Zhao Jun
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
--
Shuoling Deng
Dept. of Computer Science and Technology
Xi'an Jiaotong University
Xi'an, 710049, P.R. China
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
--
Shuoling Deng
Dept. of Computer Science and Technology
Xi'an Jiaotong University
Xi'an, 710049, P.R. China
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel