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 = {'add_host': '_add_host', 'remove_host': '_remove_host', 'set_metadata': '_set_metadata'}
-
wsgi_extensions = []
-
class Aggregates(extension_info)
Bases: nova.api.openstack.extensions.V21APIExtensionBase
Admin-only aggregate administration.
-
alias = 'os-aggregates'
-
get_controller_extensions()
-
get_resources()
-
name = 'Aggregates'
-
version = 1