fsteinel / pyris

State machine to import RIPE RIS BGP dump + update files and generate periodic snapshots of that

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prototype code to create periodic snapshots of BGP data combining RIS dump + updates files. Pyris also annotates BGP data with country codes learned from RIR stats files.

See top of pyris.py for list of variables (starting with PYRIS) that can be configured. Configuration is done by putting variables in a local.py file, using python syntax. The least you should do is point PYRIS to a working version of bgpdump: PYRIS_CMD_BGPDUMP='/Users/emile/bin/bgpdump'

To run pyris:

pyris.py start_ts end_ts interval

Example to create 5min interval files for the first 8 hrs of 2014-04-01 (UTC):

pyris.py 1396310400 1396339200 300

About

State machine to import RIPE RIS BGP dump + update files and generate periodic snapshots of that


Languages

Language:Python 100.0%