neutron/neutron/db
Aaron Rosen cbeda85fe5 Subnets should be set as lazy='join'
Currently if one does a net-list tons of queries are issued against the
database as the default query mode is 'select' which performs a query when
the field is actually accessed. In this patch I change the the mode to
'joined' so subnets are loaded as the networks are loaded. Usually, there
are only 1 or 2 subnets on a network so loading this data shouldn't hurt.
This patch in my setup with 5000 networks reduces the net-list call from 27
seconds to 7! Woot Woot :)

Change-Id: I10eec4d79b522dfd685d3d2aa93a8d643104bba7
Closes-bug: 1298053
2014-03-26 13:56:38 -07:00
..
firewall FWaaS - fix reordering of rules in policy 2013-09-17 23:46:56 -07:00
loadbalancer Merge "Get rid of additional db contention on fetching VIP" 2014-03-21 09:29:15 +00:00
metering Fix MeteringLabel model to not clear router's tenant id on deletion 2013-11-12 19:09:29 +04:00
migration Merge "Add script to migrate ovs or lb db to ml2 db" 2014-03-24 23:05:21 +00:00
vpn Fix usage of save_and_reraise_exception 2014-03-19 18:38:49 +04:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
agents_db.py Change report_interval from 4 to 30, agent_down_time from 9 to 75 2014-03-18 10:25:04 +02:00
agentschedulers_db.py Remove the warning for Scheduling Network 2013-11-12 15:56:30 +08:00
allowedaddresspairs_db.py Openvswitch update_port should return updated port info 2014-02-28 12:44:36 -06:00
api.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
db_base_plugin_v2.py Merge "Ignore PortNotFound exceptions on lockless delete" 2014-03-21 06:30:29 +00:00
dhcp_rpc_base.py Fix usage of save_and_reraise_exception 2014-03-19 18:38:49 +04:00
external_net_db.py replace rest of q_exc to n_exc in code base 2014-03-03 17:42:20 -08:00
extradhcpopt_db.py Adds delete of a extra_dhcp_opt on a port 2013-11-14 14:36:01 -07:00
extraroute_db.py ExtraRoute: fix _get_extra_routes_by_router_id() 2013-11-08 10:16:19 +04:00
l3_agentschedulers_db.py Add LeastRouters Scheduler to Neutron L3 Agent 2013-12-09 13:25:59 +01:00
l3_db.py Stop removing ip allocations on port delete 2014-03-18 00:52:06 -07:00
l3_gwmode_db.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
l3_rpc_base.py Fix race condition in update_floatingip_statuses 2014-03-04 20:28:01 -08:00
model_base.py Apply Oslo ModelBase to NeutronBase 2013-07-08 10:14:26 +08:00
models_v2.py Subnets should be set as lazy='join' 2014-03-26 13:56:38 -07:00
portbindings_base.py refactor port binding codes 2013-07-26 23:04:51 +08:00
portbindings_db.py Add support to request vnic type on port 2014-02-20 07:29:38 +02:00
portsecurity_db.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
quota_db.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
routedserviceinsertion_db.py Support for NVP advanced FwaaS service 2013-09-17 10:18:22 -07:00
routerservicetype_db.py Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
securitygroups_db.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
securitygroups_rpc_base.py Merge "Rebind security groups only when they're updated" 2013-11-27 19:32:14 +00:00
servicetype_db.py LBaaS integration with service type framework 2013-09-03 23:05:33 +04:00
sqlalchemyutils.py Fix bug:range() is not same in py3.x and py2.x 2014-03-11 16:44:47 +08:00