haproxyadmin
haproxyadmin copied to clipboard
Support management/connection over TCP
trafficstars
Currently, the connection is established via unix socket files. It would be nice if this library would also support connecting to HAProxy over TCP as well. :)
[EDIT]: URLs might be a good way on how to define how it connects.
hap = haproxy.HAProxy('unix:///var/run/haproxy.sock') # via unix socket
hap = haproxy.HAProxy('tcp://127.0.0.1:1937') # via TCP
True as it could be handy in some situations. But, it will slow down the operations in environments with X haproxy processes.
+1 for this feature.
You might try this
#10
Are we planning to integrate the changes related to TCP socket to master anytime soon ?