vswitch: Distinguish mirrors by UUID, not by name.
authorBen Pfaff <blp@nicira.com>
Thu, 17 Jun 2010 22:31:56 +0000 (15:31 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 12 Jul 2010 17:13:54 +0000 (10:13 -0700)
commitdd0d105ccba05775ebc7ad0c8a701a406a47f0ce
tree4309c4ef15eecf6b4b95a27757b10cfd5d265aac
parent786880a5509c6dd38a7ab592e1e2853208a2c606
vswitch: Distinguish mirrors by UUID, not by name.

A "feature" that ovs-vswitchd inherited from its previous form of
configuration is that every mirror has a name.  Names are not necessarily
meaningful, and there is no reason that they should be unique.  But the
existing implementation depends on them being unique within a given
bridge, and if they are not drops one of the duplicates.

This commit drops the uniqueness requirement.  Instead, it distinguishes
mirrors based on UUID alone.

This commit does not drop the concept of names for mirrors.  There is no
technical reason to retain them, but it is possible that users find them
useful for management reasons.  The names appear in log messages related
to mirrors, which may make the messages easier to understand.

Bug #2416.
vswitchd/bridge.c