Skip to content

Commit

Permalink
Copy a pre-downloaded rib file instead of downloading
Browse files Browse the repository at this point in the history
For unknown reasons, HTTPS downloads also fail from our Docker
instance although they succeed from my local machine.  FTP downloads
fail from both.
  • Loading branch information
jsf9k committed Jul 7, 2024
1 parent 02c8959 commit 397a8e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/report/create_all_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def main():
# pyasn_util_download.py isn't written in a way that easily allows
# it to be run in any other way. Hence the nosec.
# download_cmd = "/usr/local/bin/pyasn_util_download.py --latestv46"
download_cmd = "wget https://archive.routeviews.org/route-views4/bgpdata/2024.07/RIBS/rib.20240707.0200.bz2"
# download_cmd = "wget https://archive.routeviews.org/route-views4/bgpdata/2024.07/RIBS/rib.20240707.0200.bz2"
download_cmd = f"cp {HOME_DIR}/report/rib.20240707.0200.bz2 ."
os.system(download_cmd) # nosec B605
logging.info("Preprocessing BGP data for pyasn...")
# pyasn_util_convert.py isn't written in a way that easily allows
Expand Down

0 comments on commit 397a8e1

Please sign in to comment.