neutron/neutron/db/models
Kevin Benton 54a3dd605a Switch to 'subquery' for 1-M relationships
This switches to the use of subqueries for 1-m relationships
which will result in a higher constant query factor but will
eliminate the potential for cross-product explosions.

Closes-Bug: #1649317
Change-Id: I6952c48236153a8e2f2f155375b70573ddc2cf0f
(cherry picked from commit 3ffe006743)
2017-02-14 15:27:07 +00:00
..
plugins Relocate Geneve DB models 2016-09-29 15:48:31 -05:00
__init__.py Add devref for Relocating DB models 2016-08-09 15:55:18 +02:00
address_scope.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
agent.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
allowed_address_pair.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00
dns.py Relocate DNS db models 2016-10-07 21:35:35 +00:00
dvr.py Relocate dvr model 2016-10-04 08:41:33 +00:00
external_net.py Add missing revises_on_change attribute 2016-11-28 10:04:03 +09:00
flavor.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
l3_attrs.py Add missing revises_on_change attribute 2016-11-28 10:04:03 +09:00
l3.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00
l3agent.py Remove deprecation warnings for agents_db 2016-10-13 15:33:22 +00:00
l3ha.py Remove deprecation warnings for agents_db 2016-10-13 15:33:22 +00:00
metering.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00
portbinding.py Add missing revises_on_change attribute 2016-11-28 10:04:03 +09:00
provisioning_block.py Relocate Provisioning Block DB Model 2016-09-27 04:30:03 +00:00
README Update README to reflect ML2 Exception in Dir Tree 2016-08-22 15:20:35 +00:00
securitygroup.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00
segment.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00
servicetype.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
subnet_service_type.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00
tag.py Switch to 'subquery' for 1-M relationships 2017-02-14 15:27:07 +00:00

This directory is designed to contain all SQLAlchemy models shipped with core
Neutron.

* The expected directory structure is flat, except for the ML2 plugins. All ML2
  plugin models should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
* Module names should use singular forms for nouns (port.py, not ports.py).