'Return True if host has the exact amount of RAM available.'

def host_passes(self, host_state, spec_obj):

    requested_ram = spec_obj.memory_mb
    if (requested_ram != host_state.free_ram_mb):
        LOG.debug('%(host_state)s    does    not    have    exactly    %(requested_ram)s    MB    usable    RAM,    it    has    %(usable_ram)s    MB.', {'host_state': host_state, 'requested_ram': requested_ram, 'usable_ram': host_state.free_ram_mb})
        return False
    host_state.limits['memory_mb'] = host_state.total_usable_ram_mb
    return True
