----------------------------------------- file format 10.244.77.219,us-east-1,1,3480,244,1,Match internalip, region, rttzone, rank, /16, ip_based_zone, whether it matches rttzone:cartzone is not 1:1. lookup = {'us-east-1':{'1':'1', '2':'3', '3':'4'}, 'eu-west-1':{'1':'1', '2':'0', '3':'3'}, 'ap-northeast-1':{'1':'2', '3':'3'}, 'ap-southeast-1':{'1':'2', '2':'1'}} #converts rtt_az : cart_zone