Re: [Ryu-devel] How to migrate from gevent to eventlet?

2013-05-02 Thread FUJITA Tomonori
Hi, 2013/5/3 Can Zhang : > Today I update ryu to 1.9 and find that ryu substitutes gevent with eventlet. > Some of my applications don't work now since they import and use gevent > explicitly. I think that 1.9 still use gevent. This is kinda big change so I'm thinking about updating major numb

[Ryu-devel] How to migrate from gevent to eventlet?

2013-05-02 Thread Can Zhang
Hello, Today I update ryu to 1.9 and find that ryu substitutes gevent with eventlet. Some of my applications don't work now since they import and use gevent explicitly. So how could I modify my program to the new eventlet API? And just curious, why do you use eventlet instead? Best regard

Re: [Ryu-devel] parsing ARP_SPA and ARP_TPA

2013-05-02 Thread Isaku Yamahata
On Thu, May 02, 2013 at 09:31:21AM -0400, Nitin Sharma wrote: > On Wed, May 1, 2013 at 4:47 AM, Isaku Yamahata wrote: > > On Tue, Apr 30, 2013 at 05:31:39PM -0400, Nitin Sharma wrote: > > I am trying to parse an ARP src and dst ip from arp broadcast, and I > could > > achieve it o

Re: [Ryu-devel] parsing ARP_SPA and ARP_TPA

2013-05-02 Thread Nitin Sharma
On Wed, May 1, 2013 at 4:47 AM, Isaku Yamahata wrote: > On Tue, Apr 30, 2013 at 05:31:39PM -0400, Nitin Sharma wrote: > > I am trying to parse an ARP src and dst ip from arp broadcast, and I > could > > achieve it on OFv1.0 using the wiki article (pkt.protocols). However on > v1.2 , > > how would

Re: [Ryu-devel] parsing ARP_SPA and ARP_TPA

2013-05-02 Thread Nitin Sharma
On Wed, May 1, 2013 at 2:41 AM, FUJITA Tomonori < [email protected]> wrote: > On Tue, 30 Apr 2013 17:31:39 -0400 > Nitin Sharma wrote: > > > elif (msg.version == 1): > > pkt = packet.Packet(array.array('B', ev.msg.data)) > > for p in pkt.pro

Re: [Ryu-devel] Extracting Flow from Ethernet Object/Packet

2013-05-02 Thread Kevin Han
That helps a lot! Thank you! On Wed, May 1, 2013 at 6:14 PM, FUJITA Tomonori < [email protected]> wrote: > On Wed, 1 May 2013 12:36:06 -0400 > Kevin Han wrote: > > > Is there a built in function to extract the flow information (dl_dst, > > dl_src, nw_dst, etc.) from an ethernet pack

Re: [Ryu-devel] [PATCH] lib/hub: Event.wait should return its internal flag

2013-05-02 Thread FUJITA Tomonori
On Thu, 2 May 2013 12:28:09 +0900 Isaku Yamahata wrote: > 'pydoc gevent.event.Event' says > >> Help on method wait in gevent.event.Event: >> >> gevent.event.Event.wait = wait(self, timeout=None) unbound >> gevent.event.Event method >> Block until the internal flag is true. >> If the in

Re: [Ryu-devel] [PATCH] add eventlet to test requirement

2013-05-02 Thread FUJITA Tomonori
On Thu, 02 May 2013 14:14:02 +0900 (JST) FUJITA Tomonori wrote: > > Signed-off-by: FUJITA Tomonori > --- > tools/test-requires | 1 + > 1 file changed, 1 insertion(+) Applied. -- Introducing AppDynamics Lite, a free