BGP rib timeseries recording tool
Project description
bgp route collector
Create a BGP RIB time series database from MRT format dump files.
how to deploy
docker
- Create docker-compose.yml with reference to docker-compose.sample.yml.
- Create .env
BGPRECORDER_DB_HOST=postgres
BGPRECORDER_DB_PORT=5432
BGPRECORDER_DB_NAME=bgprecorder
BGPRECORDER_DB_USER=postgres
BGPRECORDER_DB_PASSWORD=PASSWORD
- run
docker-compose up -d
native install
TBD
demo
- bgpquery
$ bash misc/env.sh
$ bgpquery -a 3ffe::114 -d 202207131800 | jq
{
"id": 13735,
"time": "2022-07-13T17:00:32",
"path_id": 3204,
"type_name": "TABLE_DUMP2_AP",
"sequence": null,
"from_ip": "2001:200:e00:300:dad::4",
"from_as": 0,
"originated": null,
"origin": "IGP",
"aspath": "400 300",
"nlri_type": null,
"nlri": "3ffe::/32",
"nexthop": "2001:db8::ace",
"community": "4690:64500",
"large_community": null
}
{
"id": 13736,
"time": "2022-07-13T17:00:32",
"path_id": 4634,
"type_name": "TABLE_DUMP2_AP",
"sequence": null,
"from_ip": "2001:200:e00:300:dad::5",
"from_as": 0,
"originated": null,
"origin": "IGP",
"aspath": "100 200 300",
"nlri_type": null,
"nlri": "3ffe::/32",
"nexthop": "2001:db8::beaf",
"community": "4690:64501",
"large_community": null
}
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
bgprecorder-0.1.1.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file bgprecorder-0.1.1.tar.gz
.
File metadata
- Download URL: bgprecorder-0.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0a2 CPython/3.8.10 Linux/5.4.0-121-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e9d79647ec1da4993dff5813dfcce7047bfadca24abb6a75b7e9d16ff4ae10 |
|
MD5 | f53845731c568f93a347f461442b5895 |
|
BLAKE2b-256 | 1695b86a337198829dcd56dc3170fcde5c3db7dc8754241c213d59d5c9bbdf13 |
File details
Details for the file bgprecorder-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: bgprecorder-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0a2 CPython/3.8.10 Linux/5.4.0-121-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8925195155d9ec932337ab036f94eb9d47a6022d755c6dc026c0822b0b641f4d |
|
MD5 | 3b9adc63896984460118ca34d0b6d5e0 |
|
BLAKE2b-256 | 2f45fedc7a608b20d6ab7c02ca2cfff66c76675ed6f91060296bbf7f382dabb6 |