← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346658] [NEW] All DB model classes should be consolidated into one directory

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: db

** Tags added: db

-- 
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):
  New

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


Follow ups

References