]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Avoid performing extra query for fetching qos bindings
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 22 Aug 2013 16:08:52 +0000 (09:08 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 12 Sep 2013 10:20:48 +0000 (03:20 -0700)
commit72f85b5e616e3aabcab862b944c1a3a2c2844431
tree031bb7fd5b286a433df93b50527036f9d7262fbe
parent116b2faeca2752d12905c3c0504a6b5df2e0eb15
Avoid performing extra query for fetching qos bindings

Bug 1215872

Add a relationship with eager loading in the Port and Network models,
thus preventing the 'extend' functions from performing extra queries.
This patch also slight alters the methods for processing qos_queue
bindings in order to allow them for populating the qos_queue id in
the response being created.

Change-Id: Ie80d12aeed5de94afa61f23d7bcfc21372f23c4f
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/dbexts/nicira_qos_db.py