aboutsummaryrefslogtreecommitdiff
path: root/scripts/arin-to-csv.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-05-05 06:08:16 +0000
committerRob Austein <sra@hactrn.net>2012-05-05 06:08:16 +0000
commitc151cd5c3405b73279809b9107651d5bfbc21338 (patch)
treedee8a162de600127fd0ca748abe3d3a72345100b /scripts/arin-to-csv.py
parent93da6a888c1a1f27c6cf7bd23adcd58199644a63 (diff)
Use lowercase handle names for RIRs, for consistancy with older code.
svn path=/branches/tk33/; revision=4469
Diffstat (limited to 'scripts/arin-to-csv.py')
-rw-r--r--scripts/arin-to-csv.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/scripts/arin-to-csv.py b/scripts/arin-to-csv.py
index 63368723..dcb508ff 100644
--- a/scripts/arin-to-csv.py
+++ b/scripts/arin-to-csv.py
@@ -56,18 +56,18 @@ def do_asn(node):
find(node, tag_endAsNumber))))
erx_table = {
- "AF" : "AFRINIC",
- "AP" : "APNIC",
- "AR" : "ARIN",
- "AV" : "ARIN",
- "FX" : "AFRINIC",
- "LN" : "LACNIC",
- "LX" : "LACNIC",
- "PV" : "APNIC",
- "PX" : "APNIC",
- "RN" : "RIPE",
- "RV" : "RIPE",
- "RX" : "RIPE" }
+ "AF" : "afrinic",
+ "AP" : "apnic",
+ "AR" : "arin",
+ "AV" : "arin",
+ "FX" : "afrinic",
+ "LN" : "lacnic",
+ "LX" : "lacnic",
+ "PV" : "apnic",
+ "PX" : "apnic",
+ "RN" : "ripe",
+ "RV" : "ripe",
+ "RX" : "ripe" }
def do_net(node):
handle = find(node, tag_orgHandle)