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: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] fix network-bridge stop
From: Andrew Theurer <habanero@xxxxxxxxxx>
Date: Wed, 14 Sep 2005 12:25:43 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Sep 2005 17:23:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f7eb38af574f4d4d1e0c0962ff1c91ee@xxxxxxxxxxxx>
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>
References: <200509141051.57727.habanero@xxxxxxxxxx> <f7eb38af574f4d4d1e0c0962ff1c91ee@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Keir Fraser wrote:


On 14 Sep 2005, at 16:51, Andrew Theurer wrote:

During my attempts to get the latest bridge networking model working on my system, I often invoked 'network-bridge stop' with total failure. Attached
is an updated version that works.


Just to clarify: presumably the problem with the current script, that your patch fixes, is that it tests for and tears down veth0, when in fact veth0 has been renamed to eth0, and eth0 to peth0? :-)

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.

-Andrew


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

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