[ovs-git] Open vSwitch: xenserver: Fix up iface-id after it changes or disappears too. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Apr 4 17:49:34 UTC 2011

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  c6b547cd44f14e3ccbac9dc8d98b20a565d32c91 (commit)
      from  0b0bd9c9e3ebaddea8252ea0ab9b2f293de34553 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c6b547cd44f14e3ccbac9dc8d98b20a565d32c91
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c6b547cd44f14e3ccbac9dc8d98b20a565d32c91
Author: Ben Pfaff <blp at nicira.com>
xenserver: Fix up iface-id after it changes or disappears too.
ovs-xapi-sync is supposed to always keep external-ids:iface-id up to date,
but in fact it would only set it when an interface initially appeared.  If
the interface quickly disappeared and reappeared, then it failed to notice
that iface-id had changed or disappeared.  This happens in practice on
Citrix XenServer, where VM "tap" devices often disappear and then reappear
almost immediately during VM boot.  This commit fixes the problem.

This also fixes the similar problem for external-ids:bridge-id in Bridge
records.  Bridges aren't ordinarily destroyed and re-created quickly, so
this problem might never have manifested in practice for bridges.

Many thanks to Reid Price <reid at nicira.com> for identifying the problem
and supplying an initial fix.

Bug #5239.
Reported-by: Henrik Amren <henrik at nicira.com>


Summary of changes:
 .../usr_share_openvswitch_scripts_ovs-xapi-sync    |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

Open vSwitch

More information about the git mailing list