xenserver: Always call ovs-vsctl in bring_down().
authorBen Pfaff <blp@nicira.com>
Mon, 22 Feb 2010 21:41:19 +0000 (13:41 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 23 Feb 2010 17:52:39 +0000 (09:52 -0800)
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 <blp@nicira.com>
xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py

index fd66d37254a174427c8adf4e7c6bd06bed587a5d..c336041145e096fd46ebe2b92ae6f3f49de06e97 100644 (file)
@@ -430,4 +430,5 @@ class DatapathVswitch(Datapath):
 
         if dp:
             vsctl_argv += deconfigure_datapath(dp)
-            datapath_modify_config(vsctl_argv)
+
+        datapath_modify_config(vsctl_argv)