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-api

[Xen-API] Re: [PATCH] Remove bond-slave filter from PIF.scan

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Re: [PATCH] Remove bond-slave filter from PIF.scan
From: Ben Pfaff <blp@xxxxxxxxxx>
Date: Fri, 04 Jun 2010 09:51:22 -0700
Cancel-lock: sha1:RN6N3cL0Y1pNIgOCnE7JCB/c7PM=
Connect(): No such file or directory
Delivery-date: Fri, 04 Jun 2010 09:55:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <E1OKUPE-0006J2-I1@xxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Ben Pfaff <blp@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Rob Hoes <rob.hoes@xxxxxxxxxx> writes:

> This filter uses sysfs to find out whether an interface is a
> bond slave. This does not work when the openvswitch backend is
> used. Besides, it does not seem to be necessary (anymore?)
> anyway.
>
> PIF.scan creates a new PIF for each interface it finds if this
> interface is physical and there is no PIF with the same
> MAC. The slave interfaces always have the same MAC as the bond
> master PIF (bridging backend) or their "real" MACs as stored in
> their PIFs (openvswitch backend). Therefore, when a bond is in
> effect, the MACs of all bond slaves have corresponding PIFs in
> the DB, so PIF.scan won't create new ones.

Makes sense to me.

Acked-by: Ben Pfaff <blp@xxxxxxxxxx>


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

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