def get_controller(equipment, logfile=None, servicename="PosixAgent"):
    client = get_remote(equipment["hostname"], servicename)
    if logfile:
        logfile.write("Got remote.Client %s\n" % (client,))
    return client
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/remote/Client.py/get_controller/original