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
2016-06-28 22:46:19 +02:00
2018-12-04 11:28:13 +08:00
2016-10-17 17:06:19 +05:30
2018-06-02 13:03:33 +02:00
2014-05-16 13:40:04 -04:00
2018-10-03 08:41:56 +00:00
2018-12-04 11:47:38 -05:00
2017-06-13 19:26:49 +00:00
2017-08-31 16:44:51 +02:00
2018-07-10 15:40:00 +07:00
2018-12-05 07:08:22 -07:00
2017-03-04 11:19:58 +00:00
2018-11-27 20:58:28 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%