~bgh/nova/qmanager-dhcp

Viewing all changes in revision 750.

  • Committer: Tarmac
  • Author(s): Rick Harris
  • Date: 2011-02-28 17:40:14 UTC
  • mfrom: (664.3.37)
  • Revision ID: git-v1:4aa2ffe87744d3653c741d4d3e019114e3e9e5bf
Adds VHD build support for XenServer driver.

* Adds new ImageType DISK_VHD
* Adds determine_disk_image_type which uses Glance `type` to figure out whether an image is a VHD or not
* Adds code to Glance XenServer plugin to handle downloading a VHD and depositing it into the Storage Repository
* Modifies the remove_kernel_ramdisk code to account for RAW and VHD images
* Adds to unit tests for determine_disk_image_type and basic test for spawning a VHD image


Notes:

Currently Nova'a Compute-API makes use of FLAGS.null_kernel ('nokernel') to determine whether an image is "RAW/VHD"-ish.  I've left that requirement in for now; however, I plan on adding a bug to make that optional.

Requires Glance patch https://code.launchpad.net/~rconradharris/glance/bug720459/+merge/50098

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: