Define APIs for the servicegroup access.
-
class API(*args, **kwargs)
Bases: object
-
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.