← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1934256] Re: neutron-lib duplicates os-resource-classes constants

 

** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  neutron-lib duplicates os-resource-classes constants

Status in neutron:
  Fix Released

Bug description:
  The os-resource-classes lib is the official source of the standard
  placement resource classes. The neutron-lib repo has a copy of those
  constants[1]. Instead of duplicating the names, neutron-lib could
  depend on the os-resource-classes lib and import the constants from
  there[2].

  [1] https://github.com/openstack/neutron-lib/blob/63c8443a65db4c662237b8687beff19c3973b819/neutron_lib/placement/constants.py#L20-L21
  [2] https://github.com/openstack/os-resource-classes/blob/3aead5dd249d753a85585879ea501e1f4f4bcd17/os_resource_classes/__init__.py#L59-L62

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



References