Filter support
Bases: object
Base class for all filter classes.
Yield objects that pass the filter.
Can be overridden in a subclass, if you need to base filtering decisions on all objects. Otherwise, one can just override _filter_one() to filter a single object.
Return True if the filter needs to be run for n-th instances.
Only need to override this if a filter needs anything other than “first only” or “all” behaviour.
Bases: cinder.scheduler.base_handler.BaseHandler
Base class to handle loading filter classes.
This class should be subclassed where one needs to use filters.
Get objects after filter
Parameters: |
|
---|