|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH 00 of 33] Rework interface reconfigure
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-API] [PATCH 00 of 33] Rework interface reconfigure,
Ian Campbell <=
- [Xen-API] [PATCH 01 of 33] interface-reconfigure: drop debug mode, Ian Campbell
- [Xen-API] [PATCH 02 of 33] interface-reconfigure: Rework log_pif_action to not abuse the pifrec dict, Ian Campbell
- [Xen-API] [PATCH 03 of 33] interface-reconfigure: drop default path from ConfigurationFile object, Ian Campbell
- [Xen-API] [PATCH 04 of 33] interface-reconfigure: Only include objects on the current host in the DatabaseCache, Ian Campbell
- [Xen-API] [PATCH 05 of 33] interface-reconfigure: Restrict the fields pulled from XenAPI into DatabaseCache, Ian Campbell
- [Xen-API] [PATCH 06 of 33] interface-reconfigure: Explicity cache database configuration in /var/xapi/network.dbcache, Ian Campbell
- [Xen-API] [PATCH 07 of 33] interface-reconfigure: Cleanup whitespace, Ian Campbell
- [Xen-API] [PATCH 08 of 33] interface-reconfigure: drop "--force all down", Ian Campbell
- [Xen-API] [PATCH 09 of 33] interface-reconfigure: Reimplement forced rewrite, Ian Campbell
- [Xen-API] [PATCH 10 of 33] interface-reconfigure: Reformat some comments slightly, move logging function to top of file, Ian Campbell
|
|
|
|
|