xenserver: Always update the bridge ID in ovs-xapi-sync.
authorEthan Jackson <ethan@nicira.com>
Thu, 1 Mar 2012 02:41:58 +0000 (18:41 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 1 Mar 2012 04:05:34 +0000 (20:05 -0800)
In some cases we were seeing this column get stale.

Bug #9929.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diagnosed-by: Justin Pettit <jpettit@nicira.com>
xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync

index b10df6b8789c907348444c57acc43f181ea35267..43af406787b6b989bb24da9b8f16ead749593520 100755 (executable)
@@ -270,9 +270,8 @@ def main():
                 # New bridge.
                 update_fail_mode(row)
                 update_in_band_mgmt(row)
-            if new_xnu != old_xnu:
-                # New bridge or bridge's xs-network-uuids has changed.
-                update_bridge_id(row)
+
+            update_bridge_id(row)
             new_bridges[row.name] = new_xnu
         bridges = new_bridges