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] [PATCH 00 of 33] Rework interface reconfigure

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 00 of 33] Rework interface reconfigure
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Fri, 18 Dec 2009 14:16:55 +0000
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Fri, 18 Dec 2009 06:16:55 -0800
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
The following series of patches contains a fairly major rewrite of
/opt/xensource/libexec/interface-reconfigure (the script which
backends PIF.plug and PIF.unplug), it includes much refactoring, some
architectural improvements and some new features:

- Separate handling of the device which carries the IP address (the
  'ipdev') from the other devices which provide a route from that
  device to the outside world (the datapath, includes VLANs and bonds
  etc).
- Implement support for multiple datapath backends, options include
  the existing Linux bridge based implementation and a new Open
  vSwitch based implementation. The selection is made based on the
  contents of /etc/xensource/network.conf which is the same file as
  used by xapi since
  http://lists.xensource.com/archives/html/xen-api/2009-12/msg00064.html
- Explicitly cache the database state (for use on slave boot) in
  /var/xapi/network.dbcache instead of implicitly relying on
  preservation of ifcfg files over reboot.
- Implement PIF.other-config:peerdns via DNSDEV directive in
  /etc/sysconfig/network rather than rewriting ifcfg-* when it
  changes.

The breakdown into individual patches is a little bit arbitrary and
basically reflects the slighty random development path which I took
while refactoring, it could as well be applied a single megapatch if
you like.

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