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] xend: Do not mess with bridge if admin has set o

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] xend: Do not mess with bridge if admin has set one up already
From: "Rose, Gregory V" <gregory.v.rose@xxxxxxxxx>
Date: Tue, 15 Jun 2010 13:24:41 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Tue, 15 Jun 2010 13:25:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19478.17819.515472.918961@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <19478.17819.515472.918961@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsL2Hwr8q8hO49GTGekWhT2QFBUpwA8B/LA
Thread-topic: [Xen-devel] [PATCH] xend: Do not mess with bridge if admin has set one up already
>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
>bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ian Jackson
>Sent: Monday, June 14, 2010 8:07 AM
>To: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-devel] [PATCH] xend: Do not mess with bridge if admin has
>set one up already
>
>Previously, the default "network-script",
>/etc/xen/scripts/network-bridge, would attempt to do its horrid work
>even if you had already set everything up in /etc/network/interfaces.
>
>Setting up your bridge in /etc/network/interfaces is:
> * easy
> * required for libxl since libxl never does it for you
> * not a fragile piece of lunacy
> * properly documented
> * the way everyone would expect it to work
>
>In this small patch we make it so that the default config for xend
>doesn't mess about on startup if you already have a bridge, and
>doesn't mess about on shutdown unless your first-named bridge (eth0 or
>xenbr0, normally) doesn't also have a physical interface named
>p<whatever> (peth0 or pxenbr0) enslaved to it.  The latter test is not
>ideal but will hopefully do from now until the time xend finally dies.
>
>We also fix the "documentation" - ie, the comments in the default
>xend-config.sxp - to correspond to reality.
>
>Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Finally!  Much Appreciated!!!

For too long I've had to hack the scripts every time I install a new Xen setup 
so that it won't muck with my custom bridge settings.

Thanks!!!!

- Greg


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