Neutron shared routines and utilities.
Go to file
Hongbin Lu dafbd30ef8 Support custom filters in OVO
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
2018-10-29 15:27:50 +00:00
api-ref/source Merge "Allow advsvc role to create port in foreign tenant" 2018-10-22 22:22:35 +00:00
doc rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
neutron_lib Support custom filters in OVO 2018-10-29 15:27:50 +00:00
releasenotes Support custom filters in OVO 2018-10-29 15:27:50 +00:00
tools Remove tools/tox_install.sh 2018-03-07 20:31:12 +01:00
.coveragerc Improvements to tox envs 2015-12-19 01:00:22 -05:00
.gitignore Switch to stestr 2018-05-24 11:09:18 -07:00
.gitreview Added .gitreview 2015-11-19 19:54:39 +00:00
.mailmap Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
.stestr.conf Fix unit test failures due to switch to testr changes 2017-09-14 08:17:35 -07:00
.zuul.yaml Use templates for cover and lower-constraints 2018-09-07 15:35:30 +02:00
babel.cfg Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
CONTRIBUTING.rst Merge "Update links in CONTRIBUTING.rst" 2017-10-05 20:47:37 +00:00
HACKING.rst Update the documentation link for doc migration 2017-07-20 15:46:41 +00:00
LICENSE Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
lower-constraints.txt Placement: utils 2018-08-21 16:52:30 +02:00
README.rst Add release notes link to README 2018-06-20 19:29:43 +08:00
requirements.txt Placement: utils 2018-08-21 16:52:30 +02:00
setup.cfg build universal wheels 2018-10-02 18:23:56 -04:00
setup.py Updated from global requirements 2017-03-02 11:49:11 +00:00
test-requirements.txt Add bandit to pep8 gate 2018-06-14 11:38:33 -04:00
tox.ini Update list of skipped bandit plugins 2018-08-21 09:28:09 +02:00

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO