This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.1 docs or all OpenStack docs too.

The nova.api.openstack.views.flavors Module

class nova.api.openstack.views.flavors.ViewBuilder

Bases: object

build(flavor_obj, is_detail=False)

Generic method used to generate a flavor entity.

class nova.api.openstack.views.flavors.ViewBuilderV11(base_url)

Bases: nova.api.openstack.views.flavors.ViewBuilder

Openstack API v1.1 flavors view builder.

generate_href(flavor_id)

Create an url that refers to a specific flavor id.