Hello,

ip_proto=4 is IP-ENCAP, not UDP(17). How about this:

match = datapath.ofproto_parser.OFPMatch(eth_type=0x0800, ip_proto=17,
udp_src=2000)


2014-06-06 0:57 GMT+08:00 Hanieh Rajabi <[email protected]>:

>
> Hi folks,
> Is anybody knows why matching on upd or tcp source and destination port
> gives the error on ryu?
>
> matching command is:
>
> match = datapath.ofproto_parser.OFPMatch(udp_src=2000,ip_proto=4)
>
> *error msg ev version: 0x4 msg_type 0x1 xid 0x496282e4
> OFPErrorMsg(code=9,data='\x04\x0e\x00HIb\x82\xe4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x01\x00\x0f\x80\x00\x14\x01\x04\x80\x00\x1e\x02\x07\xd0\x00\x00\x07\x00\x08\x00\x00\x00\x01\x04\x01\x00TIb\x82\xe5',type=4)
> type 0x4 code 0x9 0x4 0xe 0x0 0x48 0x49 0x62 0x82 0xe4 0x0 0x0 0x0 0x0 0x0
> 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x80
> 0x0 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x0 0x0 0x0
> 0x0 0x0 0x1 0x0 0xf 0x80 0x0 0x14 0x1 0x4 0x80 0x0 0x1e 0x2 0x7 0xd0 0x0
> 0x0 0x7 0x0 0x8 0x0 0x0 0x0 0x1 0x4 0x1 0x0 0x54 0x49 0x62 0x82 0xe5*
>
> Thank you in advance!
> Hanieh
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


-- 
Sincerely,

Wei-Li Tang
System Engineer, Xinguard Inc.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to