← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1340145] [NEW] Extract CommonDBMixin into a separate module

 

Public bug reported:

Several service plugins are inheritig from CommonDBMixin which has a few
utulity methods.

Right now CommonDBMixin resides in db_base_plugin_v2.py so those plugins require to import it.
In some cases it is undesirable and can lead to cycles in imports,
so CommonDBMixin needs to be extracted into a different module

** Affects: neutron
     Importance: Wishlist
     Assignee: Eugene Nikanorov (enikanorov)
         Status: In Progress


** Tags: low-hanging-fruit

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1340145

Title:
  Extract CommonDBMixin into a separate module

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  Several service plugins are inheritig from CommonDBMixin which has a
  few utulity methods.

  Right now CommonDBMixin resides in db_base_plugin_v2.py so those plugins require to import it.
  In some cases it is undesirable and can lead to cycles in imports,
  so CommonDBMixin needs to be extracted into a different module

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1340145/+subscriptions


Follow ups

References