[ovs-discuss] newbie discovering ovs

Ben Pfaff blp at nicira.com
Wed Jan 19 17:54:24 UTC 2011

On Wed, Jan 19, 2011 at 02:50:57PM +0100, Xavier COUDIN wrote:
> note: I am just sorry that this "ovs-vsctl list-ports  br0" gives as
> a result only the name of the ports, and does not give also the
> vlan-id associated to each port. Could this improvement be included
> in the next releases of ovs ?

Changing list-ports itself would break software that parses the output
of list-ports.

I do think it would be a good idea to add a command that shows an
overview of the bridges and their ports, under a different name.

> I just now added the "libdevplug2" package to my host.

I do not understand how this is relevant.

> Now I have a new difficulty :  br0 is a switch having multiple
> ports. 1 port is supposed to be a 802.1q and the other 5 ports are
> supposed to be in 5 differents vlans. Of course I would like to
> attach my wm to a ports (ie to a vlan) and not to the whole bridge.

If you want to attach a port to a particular vlan, then you can set the
tag, either on the ovs-vsctl add-port command or later with "set"
(e.g. "set port <myport> tag=123").

More information about the discuss mailing list