neutron/neutron
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
..
agent Merge "Add debug information in BridgeCreateEvent" 2018-12-10 16:15:44 +00:00
api Block port update from unbound DHCP agent 2018-10-31 12:58:45 +00:00
cmd Merge "Secure dnsmasq process against external abuse" 2018-11-30 21:57:33 +00:00
common Merge "Implement IpRuleCommand.add() using pyroute2" 2018-12-06 07:21:42 +00:00
conf Trivial: Fix ovs cleanup script on Windows 2018-11-22 18:37:25 +02:00
core_extensions use autonested_transaction from neutron-lib 2018-07-26 07:41:34 -06:00
db Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Merge "[L3][QoS] Neutron server side router gateway IP QoS" 2018-12-04 00:26:55 +00:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Add bulk IP address assignment to ipam driver 2018-11-19 11:29:13 -05:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Send global_request_id for tracing calls from neutron to nova 2018-11-30 05:41:24 +00:00
objects Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00
pecan_wsgi Add missing ws seperator between words 2018-11-19 13:57:05 +08:00
plugins Merge "Add native OVSDB implementation for bridge monitor" 2018-12-10 15:44:34 +00:00
privileged Implement IpRuleCommand.add() using pyroute2 2018-12-04 19:54:18 +00:00
quota use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Enable delete bound trunk for linux bridge agent" 2018-12-10 22:07:09 +00:00
tests Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Implement filter validation 2018-07-19 04:13:43 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py supported_vnic_type configurable for sriov 2018-11-05 11:40:13 +01:00
policy.py Add ext_parent policy check 2018-08-01 02:45:42 +08:00
service.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00