Re: [Ryu-devel] Match on tcp_src and udp_src

2014-06-05 Thread Wei-Li Tang
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 : > > Hi folks, > Is anybody knows why matching on upd or tcp source and destination port > gives the error o

[Ryu-devel] Match on tcp_src and udp_src

2014-06-05 Thread Hanieh Rajabi
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