Warthog¶
Warthog is a simple Python client for interacting with A10 load balancers. The target use case is for safely removing servers from pools in a load balancer during a deployment. It is available under the MIT license.
Features¶
- Waiting for servers to finish all requests when being disabled
- Graceful handling of transient errors with optional retry logic
- Support for interacting with the load balancer API using SSL
- Works with Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6+
- Thread safety
Dependencies¶
Usage¶
Using the client is easy!
from warthog.api import WarthogClient
def install_my_project(server):
pass
client = WarthogClient('https://lb.example.com', 'user', 'password')
client.disable_server('app1.example.com')
install_my_project('app1.example.com')
client.enable_server('app1.example.com')
Contents¶
- Install
- Design
- Usage
- Library
- CLI Tool
- Development
- Releasing
- Changelog
- 2.0.1 - 2017-07-20
- 2.0.0 - 2017-06-29
- 1.999.2 - 2017-06-28
- 1.999.1 - 2017-04-06
- 1.999.0 - 2017-04-05
- 1.1.0 - 2016-01-21
- 1.0.0 - 2015-12-21
- 0.10.0 - 2015-10-05
- 0.9.1 - 2015-08-07
- 0.9.0 - 2015-06-04
- 0.8.3 - 2015-03-18
- 0.8.2 - 2015-02-09
- 0.8.1 - 2014-12-22
- 0.8.0 - 2014-12-22
- 0.7.0 - 2014-11-24
- 0.6.0 - 2014-11-20
- 0.5.0 - 2014-11-03
- 0.4.2 - 2014-10-29
- 0.4.1 - 2014-10-23
- 0.3.1 - 2014-10-17
- 0.3.0 - 2014-10-16
- 0.2.0 - 2014-10-14
- 0.1.0 - 2014-10-11