code: @Override
  	public String retrievePublicIpAddress( TargetHandlerParameters parameters, String machineId )
  	throws TargetException {
  
  		String result = null;
  		try {
  			ServiceInstance vmwareServiceInstance = VmwareIaasHandler.getServiceInstance( parameters.getTargetProperties());
  			String rootInstanceName = InstanceHelpers.findRootInstancePath( parameters.getScopedInstancePath());
  			VirtualMachine vm = VmwareIaasHandler.getVirtualMachine( vmwareServiceInstance, rootInstanceName );
  			if( vm != null )
  				result = vm.getGuest().getIpAddress();
  
  		} catch( Exception e ) {
  			throw new TargetException( e );
  		}
  
  		return result;
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.target.api.TargetHandler
  #retrievePublicIpAddress(net.roboconf.target.api.TargetHandlerParameters, java.lang.String)