neutron/neutron/objects/qos
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
..
__init__.py First QoS versioned objects, ever 2015-07-02 09:21:45 +03:00
binding.py [L3][QoS] Neutron server side router gateway IP QoS 2018-12-01 17:45:46 +08:00
policy.py Merge "Use RBACBaseObject OVO in neutron/db/rbac_db_mixin.py" 2018-12-07 13:49:02 +00:00
qos_policy_validator.py Fix error message when duplicate QoS rule is created 2018-02-13 10:16:02 +01:00
rule.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
rule_type.py Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00