'Initialize the scanner.'

def __init__(self, config):

    host = config[CONF_HOST]
    (username, password) = (config[CONF_USERNAME], config[CONF_PASSWORD])
    self.parse_macs = re.compile(('[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-' + '[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}'))
    self.host = host
    self.username = username
    self.password = password
    self.last_results = {}
    self.success_init = self._update_info()
