← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291032] [NEW] some lbaas imports violate openstack hacking

 

Public bug reported:

in neutron/neutron/db/loadbalancer/loadbalancer_db.py,
LoadBalancerPluginBase is being imported directly

in neutron/neutron/extensions/loadbalancer.py, ServicePluginBase is
being imported directly

This violates the openstack hacking style guide rule of not import
objects, just modules.

** Affects: neutron
     Importance: Undecided
     Assignee: Brandon Logan (brandon-logan)
         Status: New


** Tags: low-hanging-fruit

** Changed in: neutron
     Assignee: (unassigned) => Brandon Logan (brandon-logan)

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

Title:
  some lbaas imports violate openstack hacking

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  in neutron/neutron/db/loadbalancer/loadbalancer_db.py,
  LoadBalancerPluginBase is being imported directly

  in neutron/neutron/extensions/loadbalancer.py, ServicePluginBase is
  being imported directly

  This violates the openstack hacking style guide rule of not import
  objects, just modules.

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


Follow ups

References