neutron/neutron
Salvatore Orlando 9bf0e66544 Remove auto-generation of db schema from models at startup
This patch removes the Neutron capability of creating database tables
from sqlalchemy models for all those model classes for which
a table is not found in the database schema.
Migrations should be the official and only solution for creating and
managing the Neutron db schema.
This patch also adapts unit tests in order to ensure test schemas
are still correctly created.

DocImpact
Update deployment documentation accordingly.

Closes-Bug: #1207402

Change-Id: Ie4ee5507888ecad5f6dc32ce7a029c43014687a2
Co-Authored-By: Henry Gessau <gessau@cisco.com>
2014-08-15 17:21:17 -04:00
..
agent Merge "Preserve link local IP allocations for DVR fip ns across restart" 2014-08-14 20:12:03 +00:00
api Merge "Return 403 instead of 404 on attr policy failures" 2014-08-07 22:01:41 +00:00
cmd Move ARP responder test to sanity command 2014-07-29 18:44:07 +03:00
common add auth token to context 2014-08-12 11:17:21 +09:00
db Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
debug Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
extensions Opencontrail plug-in implementation for core resources 2014-08-12 07:53:19 -07:00
hacking Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
locale Imported Translations from Transifex 2014-08-13 06:05:49 +00:00
notifiers Fix spelling mistakes 2014-08-01 16:10:23 +00:00
openstack Fix spelling mistakes 2014-08-01 16:10:23 +00:00
plugins Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
scheduler Fix session's InvalidRequestError because of nested rollback 2014-08-08 16:01:49 -07:00
server Configure agents using neutron.common.config.init (formerly .parse) 2014-06-17 21:56:24 +02:00
services Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
tests Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
auth.py add auth token to context 2014-08-12 11:17:21 +09:00
context.py add auth token to context 2014-08-12 11:17:21 +09:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
manager.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
neutron_plugin_base_v2.py Renamed start_rpc_listener -> start_rpc_listeners 2014-06-19 12:58:01 +02:00
policy.py Allow to import _LC, _LE, _LI and _LW functions directly 2014-07-17 14:56:19 +00:00
quota.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
service.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00