def __init__(self, user, password, url, maxwaves, edges, simulate, start_hosts, workers=25):
    self.url = url
    self.username = user
    self.password = password
    self.use_encryption = False
    self.driver = None
    self.connected = False
    self.maxwaves = (1 if (LOGICAL in simulate) else maxwaves)
    self.session = None
    self.edges = edges
    self.simulate = simulate
    self.workers = workers
    self.executor = ThreadPoolExecutor(max_workers=workers)
    self.start_hosts = start_hosts
def __init__(self, user, password, url, maxwaves, edges, simulate, start_hosts, workers=25):
    self.url = url
    self.username = user
    self.password = password
    self.use_encryption = False
    self.driver = None
    self.connected = False
    self.maxwaves = (1 if (LOGICAL in simulate) else maxwaves)
    self.session = None
    self.edges = edges
    self.simulate = simulate
    self.workers = workers
    self.executor = ThreadPoolExecutor(max_workers=workers)
    self.start_hosts = start_hosts