
Previously several models were defined with lazy='dynamic'. This would then cause Ports.fixed_ips (or w/e was specified as dynamic) to be defined as a AppenderQuery object and when accessed would query for the result. Therefore in get_ports() for example, when fixed_ips was accessed in _make_port_dict() we would be issuing an addition query to the database to lookup the fixed_ips information. This patch changes update_port/subnet() so that it keeps track of what changed so it does not have to query the db for values it should already know about. This patch also adds a unit test for update_subnet() adding host routes where there was missing code coverage. Implements blueprint improve-db-performance Change-Id: I0b2214604042a1fd362cbbf3fd70e31adf0ce279
# -- Welcome!
You have come across a cloud computing network fabric controller. It has identified itself as "Quantum." It aims to tame your (cloud) networking!
# -- External Resources:
The homepage for Quantum is: http://launchpad.net/quantum . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/quantum>.
The latest and most in-depth documentation on how to use Quantum is available at: <http://docs.openstack.org>. This includes:
Quantum Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/
Quantum API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/
The start of some developer documentation is available at: http://wiki.openstack.org/QuantumDevelopment
For help using or hacking on Quantum, you can send mail to <mailto:openstack-dev@lists.openstack.org>.