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.2.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for bgprecorder-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8163f049b7164ffa48c660bac361f5d5c29f278237e1281b2c31b72d72faad |
|
MD5 | 6736246df818a9e94cc9bcab96c9f275 |
|
BLAKE2b-256 | bd69d5a2d87351fc4f341a22abd3fee737583a5863995bf0691dd11aec2c0d53 |