CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cvmfs_geo.py File Reference

Go to the source code of this file.

Namespaces

 cvmfs_geo
 

Functions

def cvmfs_geo.open_geodb
 
def cvmfs_geo.lookup_geoinfo
 
def cvmfs_geo.distance_on_unit_sphere
 
def cvmfs_geo.addr_geoinfo
 
def cvmfs_geo.name_geoinfo
 
def cvmfs_geo.geosort_servers
 
def cvmfs_geo.api
 

Variables

 cvmfs_geo.maxminddb = None
 
int cvmfs_geo.geo_cache_secs = 5
 
int cvmfs_geo.geo_cache_max_entries = 100000
 
int cvmfs_geo.namelookups = 0
 
dictionary cvmfs_geo.geo_cache = {}
 
tuple cvmfs_geo.gilock = threading.Lock()
 
tuple cvmfs_geo.namelock = threading.Lock()
 
tuple cvmfs_geo.addr_pattern = re.compile('^[0-9a-zA-Z.:-]*$')