yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28434
[Bug 1346658] Re: All DB model classes should be consolidated into one directory
Is this still needed as we have Core and Vendor code decomposition?
** Changed in: neutron
Status: In Progress => Opinion
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1346658
Title:
All DB model classes should be consolidated into one directory
Status in OpenStack Neutron (virtual network service):
Opinion
Bug description:
We have discussed moving all models out of their current diverse
locations to one directory, like maybe
neutron/db/models/*.py
The idea is to move just the model classes (not the entire modules
that they currently reside in) here. Then head.py would be able to
from neutron.db.models import * # noqa
and this would have much less baggage than importing all the current
modules.
The convention of putting all models in one directory will be quite
easy to follow and maintain.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1346658/+subscriptions
References