On Mon, Nov 11, 2013 at 02:40:46PM -0800, Jayanth Silesh wrote:
> After doing the above instruction, for any command I use, it throws an error 
> like??
> 
> mininet@mininet-vm:~$ sudo ovs-ofctl dump-flows s1
> 2013-11-10T02:43:43Z|00001|vconn|WARN|unix:/usr/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)
> 
> 
> 
> I need to use the command like this ,
> mininet@mininet-vm:~$ sudo ovs-ofctl dump-flows s1 -O OpenFlow13
> 
> Is there a better way of doing this?

Not yet.  Some future version of OVS will enable additional OpenFlow
versions by default.  For now, you can use a wrapper script or a shell
alias or a shell function, e.g.: 

alias ovs-ofctl='ovs-ofctl -O OpenFlow13'
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to