[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH 06 of 12] [PATCH] xenserver: Always call ovs-vsctl in bring_down()



# HG changeset patch
# User Ben Pfaff <blp@xxxxxxxxxx>
# Date 1278595551 -3600
# Node ID fed38a5f5a3ce46f59545f3d1ffdb0ad31c64744
# Parent  0c79ddaff67b01b92f63aa960f1a1062bbf68757
[PATCH] xenserver: Always call ovs-vsctl in bring_down().

>From 56cac225ae4df8ff0c50a806b78abdb6ac96c33a Mon Sep 17 00:00:00 2001
Date: Mon, 22 Feb 2010 13:41:19 -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@xxxxxxxxxx>
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 ...ensource_libexec_InterfaceReconfigureVswitch.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff -r 0c79ddaff67b -r fed38a5f5a3c scripts/InterfaceReconfigureVswitch.py
--- a/scripts/InterfaceReconfigureVswitch.py    Thu Jul 08 14:25:51 2010 +0100
+++ b/scripts/InterfaceReconfigureVswitch.py    Thu Jul 08 14:25:51 2010 +0100
@@ -431,4 +431,5 @@
 
         if dp:
             vsctl_argv += deconfigure_datapath(dp)
-            datapath_modify_config(vsctl_argv)
+
+        datapath_modify_config(vsctl_argv)
 scripts/InterfaceReconfigureVswitch.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Attachment: xenserver_Always_call_ovs-vsctl_in_bring_down__.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.