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.views.images Module

class nova.api.openstack.views.images.ViewBuilder(base_url, project_id='')

Bases: object

Base class for generating responses to OpenStack API image requests.

build(image_obj, detail=False)

Return a standardized image structure for display by the API.

generate_href(image_id)

Return an href string pointing to this object.

class nova.api.openstack.views.images.ViewBuilderV10(base_url, project_id='')

Bases: nova.api.openstack.views.images.ViewBuilder

OpenStack API v1.0 Image Builder

class nova.api.openstack.views.images.ViewBuilderV11(base_url, project_id='')

Bases: nova.api.openstack.views.images.ViewBuilder

OpenStack API v1.1 Image Builder

build(image_obj, detail=False)

Return a standardized image structure for display by the API.

generate_bookmark(image_id)

Create an url that refers to a specific flavor id.

generate_href(image_id)

Return an href string pointing to this object.