aboutsummaryrefslogtreecommitdiff
path: root/xenserver
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-02-29 18:41:58 -0800
committerEthan Jackson <ethan@nicira.com>2012-02-29 20:05:34 -0800
commit753a774f5cd50ffb0c65102faee6e8968dfe9eaf (patch)
tree6e377132e561dadf07f07d5682d110f91394c86a /xenserver
parentbba1e6f3ac53ecb810f07b26fb312ee503f5e121 (diff)
xenserver: Always update the bridge ID in ovs-xapi-sync.
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>
Diffstat (limited to 'xenserver')
-rwxr-xr-xxenserver/usr_share_openvswitch_scripts_ovs-xapi-sync5
1 files changed, 2 insertions, 3 deletions
diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
index b10df6b8..43af4067 100755
--- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
+++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
@@ -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