Fresh import of RIPE lines; also added ilines.asn.conf which is a list
of AS numbers assigned to Switzerland and Liechtenstein according to the RIPE NCC's database (ie delegated-ripencc-latest) Added class 250 for the asn I lines, and inserted them in users.conf This also obsoletes the update_ilines.sh shell script, replaced by the ilines_update.cron which will be run manually for a little while and then cronned every month/quarter or so. git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/ircnet.ipng.ch@34 c5d60b8d-fdcb-4146-b734-af4215e9eb71
This commit is contained in:
@ -169,16 +169,18 @@ def main():
|
||||
ofile.write("# File generated on %s by %s@%s\n" %
|
||||
(time.asctime(time.localtime(time.time())),
|
||||
getpass.getuser(), socket.gethostname()))
|
||||
ofile.write("# Commandline: %s\n" % ' '.join(sys.argv))
|
||||
ofile.write("# assets=%s asns=%s output=%s class=%s\n" %
|
||||
(','.join(_assets), ','.join(_asns), _output, _class))
|
||||
# TODO(pim): Make these lines wrap at ~80char because the ircd config
|
||||
# parser cannot take long lines :(
|
||||
# ofile.write("# Commandline: %s\n" % ' '.join(sys.argv))
|
||||
# ofile.write("# assets=%s asns=%s output=%s class=%s\n" %
|
||||
# (','.join(_assets), ','.join(_asns), _output, _class))
|
||||
|
||||
ofile.write("# Objects found: %d route/route6, %d ASn, %d as-set\n\n" %
|
||||
(len(all_route_list), len(_data['asn']), len(_assets)))
|
||||
|
||||
for _asset in _data['as-set']:
|
||||
ofile.write("# %s: %s\n" %
|
||||
(_asset, ', '.join(_data['as-set'][_asset])))
|
||||
# for _asset in _data['as-set']:
|
||||
# ofile.write("# %s: %s\n" %
|
||||
# (_asset, ', '.join(_data['as-set'][_asset])))
|
||||
ofile.write("#\n\n")
|
||||
|
||||
output_linecount = 0
|
||||
|
Reference in New Issue
Block a user