bgpkit/bgpkit-broker

New collectors returning extra `bgpdata` in URL path

Closed this issue · 1 comments

  • currently incorrect: https://archive.routeviews.org/route-views7/bgpdata/bgpdata/
  • correct url: https://archive.routeviews.org/route-views7/bgpdata/

The issue is that the collector_url has the extra bgpdata while others do not. This was the problem caused by automated inserting collector information vs. manually curated collector information.

Details

sqlite> select * from collectors;
+----+-----------------------+-----------------------------------------------------+-------------+------------------+
| id |         name          |                         url                         |   project   | updates_interval |
+----+-----------------------+-----------------------------------------------------+-------------+------------------+
| 1  |                       |                                                     | 1           |                  |
| 2  | route-views.amsix     | http://archive.routeviews.org/route-views.amsix     | route-views | 900              |
| 3  | route-views.bdix      | http://archive.routeviews.org/route-views.bdix      | route-views | 900              |
| 4  | route-views.bknix     | http://archive.routeviews.org/route-views.bknix     | route-views | 900              |
| 5  | route-views.chicago   | http://archive.routeviews.org/route-views.chicago   | route-views | 900              |
| 6  | route-views.chile     | http://archive.routeviews.org/route-views.chile     | route-views | 900              |
| 7  | route-views.eqix      | http://archive.routeviews.org/route-views.eqix      | route-views | 900              |
| 8  | route-views.flix      | http://archive.routeviews.org/route-views.flix      | route-views | 900              |
| 9  | route-views.fortaleza | http://archive.routeviews.org/route-views.fortaleza | route-views | 900              |
| 10 | route-views.gixa      | http://archive.routeviews.org/route-views.gixa      | route-views | 900              |
| 11 | route-views.gorex     | http://archive.routeviews.org/route-views.gorex     | route-views | 900              |
| 12 | route-views.isc       | http://archive.routeviews.org/route-views.isc       | route-views | 900              |
| 13 | route-views.jinx      | http://archive.routeviews.org/route-views.jinx      | route-views | 900              |
| 14 | route-views.kixp      | http://archive.routeviews.org/route-views.kixp      | route-views | 900              |
| 15 | route-views.linx      | http://archive.routeviews.org/route-views.linx      | route-views | 900              |
| 16 | route-views.mwix      | http://archive.routeviews.org/route-views.mwix      | route-views | 900              |
| 17 | route-views.napafrica | http://archive.routeviews.org/route-views.napafrica | route-views | 900              |
| 18 | route-views.nwax      | http://archive.routeviews.org/route-views.nwax      | route-views | 900              |
| 19 | route-views.ny        | http://archive.routeviews.org/route-views.ny        | route-views | 900              |
| 20 | route-views.perth     | http://archive.routeviews.org/route-views.perth     | route-views | 900              |
| 21 | route-views.peru      | http://archive.routeviews.org/route-views.peru      | route-views | 900              |
| 22 | route-views.phoix     | http://archive.routeviews.org/route-views.phoix     | route-views | 900              |
| 23 | route-views.rio       | http://archive.routeviews.org/route-views.rio       | route-views | 900              |
| 24 | route-views.saopaulo  | http://archive.routeviews.org/route-views.saopaulo  | route-views | 900              |
| 25 | route-views.sfmix     | http://archive.routeviews.org/route-views.sfmix     | route-views | 900              |
| 26 | route-views.sg        | http://archive.routeviews.org/route-views.sg        | route-views | 900              |
| 27 | route-views.siex      | http://archive.routeviews.org/route-views.siex      | route-views | 900              |
| 28 | route-views.soxrs     | http://archive.routeviews.org/route-views.soxrs     | route-views | 900              |
| 29 | route-views.sydney    | http://archive.routeviews.org/route-views.sydney    | route-views | 900              |
| 30 | route-views.telxatl   | http://archive.routeviews.org/route-views.telxatl   | route-views | 900              |
| 31 | route-views.uaeix     | http://archive.routeviews.org/route-views.uaeix     | route-views | 900              |
| 32 | route-views.wide      | http://archive.routeviews.org/route-views.wide      | route-views | 900              |
| 33 | route-views2          | http://archive.routeviews.org                       | route-views | 900              |
| 34 | route-views2.saopaulo | http://archive.routeviews.org/route-views2.saopaulo | route-views | 900              |
| 35 | route-views3          | http://archive.routeviews.org/route-views3          | route-views | 900              |
| 36 | route-views4          | http://archive.routeviews.org/route-views4          | route-views | 900              |
| 37 | route-views5          | http://archive.routeviews.org/route-views5          | route-views | 900              |
| 38 | route-views6          | http://archive.routeviews.org/route-views6          | route-views | 900              |
| 39 | rrc00                 | https://data.ris.ripe.net/rrc00                     | ripe-ris    | 300              |
| 40 | rrc01                 | https://data.ris.ripe.net/rrc01                     | ripe-ris    | 300              |
| 41 | rrc02                 | https://data.ris.ripe.net/rrc02                     | ripe-ris    | 300              |
| 42 | rrc03                 | https://data.ris.ripe.net/rrc03                     | ripe-ris    | 300              |
| 43 | rrc04                 | https://data.ris.ripe.net/rrc04                     | ripe-ris    | 300              |
| 44 | rrc05                 | https://data.ris.ripe.net/rrc05                     | ripe-ris    | 300              |
| 45 | rrc06                 | https://data.ris.ripe.net/rrc06                     | ripe-ris    | 300              |
| 46 | rrc07                 | https://data.ris.ripe.net/rrc07                     | ripe-ris    | 300              |
| 47 | rrc08                 | https://data.ris.ripe.net/rrc08                     | ripe-ris    | 300              |
| 48 | rrc09                 | https://data.ris.ripe.net/rrc09                     | ripe-ris    | 300              |
| 49 | rrc10                 | https://data.ris.ripe.net/rrc10                     | ripe-ris    | 300              |
| 50 | rrc11                 | https://data.ris.ripe.net/rrc11                     | ripe-ris    | 300              |
| 51 | rrc12                 | https://data.ris.ripe.net/rrc12                     | ripe-ris    | 300              |
| 52 | rrc13                 | https://data.ris.ripe.net/rrc13                     | ripe-ris    | 300              |
| 53 | rrc14                 | https://data.ris.ripe.net/rrc14                     | ripe-ris    | 300              |
| 54 | rrc15                 | https://data.ris.ripe.net/rrc15                     | ripe-ris    | 300              |
| 55 | rrc16                 | https://data.ris.ripe.net/rrc16                     | ripe-ris    | 300              |
| 56 | rrc18                 | https://data.ris.ripe.net/rrc18                     | ripe-ris    | 300              |
| 57 | rrc19                 | https://data.ris.ripe.net/rrc19                     | ripe-ris    | 300              |
| 58 | rrc20                 | https://data.ris.ripe.net/rrc20                     | ripe-ris    | 300              |
| 59 | rrc21                 | https://data.ris.ripe.net/rrc21                     | ripe-ris    | 300              |
| 60 | rrc22                 | https://data.ris.ripe.net/rrc22                     | ripe-ris    | 300              |
| 61 | rrc23                 | https://data.ris.ripe.net/rrc23                     | ripe-ris    | 300              |
| 62 | rrc24                 | https://data.ris.ripe.net/rrc24                     | ripe-ris    | 300              |
| 63 | rrc25                 | https://data.ris.ripe.net/rrc25                     | ripe-ris    | 300              |
| 64 | rrc26                 | https://data.ris.ripe.net/rrc26                     | ripe-ris    | 300              |
| 65 | amsix.ams             | https://archive.routeviews.org/amsix.ams/bgpdata    | route-views | 900              |
| 66 | cix.atl               | https://archive.routeviews.org/cix.atl/bgpdata      | route-views | 900              |
| 67 | decix.jhb             | https://archive.routeviews.org/decix.jhb/bgpdata    | route-views | 900              |
| 68 | iraq-ixp.bgw          | https://archive.routeviews.org/iraq-ixp.bgw/bgpdata | route-views | 900              |
| 69 | pacwave.lax           | https://archive.routeviews.org/pacwave.lax/bgpdata  | route-views | 900              |
| 70 | pit.scl               | https://archive.routeviews.org/pit.scl/bgpdata      | route-views | 900              |
| 71 | pitmx.qro             | https://archive.routeviews.org/pitmx.qro/bgpdata    | route-views | 900              |
| 72 | route-views7          | https://archive.routeviews.org/route-views7/bgpdata | route-views | 900              |
+----+-----------------------+-----------------------------------------------------+-------------+------------------+

Fixed a while back.