HAProxy Health Check for EXABGP
Project description
haproxy-health-check
===============================
version number: 0.0.1
author: Samuele Kaplun
Overview
--------
HAProxy Health Check for EXABGP
Installation / Usage
--------------------
To install use pip:
$ pip install haproxy-health-check
Or clone the repo:
$ git clone https://github.com/kaplun/haproxy-health-check.git
$ python setup.py install
Example
-------
Use e.g. inside an EXABGP configuration such as:
# Check if the service is available to announce a route to
# it. Since the purpose is high availability, it is expected
# that another host is present with a similar
# configuration. IP address for the service is expected to be
# configured on the loopback interface. You can run the
# healthcheck process manually to check if it works as
# expected (-h flag will give you available options)
process service-haproxy {
run python -m exabgp healthcheck -s --name haproxy --cmd "haproxy-health-check" --start-ip 0;
encoder text;
}
neighbor 10.0.0.3 {
description "will announce a route to a service";
router-id 198.111.227.39;
local-address 10.0.0.2;
local-as 65533;
peer-as 65533;
api services {
processes [ service-haproxy ];
}
}
===============================
version number: 0.0.1
author: Samuele Kaplun
Overview
--------
HAProxy Health Check for EXABGP
Installation / Usage
--------------------
To install use pip:
$ pip install haproxy-health-check
Or clone the repo:
$ git clone https://github.com/kaplun/haproxy-health-check.git
$ python setup.py install
Example
-------
Use e.g. inside an EXABGP configuration such as:
# Check if the service is available to announce a route to
# it. Since the purpose is high availability, it is expected
# that another host is present with a similar
# configuration. IP address for the service is expected to be
# configured on the loopback interface. You can run the
# healthcheck process manually to check if it works as
# expected (-h flag will give you available options)
process service-haproxy {
run python -m exabgp healthcheck -s --name haproxy --cmd "haproxy-health-check" --start-ip 0;
encoder text;
}
neighbor 10.0.0.3 {
description "will announce a route to a service";
router-id 198.111.227.39;
local-address 10.0.0.2;
local-as 65533;
peer-as 65533;
api services {
processes [ service-haproxy ];
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for haproxy-health-check-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be717dc072ebc79fc9bd7ea030c3069a5d73b731e88e444826fc239a85218f3c |
|
MD5 | 0c3e2665bfe83e6266a81a8568b92188 |
|
BLAKE2b-256 | 051a70ce886df540f69c33fed3391bb21e77e57317b4673da262a6104b466ae9 |