## 报错 Actual results: 2015-11-04T17:45:56Z|00001|vconn|WARN|unix:/var/run/openvswitch/br0.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04) ovs-ofctl: br0: failed to connect to socket (Broken pipe)
Additional info: this currently works when specifying the version
1
# ovs-ofctl dump-flows br0 --protocols=OpenFlow13
原因:
ovs-ofctl allows you to set many protocols on the command line, like –protocols=OpenFlow10,OpenFlow13.
That will work for bridges that only support OpenFlow13.
The problem with using any version by default is that mod-flow has different semantics depending on the version. So, instead of behaving differently whenever you use ovs-ofctl mod-flow, the tool defaults to OpenFlow10 only.
Why not use an alias like ovs-ofctl13=’ovs-ofctl –protocols=OpenFlow13’?