On Tue, Feb 15, 2011 at 06:34:16PM +0100, Xavier COUDIN wrote:
> When I read the documentation, I cannot find any issue to query OVS
> to tell me then vlan id of a port.

You have many choices:

"ovs-vsctl list port" will list all the properties of all ports,
including their VLAN IDs.

"ovs-vsctl list port <myport>" will list all the properties of port
<myport>, including its VLAN ID.

"ovs-vsctl get port <myport> tag" will list just the VLAN ID of port
<myport>.

> I was expecting 2 possibilities:
> (1) when asking "ovs-vsctl --list-ports br0"  , it would be nice if
> the command was answering...
> tap0    vid=6
> tap1    vid=10
> etc...
> 
> instead of only...
> tap0
> tap1

The behavior of list-ports cannot be changed because other software
depends on its specific behavior.

> (2)  a new command looking like
> "ovs-vsctl  --ports-to-vlan br0"    that could answer  something like
> tap0    vid=6
> tap1    vid=10
> eth0    trunk or 801.1Q
> etc...

I have often thought that we should introduce a command that prints an
overview of bridges and their ports, but there is none yet.

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to