The nova.api.openstack.compute.legacy_v2.contrib.aggregates Module¶
The Aggregate admin API extension.
-
class
AggregateController¶ Bases:
objectThe Host Aggregates API controller for the OpenStack API.
-
action(req, id, body)¶
-
create(req, body)¶ Creates an aggregate, given its name and optional availability 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 availability_zone of given aggregate.
-
-
class
Aggregates(ext_mgr)¶ Bases:
nova.api.openstack.extensions.ExtensionDescriptorAdmin-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:00Z'¶
-
-
get_host_from_body(fn)¶ Makes sure that the host exists.