Previous topic

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

Next topic

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

This Page

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

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

The Aggregate admin API extension.

class AggregateController

Bases: object

The Host Aggregates API controller for the OpenStack API.

action(req, id, body)
create(req, body)

Creates an aggregate, given its name and availablity_zone.

delete(req, id)

Removes an aggregate by id.

index(req)

Returns a list a host aggregate’s id, name, availability_zone.

show(req, id)

Shows the details of an aggregate, hosts and metadata included.

update(req, id, body)

Updates the name and/or availbility_zone of given aggregate.

class Aggregates(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Admin-only aggregate administration

alias = 'os-aggregates'
get_resources()
name = 'Aggregates'
namespace = 'http://docs.openstack.org/compute/ext/aggregates/api/v1.1'
updated = '2012-01-12T00:00:00+00:00'
get_host_from_body(fn)

Makes sure that the host exists.