'Use information about current vm and task states collected from
compute node statistics to decide whether to filter.'

def host_passes(self, host_state, spec_obj):

    num_io_ops = host_state.num_io_ops
    max_io_ops = self._get_max_io_ops_per_host(host_state, spec_obj)
    passes = (num_io_ops < max_io_ops)
    if (not passes):
        LOG.debug('%(host_state)s    fails    I/O    ops    check:    Max    IOs    per    host    is    set    to    %(max_io_ops)s', {'host_state': host_state, 'max_io_ops': max_io_ops})
    return passes
