class HttpUtils {

    public String wakeHaltedHostUsingHttpGet(String systemVmIp, String hostMac) {
        try {
            URL url = new URL(String.format("http://%s:8080/boot/wakeonlan/%s", systemVmIp, hostMac));
            return executeHttpGetRequest(url);
        } catch (IOException e) {
            logger.debug(String.format("Error while calling Wakeonlan service for host mac address[%s]", hostMac), e);
            return e.getMessage();
        }
    }

}