[ovs-discuss] duplicate port names in DB

Ben Pfaff blp at nicira.com
Tue May 3 13:41:22 UTC 2011

On Tue, May 03, 2011 at 11:07:24AM +0200, Gregor Schaffrath wrote:
> Is there documentation on the database available?

Yes.  ovs-vswitchd.conf.db(5) explains the schema, ovs-vsctl(8) explains
how to manipulate it from the command line, and ovsdb/SPECS explains the
OVSDB protocol.

> I've got a problem with redundant entries in my ovsdb... Is there a
> way to find out which entry is the right one?

I think that a better question is how the duplicates got into the
database.  ovs-vsctl is designed to prevent this from happening.  Is
there any chance you could send us your /etc/openvswitch/conf.db?  It is
often possible to find problems simply by looking at the log that is
part of the database.

> NB: I've got a bit of a weird setup (Xen-Dom0 virtualized on KVM
> machine - running linux- and openvswitch-1.1.0pre2), which
> might be responsible for this issue... could it be that a mac address
> change (which might happen upon reboot) triggers insertion of a 'new'
> interface into the DB?

ovs-vsctl should not allow it to happen, regardless.

> P.S.: Another question would be whether use of the ovsdb is compulsory
> in post-1.0.0 versions of openvswitch, or whether there's a way to
> keep using the configuration file used for 0.9x-versions.

There's no way to continue using the configuration file.

More information about the discuss mailing list