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.4 - fixed template for config file 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exabgp_process-1.0.4.tar.gz.
File metadata
- Download URL: exabgp_process-1.0.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c20b3140d125ab799eb9c51beaab45a6057dd29c8975030645c579094f0ff87
|
|
| MD5 |
6e9ecfadb63c9b2cee76725535827e89
|
|
| BLAKE2b-256 |
c30c881724878aa478b0e3511e7182f90ae22847dc3c509635638681a27f59e9
|
File details
Details for the file exabgp_process-1.0.4-py3-none-any.whl.
File metadata
- Download URL: exabgp_process-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.4 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 |
abeb7c4d206fb74e3d9da4528736646361867b844f463b28cb4e3b742e100455
|
|
| MD5 |
58012153f32e69578af5562c155a2b96
|
|
| BLAKE2b-256 |
f982987391838d5607f067ce4e63dabd9c38d91cb2b83325585298028d434992
|