The nova.api.openstack.compute.contrib.flavor_access Module

The flavor access extension.

class FlavorAccessController

Bases: object

The flavor access API controller for the OpenStack API.

index(req, flavor_id)
class FlavorAccessTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class FlavorActionController(view_builder=None)

Bases: nova.api.openstack.wsgi.Controller

The flavor access API controller for the OpenStack API.

create(req, body, resp_obj)
detail(req, resp_obj)
show(req, resp_obj, id)
wsgi_actions = {'removeTenantAccess': '_removeTenantAccess', 'addTenantAccess': '_addTenantAccess'}
wsgi_extensions = [('show', None), ('create', 'create'), ('detail', None)]
class FlavorTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class Flavor_access(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Flavor access support.

alias = 'os-flavor-access'
get_controller_extensions()
get_resources()
name = 'FlavorAccess'
namespace = 'http://docs.openstack.org/compute/ext/flavor_access/api/v2'
updated = '2012-08-01T00:00:00+00:00'
class FlavorsTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
make_flavor(elem)
make_flavor_access(elem)

Previous topic

The nova.api.openstack.compute.contrib.fixed_ips Module

Next topic

The nova.api.openstack.compute.contrib.flavor_disabled Module

This Page