return true;
}
private void getServerVersion(final String hostName) throws Exception {
final String path = Constants.REST_PATH_HELLO;
final HttpMethod httpverb = HttpMethod.GET;
String serverVersion = conn.getObjectByPath(String.class, path, httpverb, false);
String cliVersion = com.vmware.bdd.utils.Constants.VERSION;
if (!cliVersion.equals(serverVersion)) {
System.out.println("Warning: CLI version "+ cliVersion + " does not match with management server version " + serverVersion + ".");