xenserver: call "interface-reconfigure rewrite" instead of refresh-network-uuids
authorIan Campbell <Ian.Campbell@citrix.com>
Fri, 4 Jun 2010 15:47:20 +0000 (16:47 +0100)
committerBen Pfaff <blp@nicira.com>
Fri, 4 Jun 2010 17:21:27 +0000 (10:21 -0700)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xenserver/etc_xapi.d_plugins_openvswitch-cfg-update

index ebc1b36bcd2faa0a55641c8b2c41e584739b90a4..6da86d5cda7ebf98a4b3f7f1f0844db1118520ba 100755 (executable)
@@ -40,9 +40,9 @@ def delete_cacert():
 
 def update(session, args):
     # Refresh bridge network UUIDs in case this host joined or left a pool.
-    script = "/usr/share/openvswitch/scripts/refresh-network-uuids"
+    script = "/opt/xensource/libexec/interface-reconfigure"
     try:
-        retval = subprocess.call(script)
+        retval = subprocess.call([script, "rewrite"])
         if retval != 0:
             syslog.syslog("%s exited with status %d" % (script, retval))
     except OSError, e: