Download newest delegated list, and allow the ripedb_ilines_update to take a hardcoded list of ASNs (and prepopulate w/ 3303 and 12859)

git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/ircnet.ipng.ch@47 c5d60b8d-fdcb-4146-b734-af4215e9eb71
This commit is contained in:
pim
2010-03-08 21:40:37 +00:00
parent e355736cba
commit aba1b16a36
3 changed files with 4365 additions and 1372 deletions

View File

@ -43,7 +43,7 @@ def asn_to_route(_asn, _whois_server = "whois.ripe.net",
except:
return list
ifile = s.makefile('w')
ifile.write('-i origin AS'+_asn+'\r\n')
ifile.write(('-i origin AS%s\r\n' % (_asn)))
ifile.flush()
print("Fetching route/route6 for AS%s from %s" % (_asn, _whois_server))
while True:

File diff suppressed because it is too large Load Diff