[ovs-discuss] Openvswitch Openflow version mismatch
S.Liu at t-systems.com
S.Liu at t-systems.com
Tue Jan 22 15:53:17 UTC 2013
Hi all,
I'm having some troubles getting ryu openflow controller to work with
OVS.
I'm running ryu controller 1.2 python sample script. On OVS side I use
the latest version 1.9.90. I was able to use "ovs-vsctl set Bridge br0
protocols=OpenFlow12" to add the OF12 support on the OVS. However when
I run the controller ryu script, OVS complained version negotiation
failed. I'm not sure why OVS said it support version 0x01, not version
0x03 even though I have enabled OpenFlow12 support there. Also from
wireshark, both sides did claim version 0x03 in their OFP hello packets.
Any idea what the problem is?
Thanks a lot,
Steve
tsi at tsi-sdn-1:~/ryu/ryu/tests/integrated$ sudo ovs-ofctl dump-flows br0
2013-01-22T15:41:50Z|00001|vconn|WARN|unix:/usr/local/var/run/openvswitc
h/br0.mgmt: version negotiation failed (we support version 0x01, peer
supports version 0x03)
ovs-ofctl: br0: failed to connect to socket (Broken pipe)
tsi at tsi-sdn-1:~/ryu/ryu/tests/integrated$ sudo ovs-ofctl -V
ovs-ofctl (Open vSwitch) 1.9.90
Compiled Jan 21 2013 14:44:14
OpenFlow versions 0x1:0x4
tsi at tsi-sdn-1:~/ryu/ryu/tests/integrated$ sudo ovs-vsctl list Bridge
_uuid : 3c5933fc-e5ee-4123-afd0-62d897786962
controller : [71aa7245-7f05-4063-a8fc-7ec3ca51f7a8]
datapath_id : "0000001b21821cff"
datapath_type : ""
external_ids : {}
fail_mode : []
flood_vlans : []
flow_tables : {}
mirrors : []
name : "br0"
netflow : []
other_config : {}
ports : [45cc127c-a7f2-414a-9985-490a5d68fdff,
5be4fa0b-cced-4d84-
ba0e-a26f1133d1b8, 8dc584cb-9192-4e0c-9932-b43eb235ac2d]
protocols : ["OpenFlow12"]
sflow : []
status : {}
stp_enable : false
tsi at tsi-sdn-1:~/ryu/ryu/tests/integrated$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130122/13854fe9/attachment.html>
More information about the discuss
mailing list