AggregatesΒΆ

Aggregate interface.

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

Bases: novaclient.openstack.common.apiclient.base.Resource

An aggregates is a collection of compute hosts.

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

Update the name and/or availability zone.

class novaclient.v1_1.aggregates.AggregateManager(api)

Bases: novaclient.base.ManagerWithFind

AggregateManager.add_host(aggregate, host)

Add a host into the Host Aggregate.

AggregateManager.create(name, availability_zone)

Create a new aggregate.

AggregateManager.delete(aggregate)

Delete the specified aggregates.

AggregateManager.get(aggregate)

Get details of the specified aggregate.

AggregateManager.get_details(aggregate)

Get details of the specified aggregate.

AggregateManager.list()

Get a list of os-aggregates.

AggregateManager.remove_host(aggregate, host)

Remove a host from the Host Aggregate.

AggregateManager.resource_class

alias of Aggregate

AggregateManager.set_metadata(aggregate, metadata)

Set a aggregate metadata, replacing the existing metadata.

AggregateManager.update(aggregate, values)

Update the name and/or availability zone.

Previous topic

Agents

Next topic

Availability_zones

This Page