Hi, On 2015年07月29日 16:03, shenwei (G) wrote: > Thank you, I have tested again, and found the ryu controller reply an packet > like openflow 1.5, but my wireshark tool can not analyses because My > wireshark version is 1.12.6, only support openflow 1.0, 1.1, 1.2, 1.3, 1.4. > The problem is now: > 1. openflow switch send an OFPT_HELLO with version 1.3, openflow packet > content is > 04 00 00 08 9d 69 b9 e2 ----- > 04 tells this is a openflow version is > (0x04) 1.3, and 00 means this is a ofpt_hello 2. ryu controller received the > hello packet, and send a reply, but the content is > 06 00 00 08 2f 9d 48 7a -----> 06 means this is a openflow version is > (0x04) 1.5?
Yes, '06' shows Openflow version 1.5 (0x06). > > My ryu version is 3.19 and I start my ryu just using the default setting > > [root@localhost bin]# ./ryu-manager > loading app ryu.controller.ofp_handler > instantiating app ryu.controller.ofp_handler of OFPHandler > > does ryu-3.19 need some special setting to reply OFPT_HELLO with version 1.3? > Anybody knows please help, thank you very much~~ You can specify the OpenFlow version in your RyuApp as follows. https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L27 Thanks, Iwase > > > > > > -----邮件原件----- > 发件人: Yusuke Iwase [mailto:[email protected]] > 发送时间: 2015年7月29日 8:30 > 收件人: shenwei (G) > 抄送: [email protected]; [email protected]; yuanfeng > (A) > 主题: Re: [Ryu-devel] A question about OFP Hello process of RYU 3.19 > ofp_handler.py,anyone knows please help, thank you > > Hi, > > Because Ryu supports OpenFlow1.4 and OpenFlow1.5, Ryu sends a Hello message > with version 0x06. > > So you can not filter it by "openflow_v4". > Wireshark shows a Hello message with "Unsuported version not dissected". > Please use "openflow" as the filter keyword instead. > > Thanks, > Iwase > > On 2015年07月28日 23:07, FUJITA Tomonori wrote: >> On Fri, 24 Jul 2015 07:05:20 +0000 >> "shenwei (G)" <[email protected]> wrote: >> >>> Hello everyone, >>> Now I have use the RYU 3.19 to test my SDN network, but I >>> found when I run the ryu ofp_handler.py, the OFP hello packet can’t >>> be answered. Does anyone know about this? Thank you very much~ >>> >>> RYU version: 3.19 >>> OS version: Cent OS 6.5 >>> RYU install dir: /home/1-ryu/ryu-3.19/ryu/ >> >> What OF version your switch supports? >> ---------------------------------------------------------------------- >> -------- _______________________________________________ >> Ryu-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/ryu-devel >> ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
