~hudson-openstack/nova/trunk

Viewing all changes in revision 889.

  • Committer: Tarmac
  • Author(s): Andy Southgate, Ewan Mellor, Salvatore Orlando
  • Date: 2011-03-25 15:00:45 UTC
  • mfrom: (669.4.54 Openstack-xenapi-netinject)
  • Revision ID: tarmac-20110325150045-i5b0troxu5529bnp
This is basic network injection for XenServer, and includes:

o  Modification of the /etc/network/interfaces file within the image using code taken from and now shared with libvirt_conn.  This is for compatibility with legacy Linux images without a guest agent.

o  Setting of xenstore keys before instance boot, intended for the XenServer Windows agent.  The agent will use these to configure the network at boot-time.

This change does not implement live reconfiguration, which is on another blueprint:

https://blueprints.launchpad.net/nova/+spec/xs-inject-networking

It does include template code to detect the presence of agents and avoid modifying the filesystem if they are injection-capable.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: