Server group interface.
Bases: Resource
A server group.
Populate and bind to a manager.
manager – BaseManager object
info – dictionary representing resource attributes
loaded – prevent lazy-loading if set to True
resp – Response or list of Response objects
Delete this server group.
An instance of novaclient.base.TupleWithMeta
Bases: ManagerWithFind
Manage ServerGroup resources.
Create (allocate) a server group.
name – The name of the server group.
policy – Policy name to associate with the server group.
rules – The rules of policy which is a dict, can be applied to
the policy, now only max_server_per_host for anti-affinity
policy would be supported (optional).
list of ServerGroup
Delete a specific server group.
id – The ID of the ServerGroup to delete.
An instance of novaclient.base.TupleWithMeta
Get a specific server group.
id – The ID of the ServerGroup to get.
Get a list of all server groups.
all_projects – Lists server groups for all projects. (optional)
limit – Maximum number of server groups to return. (optional) Note the API server has a configurable default limit. If no limit is specified here or limit is larger than default, the default limit will be used.
offset – Use with limit to return a slice of server groups. offset is where to start in the groups list. (optional)
list of ServerGroup.
alias of ServerGroup
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.