WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] fix network-bridge stop

To: "Andrew Theurer" <habanero@xxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] fix network-bridge stop
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 14 Sep 2005 21:50:10 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Sep 2005 20:48:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcW5Ulv8EPW5F2BUS2K/GfkFCDlidwAFsB+Q
Thread-topic: [Xen-devel] [PATCH] fix network-bridge stop
> Yes, the script in current xen-unstable, when running "stop", 
>  tests for veth0, which does not exist because it has been 
> renamed to eth0.  It now tests for peth0, since that is the 
> only real indication that veth0 was 
> used in the first place.   There are other small fixes like 
> removal or 
> hard coded "peth0", removal of unconditional 'brctl delif 
> xen-br0 eth0', and reversal of ethernet naming.

Thanks for tidying that up -- its been on my todo list. Putting the
networking back as it was is quite a dangerous game, so its not
something we want to invoke automatically.

BTW: it might be worth experimenting with inserting 'ip route cache
flush' runes in a couple of the places in the script to avoid the stall
in ssh connections when invoking network-bridge start.

Thanks,
Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>