public void reportLoadInfo(String gsonLoadInfo) {
    ConsoleProxyLoadReportCommand cmd = new ConsoleProxyLoadReportCommand(_proxyVmId, gsonLoadInfo);
    try {
      getAgentControl().postRequest(cmd);

      if (s_logger.isDebugEnabled())
        s_logger.debug("Report proxy load info, proxy : " + _proxyVmId + ", load: " + gsonLoadInfo);
    } catch (AgentControlChannelException e) {
      s_logger.error("Unable to send out load info due to " + e.getMessage(), e);
    }
  }
  public boolean authenticateConsoleAccess(
      String host, String port, String vmId, String sid, String ticket) {
    ConsoleAccessAuthenticationCommand cmd =
        new ConsoleAccessAuthenticationCommand(host, port, vmId, sid, ticket);

    try {
      AgentControlAnswer answer = getAgentControl().sendRequest(cmd, 10000);
      if (answer != null) {
        return ((ConsoleAccessAuthenticationAnswer) answer).succeeded();
      } else {
        s_logger.error("Authentication failed for vm: " + vmId + " with sid: " + sid);
      }

    } catch (AgentControlChannelException e) {
      s_logger.error(
          "Unable to send out console access authentication request due to " + e.getMessage(), e);
    }

    return false;
  }