Previous topic

The nova.api.openstack.compute.image_metadata Module

Next topic

The nova.api.openstack.compute.ips 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.api.openstack.compute.images Module

class Controller(image_service=None, **kwargs)

Bases: nova.api.openstack.wsgi.Controller

Base controller for retrieving/displaying images.

create(*args, **kwargs)
delete(req, id)

Delete an image, if allowed.

Parameters:
  • reqwsgi.Request object
  • id – Image identifier (integer)
detail(req)

Return a detailed index listing of images available to the request.

Parameters:reqwsgi.Request object.
index(req)

Return an index listing of images available to the request.

Parameters:reqwsgi.Request object
show(req, id)

Return detailed information about a specific image.

Parameters:
  • reqwsgi.Request object
  • id – Image identifier
wsgi_actions = {}
wsgi_extensions = []
class ImageTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class ImagesTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class MinimalImagesTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
create_resource()
make_image(elem, detailed=False)