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

def host_passes(self, host_state, spec_obj):

    requested_disk = ((1024 * (spec_obj.root_gb + spec_obj.ephemeral_gb)) + spec_obj.swap)
    if (requested_disk != host_state.free_disk_mb):
        LOG.debug('%(host_state)s    does    not    have    exactly    %(requested_disk)s    MB    usable    disk,    it    has    %(usable_disk_mb)s.', {'host_state': host_state, 'requested_disk': requested_disk, 'usable_disk_mb': host_state.free_disk_mb})
        return False
    host_state.limits['disk_gb'] = host_state.total_usable_disk_gb
    return True
