]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DB: Only ask for MAC instead of entire port
authorKevin Benton <blak111@gmail.com>
Fri, 17 Oct 2014 04:24:07 +0000 (21:24 -0700)
committerKevin Benton <blak111@gmail.com>
Fri, 17 Oct 2014 04:25:38 +0000 (21:25 -0700)
commit60dd689183469d2958d6dcb60d93a8d94ef694d1
treeebb26fcdd60053153e7511a3aa8b77606f570872
parenta49f8e9ebfd30db5c2f9796beb22de758cd139c1
DB: Only ask for MAC instead of entire port

Optimize a query in _get_lla_gateway_ip_for_subnet
to only grab the column used instead of every column
in the port table.

Partial-Bug: #1373851
Change-Id: I5257e1e22645f3df9a77c0967b09a0ad0cf8b251
neutron/db/securitygroups_rpc_base.py