Hi
You should change the version of OpenFlow which in your switch to 1.3
For example(mininet)
sudo mn --controller=remote,ip=[controller ip]
--switch=ovsk,protocols=OpenFlow13
--
Takeshi
2015-07-08 17:16 GMT+08:00 Gautam Pathak <[email protected]>:
> Hi,
>
> I have first run my topology with simple_switch.py. It is working fine.
>
> But when I run the simple_switch_13.py it is showing following errors:
>
> mininet@mininet-VirtualBox:~/ryu$ sudo PYTHONPATH=. ./bin/ryu-manager
> --verbose ryu/app/simple_switch_13.py
> loading app ryu/app/simple_switch_13.py
> loading app ryu.controller.ofp_handler
> instantiating app ryu/app/simple_switch_13.py of SimpleSwitch13
> instantiating app ryu.controller.ofp_handler of OFPHandler
> BRICK SimpleSwitch13
> CONSUMES EventOFPSwitchFeatures
> CONSUMES EventOFPPacketIn
> BRICK ofp_event
> PROVIDES EventOFPSwitchFeatures TO {'SimpleSwitch13': set(['config'])}
> PROVIDES EventOFPPacketIn TO {'SimpleSwitch13': set(['main'])}
> CONSUMES EventOFPHello
> CONSUMES EventOFPPortDescStatsReply
> CONSUMES EventOFPErrorMsg
> CONSUMES EventOFPSwitchFeatures
> CONSUMES EventOFPEchoRequest
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f97d0>
> address:('127.0.0.1', 45644)
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f9890>
> address:('127.0.0.1', 45645)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f5d9a6f9b90>
> unsupported version 0x1. If possible, set the switch to use one of the
> versions [4]
> error msg ev version: 0x4 msg_type 0x1 xid 0xfb3f5860
> OFPErrorMsg(code=1,data='\x04\x01\x00_\xfb?X`\x00\x00\x00\x00unsupported
> version 0x1. If possible, set the switch',type=1) type 0x1 code 0x1 0x4 0x1
> 0x0 0x5f 0xfb 0x3f 0x58 0x60 0x0 0x0 0x0 0x0 0x75 0x6e 0x73 0x75 0x70 0x70
> 0x6f 0x72 0x74 0x65 0x64 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x20 0x30
> 0x78 0x31 0x2e 0x20 0x49 0x66 0x20 0x70 0x6f 0x73 0x73 0x69 0x62 0x6c 0x65
> 0x2c 0x20 0x73 0x65 0x74 0x20 0x74 0x68 0x65 0x20 0x73 0x77 0x69 0x74 0x63
> 0x68
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f98d0>
> address:('127.0.0.1', 45646)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f5d9a70c050>
> unsupported version 0x1. If possible, set the switch to use one of the
> versions [4]
> error msg ev version: 0x4 msg_type 0x1 xid 0x925e7107
> OFPErrorMsg(code=1,data='\x04\x01\x00_\x92^q\x07\x00\x00\x00\x00unsupported
> version 0x1. If possible, set the switch',type=1) type 0x1 code 0x1 0x4 0x1
> 0x0 0x5f 0x92 0x5e 0x71 0x7 0x0 0x0 0x0 0x0 0x75 0x6e 0x73 0x75 0x70 0x70
> 0x6f 0x72 0x74 0x65 0x64 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x20 0x30
> 0x78 0x31 0x2e 0x20 0x49 0x66 0x20 0x70 0x6f 0x73 0x73 0x69 0x62 0x6c 0x65
> 0x2c 0x20 0x73 0x65 0x74 0x20 0x74 0x68 0x65 0x20 0x73 0x77 0x69 0x74 0x63
> 0x68
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f9cd0>
> address:('127.0.0.1', 45647)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f5d9a70c510>
> unsupported version 0x1. If possible, set the switch to use one of the
> versions [4]
> error msg ev version: 0x4 msg_type 0x1 xid 0x486cd4fb
> OFPErrorMsg(code=1,data='\x04\x01\x00_Hl\xd4\xfb\x00\x00\x00\x00unsupported
> version 0x1. If possible, set the switch',type=1) type 0x1 code 0x1 0x4 0x1
> 0x0 0x5f 0x48 0x6c 0xd4 0xfb 0x0 0x0 0x0 0x0 0x75 0x6e 0x73 0x75 0x70 0x70
> 0x6f 0x72 0x74 0x65 0x64 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x20 0x30
> 0x78 0x31 0x2e 0x20 0x49 0x66 0x20 0x70 0x6f 0x73 0x73 0x69 0x62 0x6c 0x65
> 0x2c 0x20 0x73 0x65 0x74 0x20 0x74 0x68 0x65 0x20 0x73 0x77 0x69 0x74 0x63
> 0x68
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f9b90>
> address:('127.0.0.1', 45648)
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f9d50>
> address:('127.0.0.1', 45649)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f5d9a6f9f10>
> unsupported version 0x1. If possible, set the switch to use one of the
> versions [4]
> error msg ev version: 0x4 msg_type 0x1 xid 0x8441a668
> OFPErrorMsg(code=1,data='\x04\x01\x00_\x84A\xa6h\x00\x00\x00\x00unsupported
> version 0x1. If possible, set the switch',type=1) type 0x1 code 0x1 0x4 0x1
> 0x0 0x5f 0x84 0x41 0xa6 0x68 0x0 0x0 0x0 0x0 0x75 0x6e 0x73 0x75 0x70 0x70
> 0x6f 0x72 0x74 0x65 0x64 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x20 0x30
> 0x78 0x31 0x2e 0x20 0x49 0x66 0x20 0x70 0x6f 0x73 0x73 0x69 0x62 0x6c 0x65
> 0x2c 0x20 0x73 0x65 0x74 0x20 0x74 0x68 0x65 0x20 0x73 0x77 0x69 0x74 0x63
> 0x68
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f9910>
> address:('127.0.0.1', 45650)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f5d9a70c410>
> unsupported version 0x1. If possible, set the switch to use one of the
> versions [4]
> error msg ev version: 0x4 msg_type 0x1 xid 0xd30ffcff
> OFPErrorMsg(code=1,data='\x04\x01\x00_\xd3\x0f\xfc\xff\x00\x00\x00\x00unsupported
> version 0x1. If possible, set the switch',type=1) type 0x1 code 0x1 0x4 0x1
> 0x0 0x5f 0xd3 0xf 0xfc 0xff 0x0 0x0 0x0 0x0 0x75 0x6e 0x73 0x75 0x70 0x70
> 0x6f 0x72 0x74 0x65 0x64 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x20 0x30
> 0x78 0x31 0x2e 0x20 0x49 0x66 0x20 0x70 0x6f 0x73 0x73 0x69 0x62 0x6c 0x65
> 0x2c 0x20 0x73 0x65 0x74 0x20 0x74 0x68 0x65 0x20 0x73 0x77 0x69 0x74 0x63
> 0x68
> connected socket:<eventlet.greenio.GreenSocket object at 0x7f5d9a6f9890>
> address:('127.0.0.1', 45651)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0x7f5d9a70c090>
> unsupported version 0x1. If possible, set the switch to use one of the
> versions [4]
> error msg ev version: 0x4 msg_type 0x1 xid 0x1d5848cf
> OFPErrorMsg(code=1,data='\x04\x01\x00_\x1dXH\xcf\x00\x00\x00\x00unsupported
> version 0x1. If possible, set the switch',type=1) type 0x1 code 0x1 0x4 0x1
> 0x0 0x5f 0x1d 0x58 0x48 0xcf 0x0 0x0 0x0 0x0 0x75 0x6e 0x73 0x75 0x70 0x70
> 0x6f 0x72 0x74 0x65 0x64 0x20 0x76 0x65 0x72 0x73 0x69 0x6f 0x6e 0x20 0x30
> 0x78 0x31 0x2e 0x20 0x49 0x66 0x20 0x70 0x6f 0x73 0x73 0x69 0x62 0x6c 0x65
> 0x2c 0x20 0x73 0x65 0x74 0x20 0x74 0x68 0x65 0x20 0x73 0x77 0x69 0x74 0x63
> 0x68
>
> Please tell, What I need to do to resolve it?
>
> Best regards,
> Goutam
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel