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.
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.2.tar.gz
.
File metadata
- Download URL: exabgp_process-1.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d2a1674ce59f2fd4f277ddabcc512e7aef4be02178ccd53c83633c3564c20c4 |
|
MD5 | bb4915a436106ce7eae8e9f18ea006cf |
|
BLAKE2b-256 | dccab0b63e43cb7abda6bd914cecfc5becaddc03f39d312d163384c5c9f07930 |
File details
Details for the file exabgp_process-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: exabgp_process-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.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 | d2971935628ff63df6dd6153520604db783fdc2b8ca212579ffd1e080dbd2d11 |
|
MD5 | 7ce710ae2d4d29a0c16c74a6dc043445 |
|
BLAKE2b-256 | a76fc63fab01d49f1b8605e9a0b8f3895f066a3095857b8550b116c5ce7dcb86 |