From 56cac225ae4df8ff0c50a806b78abdb6ac96c33a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 22 Feb 2010 13:41:19 -0800 Subject: [PATCH] xenserver: Always call ovs-vsctl in bring_down(). The datapath_modify_config() call here was at the wrong level of indentation, so it was only getting called if 'dp' was to be deleted. Signed-off-by: Ben Pfaff --- xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py index fd66d372..c3360411 100644 --- a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py +++ b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py @@ -430,4 +430,5 @@ class DatapathVswitch(Datapath): if dp: vsctl_argv += deconfigure_datapath(dp) - datapath_modify_config(vsctl_argv) + + datapath_modify_config(vsctl_argv) -- 2.30.2