Flavors

From Rackspace’s API documentation:

A flavor is an available hardware configuration for a server. Each flavor has a unique combination of disk space, memory capacity and priority for CPU time.

Classes

class cloudservers.FlavorManager(api)

Manage Flavor resources.

get(flavor)

Get a specific flavor.

Parameter:flavor – The ID of the Flavor to get.
Return type:Flavor
list()

Get a list of all flavors.

Return type:list of Flavor.
find(**kwargs)

Find a single item with attributes matching **kwargs.

This isn’t very efficient: it loads the entire list then filters on the Python side.

findall(**kwargs)

Find all items with attributes matching **kwargs.

This isn’t very efficient: it loads the entire list then filters on the Python side.

class cloudservers.Flavor(manager, info)

A flavor is an available hardware configuration for a server.

id
This flavor’s ID.
name
A human-readable name for this flavor.
ram
The amount of RAM this flavor has, in MB.
disk
The amount of disk space this flavor has, in MB

Table Of Contents

This Page