neutron/neutron/db/models
Kevin Benton 00785f6869 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.

Conflicts:
	neutron/db/models/l3.py
	neutron/db/models/metering.py
	neutron/db/models/segment.py
	neutron/db/models/tag.py
	neutron/db/models_v2.py
	neutron/plugins/ml2/models.py

Closes-Bug: #1649317
Change-Id: I6952c48236153a8e2f2f155375b70573ddc2cf0f
(cherry picked from commit 54a3dd605a)
2017-03-27 11:03:53 +00:00
..
plugins Switch to neutron-lib for model_base 2016-08-31 11:12:18 -04:00
README Update README to reflect ML2 Exception in Dir Tree 2016-08-22 15:20:35 +00:00
__init__.py Add devref for Relocating DB models 2016-08-09 15:55:18 +02:00
address_scope.py Switch to neutron-lib for model_base 2016-08-31 11:12:18 -04:00
allowed_address_pair.py Switch to 'subquery' for 1-M relationships 2017-03-27 11:03:53 +00:00
securitygroup.py Switch to 'subquery' for 1-M relationships 2017-03-27 11:03:53 +00:00
subnet_service_type.py Switch to 'subquery' for 1-M relationships 2017-03-27 11:03:53 +00:00

README

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).