Process for ExaBGP, started by ExaBGP service
Project description
ExaBGP Process Package
This application is a simple API that interfaces with the ExaBGP service.
Each time this app receives a new command, it forwards the command to ExaBGP via stdout. The registered ExaBGP service monitors the stdout of this API application.
Installation
You can install the package using pip:
pip install exabgp_process
Configuration
Generate the configuration file and copy it to /etc/exabgp/process.conf
. Be sure to set up the log directory and file in the config, and ensure the directory exists and is writable by the ExaBGP process:
exabgp-process --generate-config >> process.conf
mv process.conf /etc/exabgp/process.conf
Add to ExaBGP Configuration
Include the following in your ExaBGP configuration:
process flowspec {
run /usr/local/exabgp-process;
encoder json;
}
The preferred setup uses RabbitMQ for message passing.
Development and Testing
For development and testing, there is also an HTTP version available. However, please note that this web app lacks any security layer. Therefore, it's recommended to restrict access to localhost only.
For more information, refer to the ExaBGP documentation.
Changelog
1.0.3 - new format of message from server - json with keys: author, source, command. Author and source are for logging purposes, command is send to the process. 1.0.2 - switch to pyproject.toml for better description
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file exabgp_process-1.0.3.tar.gz
.
File metadata
- Download URL: exabgp_process-1.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3295bc2ced82c883424ad71e12f6af113cb26f46ecac649beb05bde8a58f9be |
|
MD5 | 5ab1dfe7b9305e677c9c80510967e694 |
|
BLAKE2b-256 | 790aaced6678d76755a01c530781768795f22924cbfebfbc4e11d36e035af2c4 |
File details
Details for the file exabgp_process-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: exabgp_process-1.0.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892297d5d664ead3440bf94334c4ddbfda2e142db792c1ba51bda3ef44a58739 |
|
MD5 | 49535e8831115b8e0912eaed09726df3 |
|
BLAKE2b-256 | 8e6573cd0e653b280d309a2d44d738fd16da79ef4b0784c7ff6642abc429f73a |