dxlmaxmindclient.client module¶
-
class
dxlmaxmindclient.client.MaxMindGeolocationClient(dxl_client)¶ Bases:
dxlbootstrap.client.ClientThe "MaxMind Geolocation Client" client wrapper class.
Constructor parameters:
Parameters: dxl_client -- The DXL client to use for communication with the fabric -
HOST_LOOKUP_TOPIC= '/opendxl-maxmind/service/geolocation/host_lookup'¶
-
lookup_host(host)¶ Looks up Geolocation information for the specified host/IP
Parameters: host -- The host/IP to lookup Returns: A dictionary ( dict) containing the details of the Geolocation lookup
-