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

The Flavor extra data extension

OpenStack API version 1.1 lists “name”, “ram”, “disk”, “vcpus” as flavor attributes. This extension adds to that list:

  • OS-FLV-EXT-DATA:ephemeral
class Flavorextradata(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Provide additional data for flavors.

alias = 'OS-FLV-EXT-DATA'
get_controller_extensions()
name = 'FlavorExtraData'
namespace = 'http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1'
updated = '2011-09-14T00:00:00+00:00'
class FlavorextradataController(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 FlavorextradataTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class FlavorextradatumTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
make_flavor(elem)

Previous topic

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

Next topic

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

This Page