]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix adding ports to OVS bridges without VLAN tags
authorKyle Mestery <kmestery@cisco.com>
Thu, 30 Aug 2012 20:38:06 +0000 (16:38 -0400)
committerDaniel Veillard <veillard@redhat.com>
Fri, 31 Aug 2012 02:57:00 +0000 (10:57 +0800)
commit7b9d55e6298ce733db69f217db143975e81fc89f
tree3abbb450011dfb207df23b14f9d7f05da9bd85df
parentf781e27653c7e50747c414a916c788cfc81760c4
Fix adding ports to OVS bridges without VLAN tags

The introduction of the new VLAN code, along with the fix
from 5e465df6be8bcb00f0b4bff831e91f4042fae272, caused the
addition of OVS ports to fail with the following message:

ovs-vsctl: 00002|vsctl|ERR|: missing column name

This fix takes into account the VLAN arguments are optional,
and correctly sets up the command line to run the "ovs-vsctl"
command to add ports to the OVS bridge.

Signed-off-by: Kyle Mestery <kmestery@cisco.com>
CC: Eric Blake <eblake@redhat.com>
src/util/virnetdevopenvswitch.c