davemarchevsky / host_pool

python library to track remote host state, and mark hosts as failed

Home Page:http://github.com/jehiah/host_pool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

python library to track remote host state, and mark hosts as failed

http://github.com/jehiah/host_pool


Languages

Language:Python 100.0%