- To Start using Predictroute, follow these steps:
- Create a file
consts.pywith directories that contain your traceroute datasets. The location of the traceroutes is used inapi.py. - Download RIPE traceroutes either from the RIPE measurement page or from the FTP link with daily dumps of public traces.
- Store RIPE traces at a location defined in
consts.pycalledRIPE_DAILY_DUMPS. parse_traces_offline.pywill create several processes to parse these daily dumps, one for each day's compressed traceroutes. This code mainly refers tocompute_dest_based_graphs_offlinewhich has much of the logic for parsing large quantities of traceroute data in parallel, creating graphs at prefix or ASN level and committing them to disk.- The graphs are stored in
.gtformat which can be opened using thegraph-toollibrary. - Once the graphs for a single day's worth of traces are stored, they are combined with graphs from before. This job is done by
combine_dags_src_dst.py. - The processes of downloading, parsing, building graphs and combining them with previous graphs can be easily made into cron jobs. Shell scripts to run this code are also checked into the repo.
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|