Previous topic

The nova.virt.libvirt.imagebackend Module

Next topic

The nova.virt.libvirt.utils Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.virt.libvirt.imagecache Module

Image cache manager.

The cache manager implements the specification at http://wiki.openstack.org/nova-image-cache-management.

class ImageCacheManager

Bases: object

verify_base_images(context)

Verify that base images are in a reasonable state.

read_stored_checksum(target)

Read the checksum.

Returns the checksum (as hex) or None.

write_stored_checksum(target)

Write a checksum to disk for a file in _base.