The nova.api.openstack.compute.aggregates Module

The Aggregate admin API extension.

class AggregateController

Bases: nova.api.openstack.wsgi.Controller

The Host Aggregates API controller for the OpenStack API.

create(*args, **kwargs)

Creates an aggregate, given its name and optional availability zone.

delete(*args, **kwargs)

Removes an aggregate by id.

index(*args, **kwargs)

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

show(*args, **kwargs)

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

update(*args, **kwargs)

Updates the name and/or availability_zone of given aggregate.

wsgi_actions = {'set_metadata': '_set_metadata', 'remove_host': '_remove_host', 'add_host': '_add_host'}
wsgi_extensions = []
class Aggregates(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Admin-only aggregate administration.

alias = 'os-aggregates'
name = 'Aggregates'
version = 1

Previous topic

The nova.api.openstack.compute.agents Module

Next topic

The nova.api.openstack.compute.assisted_volume_snapshots Module

Project Source

This Page