summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorRick Harris <rick.harris@rackspace.com>2011-02-28 17:40:14 +0000
committerTarmac <>2011-02-28 17:40:14 +0000
commit4aa2ffe87744d3653c741d4d3e019114e3e9e5bf (patch)
tree211ee849cddca17f4eebf0bf1ee151b4b0bbd1cc /nova/utils.py
parentedf5da85648659b1a7ad105248d69ef9f8c977e4 (diff)
parentd6215666fa28a1dd7368aa32bc1ae9f3ca872fab (diff)
downloadnova-4aa2ffe87744d3653c741d4d3e019114e3e9e5bf.tar.gz
nova-4aa2ffe87744d3653c741d4d3e019114e3e9e5bf.tar.xz
nova-4aa2ffe87744d3653c741d4d3e019114e3e9e5bf.zip
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
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions