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)

Previous topic

The nova.api.openstack.compute.image_metadata Module

Next topic

The nova.api.openstack.compute.ips Module

This Page