def list_servers(backend, socket='/var/run/haproxy.sock', objectify=False):
 ha_conn = _get_conn(socket)
 ha_cmd = haproxy.cmds.listServers(backend=backend)
 return ha_conn.sendCmd(ha_cmd, objectify=objectify)

def list_servers ( backend , socket = '/var/run/haproxy.sock' , objectify = False ) : ha_conn = _get_conn ( socket ) ha_cmd = haproxy . cmds . listServers ( backend = backend ) return ha_conn . sendCmd ( ha_cmd , objectify = objectify )
list servers in haproxy backend .