neutron-lbaas/neutron_lbaas
Erik Olof Gunnar Andersson 0295eccea6 Improve performance on get and create/update/delete requests
This change follows up on the previous performance improvements
and does the same for crud requests.
I9d67f0966561baaefb50ae97b943ff6593e194eb
I32328c5206b9cd6fb8d8764c079f22b6ea8bfa9e

We remove from_sqlalchemy_model and the related object intermediary
representation from the get_loabalancer, get_pool, get_listener,
get_healthmonitor, get_l7policy, get_l7policy_rule,
get_pool_member.

Instead it more directly transforms from the SQLAlchemy model to the
required api dictionary format. Thus this entirely skips loading a few
relations that walking the intermediary object model triggered without
the target output needing them.

This is in particular important on calls like _get_driver_for_loadbalancer
as it previously would load the loadbalancer and all related objects
just to get the provider name for the loadbalancer.

Story: 2004949
Task: 29365

Change-Id: Ic268ea3cdcf809f62ba1ab3ebf8ab6d22f871404
2019-02-06 22:40:24 +00:00
..
agent use common rpc and exceptions from neutron-lib 2018-09-26 10:02:21 -06:00
cmd Fix pep8 errors 2018-04-12 14:58:11 +10:00
common Mark neutron-lbaas as deprecated 2018-02-01 02:41:48 +00:00
db Improve performance on get and create/update/delete requests 2019-02-06 22:40:24 +00:00
drivers Feature: Adding L7Policy/Rule for A10Networks 2019-01-25 16:22:34 +05:30
extensions Merge "remove unused plugin.get_plugin_name()" 2018-05-17 00:43:39 +00:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-08-13 06:12:30 +00:00
services Improve performance on get and create/update/delete requests 2019-02-06 22:40:24 +00:00
tests Fix the scenario test gates 2018-12-17 08:43:38 -08:00
__init__.py Use the correct _ method from neutron_lbaas._i18n 2016-01-13 06:46:59 -08:00
_i18n.py Remove log translations from neutron-lbaas 2017-05-04 11:23:20 -07:00
agent_scheduler.py Remove log translations from neutron-lbaas 2017-05-04 11:23:20 -07:00
opts.py Updating import for linux/interface opts 2017-09-13 09:51:28 -06:00
version.py Post-split, get jenkins tests passing 2014-12-08 22:52:02 -07:00