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: BaseHandler
Base class to handle loading filter classes.
This class should be subclassed where one needs to use filters.
Get objects after filter
filter_classes – filters that will be used to filter the objects
objs – objects that will be filtered
filter_properties – client filter properties
index – This value needs to be increased in the caller function of get_filtered_objects when handling each resource.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.