[ovs-dev] [PATCH 05/12] xenserver: Always call ovs-vsctl in bring_down().

Ben Pfaff blp at nicira.com
Mon Feb 22 16:42:41 PST 2010


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.
---
 ...ensource_libexec_InterfaceReconfigureVswitch.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
index cd66e9e..24e7800 100644
--- a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
+++ b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
@@ -446,4 +446,5 @@ class DatapathVswitch(Datapath):
 
         if dp:
             vsctl_argv += deconfigure_datapath(dp)
-            datapath_modify_config(vsctl_argv)
+
+        datapath_modify_config(vsctl_argv)
-- 
1.6.6.1





More information about the dev mailing list