Re: [Ryu-devel] Ryu, mininet and VLANs "AttributeError: 'module' object has no attribute 'OFPMatch
Brought to you by:
nz_gizmoguy
|
From: Windhya R. <win...@gm...> - 2014-03-25 11:26:45
|
Thank you.. Since I am using mininet, when I use OF1.3, it gives me error msg ev versions.. I will try to implement my network with OFsoftswitch13.. On Tue, Mar 25, 2014 at 12:03 PM, FUJITA Tomonori < fuj...@la...> wrote: > On Tue, 25 Mar 2014 11:55:50 +0100 > Windhya Rankothge <win...@gm...> wrote: > > > I am trying to set a match condition, I have used both of following > ways.. > > > > src = '10.0.0.1' > > match = parser.OFPMatch(ipv4_src = src) or match = > parser.OFPMatch(nw_src = > > src) > > > > both ways give me following error, > > > > File > > "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py", > > line 212, in msg_pack_into > > buf += struct.pack(fmt, *args) > > error: cannot convert argument to integer > > Hmm, if you use OF1.3, OFPMatch(ipv4_src='10.0.0.1') should work. > > -- Best Regards, Windhya Rankothge, Universitat Pompeu Fabra, Barcelona. |