neutron/neutron/db/models
Kevin Benton 9cac6bd92c Add missing revision number altercations
This adds revises_on_change for the following models
and API tests to ensure the correct behavior:

* port security (network and port)
* DNS domain (network and port)
* extra dhcp opts (port)
* extra routes (router)
* subnet service type (subnet)

Additionally, it configures the DNS extension to be loaded
in the gate since the extension is enabled for tempest.

Closes-Bug: #1627649
Change-Id: Ifa969c8c2582f8f41d42df07652f259781a36bb5
(cherry picked from commit 971cf85034)
2016-09-26 20:55:48 +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 Add missing revision number altercations 2016-09-26 20:55:48 +00:00
securitygroup.py Add common way to extend standard attribute models 2016-09-16 18:16:29 +00:00
subnet_service_type.py Add missing revision number altercations 2016-09-26 20:55:48 +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).