Open LaochMumhain opened 5 years ago
@LaochMumhain This error means the switch openflow version(0x04) differs from dpctl's version(0x01)
You can explicitly specify the switch's version like this:
OpenFlow1.0: sudo mn --switch=ovs,protocols=OpenFlow10
OpenFlow1.3: sudo mn --switch=ovs,protocols=OpenFlow13
You can also specify dpctl's version using the -O option:
mininet> dpctl dump-flows
*** s1 ------------------------------------------------------------------------
2019-01-17T20:41:27Z|00001|vconn|WARN|unix:/var/run/openvswitch/s1.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: s1: failed to connect to socket (Broken pipe)
mininet> dpctl dump-flows -O OpenFlow13
*** s1 ------------------------------------------------------------------------
OFPST_FLOW reply (OF1.3) (xid=0x2):
Mininet uses GitHub issues for bug reports and feature requests only. These issues can be viewed at bugs.mininet.org
If you have a question that is not a bug report or a feature request, please use the documentation at docs.mininet.org, the FAQ at faq.mininet.org, and the mininet-discuss mailing list.
For bug reports, please fill in the following information in detail, and also feel free to include additional information such as debug output from mn -v debug, etc. --- Cut Here ---
Expected/Desired Behavior:
mininet> dpctl dump-flows # Would show flows in OvS.
Actual Behavior:
Detailed Steps to Reproduce the Behavior:
Additional Information: