cinder.scheduler.filters.json_filter
Module¶JsonFilter
¶Bases: cinder.scheduler.filters.BaseBackendFilter
Backend filter for simple JSON-based grammar for selecting backends.
backend_passes
(backend_state, filter_properties)¶Return a list of backends that can fulfill query requirements.
commands
= {'<': <function JsonFilter._less_than at 0x7fd088d7fb70>, '<=': <function JsonFilter._less_than_equal at 0x7fd088d7f2f0>, '=': <function JsonFilter._equals at 0x7fd088d7fae8>, '>': <function JsonFilter._greater_than at 0x7fd088d7f488>, '>=': <function JsonFilter._greater_than_equal at 0x7fd088d7f268>, 'and': <function JsonFilter._and at 0x7fd088d7fc80>, 'in': <function JsonFilter._in at 0x7fd088d7f840>, 'not': <function JsonFilter._not at 0x7fd088d7fea0>, 'or': <function JsonFilter._or at 0x7fd088d7f0d0>}¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.