neutron/neutron/tests
Hongbin Lu f24f422373 Support fetching specific db column in OVO
There is a analysis [1] suggested to run queries against specific
columns rather than full ORM entities to optimize the performance.
Right now, it is impossible to execute such optimization because
OVO doesn't support fetching specific column yet.

This commit introduces a new method 'get_values' in the base
neutron object class. Subclass of neutron object can leverage
this method to fetch specific field of a OVO. It supports fetching
non-synthetic fields only as syntheic fields are not directly backed
by corresponding DB table columns.

neutron-lib patch: https://review.openstack.org/#/c/619047/

[1] https://review.openstack.org/#/c/592361/

Needed-By: https://review.openstack.org/#/c/610184/

Change-Id: Ib90eae7738a5d2e4548fe9fed001d6cdaffddf3b
Partial-Implements: blueprint adopt-oslo-versioned-objects-for-db
2018-12-11 19:29:28 +00:00
..
common [L3][QoS] Neutron server side router gateway IP QoS 2018-12-01 17:45:46 +08:00
contrib [L3][QoS] Neutron server side router gateway IP QoS 2018-12-01 17:45:46 +08:00
etc Add get_availability_zone rule to policy.json 2018-11-21 16:33:30 +05:30
fullstack Merge "Change "cmd" folder in fullstack tests" 2018-12-05 12:45:18 +00:00
functional Merge "Add native OVSDB implementation for bridge monitor" 2018-12-10 15:44:34 +00:00
unit Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py [Functional] Increase test_timeout for db migration tests 2018-10-13 00:09:24 +02:00
post_mortem_debug.py
tools.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00