Haproxyadmin Versions Save

A python library to interact with HAProxy over UNIX socket

0.2.4

3 years ago

This release brings only a bug fix/feature where we now allow connected_socket() to use custom timeout.

Changelog:

  • Allow connected_socket() to use custom timeout

0.2.3

4 years ago

In this release we added support for HAPEE >= 2.1 in the sanity check we have in place, thanks to @crovner. We also moved all internal classes to dedicated module per class as having all internal classes one file(internal.py) was wrong. Last but not least, we had few documentation changes, made configurable the socket timeout and ignore any differences in the port of a server across multiple haproxy processes when we return only the IP address of the server.

Changelog:

  • connected_socket(): fix validation check for HAPEE >= 2.1
  • Remove debugging code
  • Add support for setting the timeout
  • DOC: Update TODO
  • Split internal classes to individual modules
  • Try to smarter when we return address/port
  • Remove useless object inheritance
  • setup.cfg: We don't need psutil anymore
  • DOC: Update docstrings

0.2.2

5 years ago

This release adds support for changing the address and the port of servers and it also comes with some python2 compatibility fixes for exceptions.

Changelog:

  • Revert "Add 'slim' metric for servers"
  • DOC: One more try to get this right
  • DOC: Update docstring for address method
  • Add support for changing address and port of a server
  • DOC: Fix various documentation issues
  • Add 'slim' metric for servers
  • Don't check if ACL/MAP is a file
  • Return empty list if a acl doesn't have any entries
  • DOC: Change python version we use for development
  • Ignore Python 3 class hierarchy of OSError errors
  • Return empty list if a map doesn't have any entries
  • Fix example code for show_map function
  • Fix incorrect module path for constants in docstring
  • Add support for slim metric to Server object
  • List server metric names in alphabetic order
  • Added setaddress and address to Servers
  • Fix docstrings
  • Remove unused variables
  • Ignore Python 3 class hierarchy of OSError errors
  • Update installation instructions