From 9575eae3724fb437b2df9bfad02501325d3dcdaf Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 4 Jun 2010 16:47:20 +0100 Subject: [PATCH] xenserver: call "interface-reconfigure rewrite" instead of refresh-network-uuids Signed-off-by: Ian Campbell --- xenserver/etc_xapi.d_plugins_openvswitch-cfg-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update index ebc1b36bc..6da86d5cd 100755 --- a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update +++ b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update @@ -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: -- 2.43.0