Neutron shared routines and utilities.
dafbd30ef8
In sqlalchemy, there are some advanced filter criterion but such filter criterion is not supported in OVO. An example is the "not in" criterion which is achieved by "query.filter(~db_model.column.in_(values))". Another example is the "not equal" criterion which is achieved by "query.filter(db_model.column != value)" This commit adds support for custom filtering. We introduce a base class called "FilterObj" from which the custom filter class should inherit. This commit also implements two filter class: one for implementing the "not in" criterion and the other for the "not equal" criterion. In addition, it makes StringMatchingFilterObj inherit from the FilterObj class. Needed-By: https://review.openstack.org/#/c/609848/ Change-Id: I9ac7fb000d2bed445efbc226c30abdcd981b90cb Partial-Implements: blueprint adopt-oslo-versioned-objects-for-db |
||
---|---|---|
api-ref/source | ||
doc | ||
neutron_lib | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
lower-constraints.txt | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
neutron-lib
Neutron shared routines and utilities
- Free software: Apache license
- Documentation: https://docs.openstack.org/neutron-lib/latest/
- Source: https://git.openstack.org/cgit/openstack/neutron-lib
- Bugs: https://bugs.launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron-lib/
Features
- TODO