Define APIs for the servicegroup access.
-
class API(*args, **kwargs)
Bases: object
-
get_all(group_id)
Returns ALL members of the given group.
-
join(member, group, service=None)
Add a new member to a service group.
Parameters: |
- member – the joined member ID/name
- group – the group ID/name, of the joined member
- service – a nova.service.Service object
|
-
service_is_up(member)
Check if the given member is up.