[ovs-discuss] ovs-ofctl: vlanX is not a bridge or a socket
Valentin Bud
valentin.bud at gmail.com
Wed Nov 21 06:33:20 UTC 2012
On Tue, Nov 20, 2012 at 7:02 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Tue, Nov 20, 2012 at 11:57:53AM +0200, Valentin Bud wrote:
> > I want to dump the statistics of a port which is connected to a VM. I
> > use fake bridges, vlan5 in my situation is a fake-bridge in the bridge
> > br0.
> >
> > ```
> > $ ovs-vsctl br0
> > 218c9259-5dcb-40fc-b175-36f4d4275564
> > Bridge br0
> > Port "vnet0"
> > tag: 5
> > Interface "vnet0"
> > Port "vlan5"
> > tag: 5
> > Interface "vlan5"
> > type: internal
> > Port br0
> > Interface br0
> > type: internal
> > ```
> >
> > The error I receive is the following:
> >
> > ```
> > $ sudo ovs-ofctl dump-ports vlan5 vnet0
> > ovs-ofctl: vlan5 is not a bridge or a socket
> > ```
>
> It is important to understand that a "fake bridge" is neither an Open
> vSwitch bridge nor an OpenFlow switch. Thus, you cannot use them in
> most contexts where an Open vSwitch bridge or an OpenFlow switch is
> required. I am surprised that the word "fake" in the name does not make
> this clear.
>
Now it's crystal clear. Thank you for your explanation :-).
>
> You can dump the ports on br0 with the command you listed, if you
> substitute "br0" for "vlan5".
>
Indeed it works. br0 is the bridge the ports are part of.
Thank you. Cheers and Goodwill,
Valentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121121/b7b5b4ff/attachment.html>
More information about the discuss
mailing list