The novaclient.v1_1.aggregates Module

Aggregate interface.

class novaclient.v1_1.aggregates.Aggregate(manager, info, loaded=False)

Bases: novaclient.base.Resource

An aggregates is a collection of compute hosts.

add_host(host)
delete()
remove_host(host)
set_metadata(metadata)
update(values)

Update the name and/or availability zone.

class novaclient.v1_1.aggregates.AggregateManager(api)

Bases: novaclient.base.ManagerWithFind

add_host(aggregate, host)

Add a host into the Host Aggregate.

create(name, availability_zone)

Create a new aggregate.

delete(aggregate)

Delete the specified aggregates.

get_details(aggregate)

Get details of the specified aggregate.

list()

Get a list of os-aggregates.

remove_host(aggregate, host)

Remove a host from the Host Aggregate.

resource_class

alias of Aggregate

set_metadata(aggregate, metadata)

Set a aggregate metadata, replacing the existing metadata.

update(aggregate, values)

Update the name and/or availability zone.

This Page