The nova.servicegroup.drivers.zk Module

class FakeLoopingCall(driver, host, group)

Bases: nova.utils.LoopingCallBase

The fake Looping Call implementation, created for backward compatibility with a membership based on DB.

start(interval, initial_delay=None)
stop()
wait()
class ZooKeeperDriver(*args, **kwargs)

Bases: nova.servicegroup.api.ServiceGroupDriver

ZooKeeper driver for the service group API.

get_all(group_id)

Return all members in a list, or a ServiceGroupUnavailable exception.

is_up(service_ref)
join(member_id, group, service=None)

Join the given service with its group.

leave(member_id, group)

Remove the given member from the service group.

Previous topic

The nova.servicegroup.drivers.mc Module

Next topic

The nova.storage.linuxscsi Module

This Page