On Wed, May 09, 2012 at 10:28:34AM +0800, YIMIN CHEN wrote:
> I am looking at ovs utilities to dump the flow tables.
> 
> Found ovs-ofctl, which takes switch as input. What should I put as
> switch? The ovs switch name? Where can I see the names?

Did you read the ovs-ofct manpage?

> I have tried ovs-vsctl list-br, which gives me error:
> 
> jason1@jason1:~/ovs/openvswitch/openvswitch-1.1.0pre2$ ovs-vsctl list-br
> May 09 10:19:29|00002|stream_unix|ERR|/tmp/stream-unix.11647.0:
> connection to /usr/local/var/run/openvswitch/db.sock failed:
> Permission denied

Well, you need permission (probably root).  But you should know the
bridge name, because you had to create it.

> I tried ovs-ofctl, it also requires switch name.
> ovs-ofctl show
> ovs-ofctl: 'show' command requires at least 1 arguments
> 
> I looked up the manual page, and didn't find the information, maybe I
> overlooked something? Your help is appreciated!

It's on the very first page.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to