python library to track remote host state, and mark hosts as failed
Python
Latest commit 8206172 Aug 11, 2015 @jehiah Merge pull request #5 from ploxiln/exception_error
no need for intermediate custom Error class ?
Failed to load latest commit information.
.gitignore
MANIFEST
README.md
host_pool.py
setup.py
test_host_pool.py

README.md

host_pool

A generic interface to track a list of remote hosts to allow auto-backoff from a failed remote host.

pool = host_pool.HostPool(['servera','serverb'])
endpoint = pool.get()
pool.success(endpoint)
endpoint = pool.get()
pool.failed(endpoint)