]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Only get host data for floating ips on DVR routers
authorCarl Baldwin <carl.baldwin@hp.com>
Wed, 16 Sep 2015 21:53:54 +0000 (21:53 +0000)
committerCarl Baldwin <carl@ecbaldwin.net>
Tue, 22 Sep 2015 19:11:29 +0000 (19:11 +0000)
commit3c5cb9d050d09424c3f8eb3cd1ecd6876f50a6fe
tree70b48162e91afc01f98ce69c42c67bab146486e3
parent693db7cf7cac4c0fc4aeaffd113b9d833a950a52
Only get host data for floating ips on DVR routers

First, we are only interested in setting the host attribute when
the router is a DVR router.  Second, we don't need to query all of
the ports on the host, we just need to query the ports that are
referenced by the set of floating ips that we already have.

Closes-bug: #1496974
Change-Id: If611de14b2ab77d2eb9ce8c5b307ea6dd4403fe1
neutron/db/l3_dvr_db.py