Thank you Ben for your answer,

But I can find none of thoses instructions in the documentation that is downloadable on the website ( (file : "ovsman.cgi.pdf" , dated november 2009).
Is this man-page outdated ?  Are those instructions new features ?




Ben Pfaff a écrit :
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.


--
Xavier COUDIN - coordinateur informatique
LP Chassagne, 44680 Paimboeuf, tel. 02 40 27 51 72 poste 717
LG Pays-de-Retz, 44210 Pornic, gsm 06 80 28 40 53


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

Reply via email to