neutron/neutron/db/models
Boden R 54444407f4 use l3 api def from neutron-lib
Commit I81748aa0e48b1275df3e1ea41b1d36a117d0097d added the l3 extension
API definition to neutron-lib and commit
I2324a3a02789c798248cab41c278a2d9981d24be rehomed the l3 exceptions,
while Ifd79eb1a92853e49bd4ef028e7a7bd89811c6957 shims the l3
exceptions.

This patch consumes the l3 api def by:
- Removing the code from neutron that's now in lib.
- Using lib's version of the code where applicable.
- Tidying up the related unit tests as now that the l3 api def from lib
is used the necessary fixture is already setup in the parent chain when
setting up the unit test class.

NeutronLibImpact

Change-Id: If2e66e06b83e15ee2851ea2bc3b64ad366e675dd
2017-12-15 07:03:14 -07:00
..
plugins Relocate Geneve DB models 2016-09-29 15:48:31 -05: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 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 Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
data_plane_status.py Port data plane status extension implementation 2017-04-11 19:56:13 +00:00
dns.py use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
dvr.py Relocate dvr model 2016-10-04 08:41:33 +00:00
external_net.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
flavor.py Flavors: move dict extend out of txn 2017-02-15 08:58:35 -08:00
l3.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
l3_attrs.py Cleanup _find_related_obj 2017-02-25 06:29:33 +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
loggingapi.py [log]: db models and migration rules 2017-06-13 08:52:12 +07:00
metering.py Switch to 'subquery' for 1-M relationships 2017-02-06 09:01:31 +00:00
portbinding.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
provisioning_block.py Relocate Provisioning Block DB Model 2016-09-27 04:30:03 +00:00
securitygroup.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
segment.py Cleanup _find_related_obj 2017-02-25 06:29:33 +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 Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
tag.py Cleanup _find_related_obj 2017-02-25 06:29:33 +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).