2b66c6a2ed
As we have started oslo versioned objects implementations. There would be issue of cyclic import while implementation for objects which have db models definitions and mixins in same file. This patch will move routers models as discussed in [1]. For example DNS models and some queries are in same file [2]. for object implementation I have separate models definitions and mixins where queries were being done [3]. [1]. https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg88910.html [2]. https://review.openstack.org/#/c/334695/15/neutron/db/dns_db.py [3]. https://review.openstack.org/#/c/334695/15/neutron/db/models/dns_models.py Change-Id: I9b9a44da5d28252be58cea1a920a64e18d8bbf32 Partial-Bug: #1597913 |
||
---|---|---|
.. | ||
plugins | ||
README | ||
__init__.py | ||
address_scope.py | ||
allowed_address_pair.py | ||
l3.py | ||
securitygroup.py | ||
subnet_service_type.py |
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).