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

The Flavor Swap API extension.

class FlavorSwapController(view_builder=None)

Bases: nova.api.openstack.wsgi.Controller

create(req, resp_obj, body)
detail(req, resp_obj)
show(req, resp_obj, id)
wsgi_actions = {}
wsgi_extensions = [('show', None), ('create', 'create'), ('detail', None)]
class FlavorSwapTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class Flavor_swap(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Support to show the swap status of a flavor.

alias = 'os-flavor-swap'
get_controller_extensions()
name = 'FlavorSwap'
namespace = 'http://docs.openstack.org/compute/ext/flavor_swap/api/v1.1'
updated = '2012-08-29T00:00:00+00:00'
class FlavorsSwapTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
make_flavor(elem)

Previous topic

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

Next topic

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

This Page