Re: [Ryu-devel] i386 failure in test_ofproto_parser.py

2016-02-14 Thread Minoru TAKAHASHI
Hi, Corey On 2016年02月13日 07:17, Corey Bryant wrote: > Hi, > > Has anyone come across this test failure? I'm seeing it on an i386 run. > > == > FAIL: test_parser (ryu.tests.unit.ofproto.test_ofproto_parser.TestMsgBase) > ---

Re: [Ryu-devel] packet_out format

2016-02-14 Thread Stas Kozlov
Hi, Thanks! I figured out the cause of the issue. On 15.02.2016 06:00, Shinpei Muraoka wrote: > Hi, > >> "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", >> line 2385, in _serialize_body >> self.buf += self.data >> TypeError: can't concat Packet to bytearr

Re: [Ryu-devel] Constructing an Experimenter Match field.

2016-02-14 Thread Alan Deikman
> On Feb 11, 2016, at 6:06 PM, Yusuke Iwase wrote: > > Then, Ryu will generate "ovid" match field automatically and you can use this > field like you described. Thank you for this pointer. I plan on sharing my code as open source once I have it presentable. Regards, ---

Re: [Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-14 Thread Victor Orlikowski
> On Feb 14, 2016, at 9:54 PM, IWAMOTO Toshihiro wrote: > I think you can use eventlet.queue.PriorityQueue instead of these 3 > queues. (see below) > > Let us have: > > self.events = hub.PriorityQueue(128) > No, this will not work. If the priority queue becomes full, lower priority i

Re: [Ryu-devel] packet_out format

2016-02-14 Thread Shinpei Muraoka
Hi, > "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", > line 2385, in _serialize_body > self.buf += self.data > TypeError: can't concat Packet to bytearray This problem has occurred because it specifies the wrong format in the packet. You do not specify the ryu.

Re: [Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-14 Thread IWAMOTO Toshihiro
At Thu, 11 Feb 2016 16:49:46 +, Victor Orlikowski wrote: > > Address PEP8 violations, reported here: > https://travis-ci.org/fujita/ryu/jobs/108267416 > > Signed-off-by: Victor J. Orlikowski > > diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py > index 3d5d895..b08c6c5 100644 >

Re: [Ryu-devel] run multiple components with ryu

2016-02-14 Thread Yusuke Iwase
Hi, Please keep mailing list. On 2016年02月12日 15:12, Anees Mohsin Hadi Al-Najjar wrote: > Thanks Iwase for your reply. > > I applied that, but it didn’t work. There an error says "AttributeError: > 'Y.py' object has no attribute 'y1'" > > I put the Y.py in the first component like: > > from r

[Ryu-devel] packet_out format

2016-02-14 Thread Stas Kozlov
Hi, All What is data format for ofp_parser.OFPPacketOut()? I was trying to build packet with ryu.lib.packet.packet: ethernet(dst='00:00:00:00:00:00',ethertype=33024,src='00:07:0d:af:f4:54'), vlan(cfi=0,ethertype=2048,pcp=0,vid=32), ipv4(csum=60513,dst='131.151.32.129',flags=0,header_length=20,i