]> git.ipfire.org Git - people/ms/libloc.git/commit
location-importer.in: keep track of sources for networks, ASNs, and organisations
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 22 May 2021 20:33:51 +0000 (20:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 May 2021 10:31:39 +0000 (10:31 +0000)
commit28b083855239f551f1e5bd428790f399fb734510
treedb44dcb86ac6f1cf110e73c6a4327164b68a2db6
parent0cb1a88c942e599329f87a04f1dde4ec4376b038
location-importer.in: keep track of sources for networks, ASNs, and organisations

This allows us to trace back concrete changes or anomalies to their RIR
source, without having to parse everything again. Further, it enables
adding 3rd party sources such as IP feeds from Amazon, without loosing
track of the changes introduced by them.

The second version of this patchset uses ALTER TABLE to add the source
columns, avoiding breaking existing SQL setups.

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