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)

Previous topic

The nova.api.openstack.compute.extensions Module

Next topic

The nova.api.openstack.compute.image_metadata Module

This Page