Hi, When testing Ryu with the latest OVS on github, I got the following error message at OFPMP_PORT_DESC mwssage.
$ ryu-manager --verbose ryu.app.simple_switch_15 ... error msg ev version: 0x6 msg_type 0x1 xid 0x5796d4bb OFPErrorMsg(code=6,data='\x06\x12\x00\x10W\x96\xd4\xbb\x00\r\x00\x00\x00\x00\x00\x00',type=1) type 0x1 code 0x6 0x6 0x12 0x0 0x10 0x57 0x96 0xd4 0xbb 0x0 0xd 0x0 0x0 0x0 0x0 0x0 0x0 ... So, Ryu cannot move onto main mode, and cannot get any OpenFlow messages. This error message from OVS, OFPErrorMsg(code=6, type=1), shows the folowing reason. - type=1 OFPET_BAD_REQUEST = 1, /* Request was not understood. */ - code=6 OFPBRC_BAD_LEN = 6, /* Wrong request length for type. */ This message says 'Ryu sent the wrong request length message', but Ryu sent the correct message, I think. From error msg body, I decoded this manually. 0x6 0x12 0x0 0x10 0x57 0x96 0xd4 0xbb 0x0 0xd 0x0 0x0 0x0 0x0 0x0 0x0 --- decoded ---> ofp_multipart_request { ofp_header { version 0x6 type 0x12 --> OFPT_MULTIPART_REQUEST length 0x0 0x10 --> 16 Byte ( this is the correct length! ) xid 0x57 0x96 0xd4 0xbb } type 0x0 0xd --> OFPMP_PORT_DESC flags 0x0 0x0 pad 0x0 0x0 0x0 0x0 } ---------------------------- Maybe I think OVS has some bugs with OpenFlow1.5, because Ryu can send OFPMP_PORT_DESC messages well with OpenFlow1.4 on OVS. Thanks, Iwase On 2015年05月09日 20:20, Николай Жупиков wrote: > Hello! Please tell me why Open Vswitch v 2.3.0 or v 2.3.1, which have > supported OpenFlow 1.5, not support event EventOFPacketIn ryu? > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel