[ovs-dev] [PATCH 1/2] xenserver: Always update the bridge ID in ovs-xapi-sync.
Ethan Jackson
ethan at nicira.com
Thu Mar 1 03:17:24 UTC 2012
In some cases we were seeing this column get stale.
Bug #9929.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
.../usr_share_openvswitch_scripts_ovs-xapi-sync | 5 ++---
1 file 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 b10df6b..43af406 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
--
1.7.9.2
More information about the dev
mailing list