def METHOD_NAME(opts):
    """
    Open the connection to the Arista switch over the eAPI.
    """
    proxy_dict = opts.get("proxy", {})
    conn_args = proxy_dict.copy()
    conn_args.pop("proxytype", None)
    opts["multiprocessing"] = conn_args.get("multiprocessing", True)
    # This is not a SSH-based proxy, so it should be safe to enable
    # multiprocessing.
    try:
        conn = pyeapi.client.connect(**conn_args)
        node = pyeapi.client.Node(conn, enablepwd=conn_args.get("enablepwd"))
        pyeapi_device["connection"] = node
        pyeapi_device["initialized"] = True
        pyeapi_device["up"] = True
    except pyeapi.eapilib.ConnectionError as cerr:
        log.error("Unable to connect to %s", conn_args["host"], exc_info=True)
        return False
    return True