]> git.ipfire.org Git - location/libloc.git/commit
location-importer.in: Import (technical) AS names from ARIN
authorPeter Müller <peter.mueller@ipfire.org>
Tue, 8 Jun 2021 17:03:07 +0000 (17:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Jun 2021 08:54:25 +0000 (08:54 +0000)
commit92403f3910c7a1aa576fc56953ec931ebfffd107
treeb8f1ea185329ce25b11fc439b668b8680966a9b8
parente17e804ed79cf5572d945771acccbc5b4d0657d2
location-importer.in: Import (technical) AS names from ARIN

ARIN and LACNIC, unfortunately, do not seem to publish data containing
human readable AS names. For the former, we at least have a list of
tecnical names, which this patch fetches and inserts into the autnums
table.

While some of them do not seem to be suitable for human consumption (i.
e. being very cryptic), providing these data might be helpful
neverthelesss.

The second version of this patch contains some additional remarks on
efficient Python coding style from Michael, doing things more "pythonic".

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in