Previous topic

The nova.api.openstack.compute.extensions Module

Next topic

The nova.api.openstack.compute.image_metadata 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.flavors Module

class Controller(view_builder=None)

Bases: nova.api.openstack.wsgi.Controller

Flavor controller for the OpenStack API.

detail(req)

Return all flavors in detail.

index(req)

Return all flavors in brief.

show(req, id)

Return data about the given flavor id.

wsgi_actions = {}
wsgi_extensions = []
class FlavorTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class FlavorsTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class MinimalFlavorsTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

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