ceph.waiter module

Helper object to encapsulate waiting for timeouts

class ceph.waiter.WaitUntil(timeout=60, interval=1)

Bases: object

A wait-retry loop as iterable.

This object abstracts away the wait logic allowing functions to write the retry logic in a for-loop.