]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Optimize query in _select_dhcp_ips_for_network_ids
authorKevin Benton <blak111@gmail.com>
Fri, 17 Oct 2014 04:27:47 +0000 (21:27 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Wed, 22 Oct 2014 09:46:54 +0000 (09:46 +0000)
commit25c828007d62c0114a0e3eb4c4c17b93cf7b7481
tree47b793f4e7816d3b2f85d56ca810e5569850084d
parent830142e6923ff5fa8303afc22b0b61c39a374fe8
Optimize query in _select_dhcp_ips_for_network_ids

Only query the DB for relevant columns instead of
all of the port columns.

Partial-Bug: #1373851
Change-Id: I32cd4a0bc6799ce77cea13188676308e3e641d19
(cherry picked from commit 8d430a7f2e903dda06d8d75d6abcd63423c4c0a1)
neutron/db/securitygroups_rpc_base.py