Hi Ramesh,
On 2016年02月15日 16:26, Ramesh D wrote:
>
> Stas Kozlov writes:
>
>>
>> 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'
> ),
Stas Kozlov writes:
>
> 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
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
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.
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