[ovs-dev] questions about ovs commands

YIMIN CHEN ymchen.nbzj at gmail.com
Wed May 9 02:35:02 UTC 2012


I found my answer in /etc/ifup file. Thanks!

Yimin

On Wed, May 9, 2012 at 10:28 AM, YIMIN CHEN <ymchen.nbzj at gmail.com> wrote:
> Hi,
>
> 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?
>
> I have tried ovs-vsctl list-br, which gives me error:
>
> jason1 at 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
> May 09 10:19:29|00003|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock:
> connection attempt failed (Permission denied)
> May 09 10:19:30|00004|stream_unix|ERR|/tmp/stream-unix.11647.1:
> connection to /usr/local/var/run/openvswitch/db.sock failed:
> Permission denied
> May 09 10:19:30|00005|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock:
> connection attempt failed (Permission denied)
> May 09 10:19:32|00006|stream_unix|ERR|/tmp/stream-unix.11647.2:
> connection to /usr/local/var/run/openvswitch/db.sock failed:
> Permission denied
> May 09 10:19:32|00007|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock:
> connection attempt failed (Permission denied)
>
> 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!
>
> Thanks!
> Yimin



More information about the dev mailing list