← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1361573] Re: TAP_PREFIX_LEN constant is defined several times

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-rc1

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

Title:
  TAP_PREFIX_LEN constant is defined several times

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  TAP_PREFIX_LEN constant is defined several times, it should be defined
  only once preferably in neutron/common/constants.py .

  From a coarse grep:

  grep -r "TAP" . | grep 3

  ./neutron/plugins/brocade/NeutronPlugin.py:    TAP_PREFIX_LEN = 3
  ./neutron/plugins/linuxbridge/lb_neutron_plugin.py:    TAP_PREFIX_LEN = 3
  ./neutron/plugins/ml2/rpc.py:TAP_DEVICE_PREFIX_LENGTH = 3
  ./neutron/plugins/mlnx/rpc_callbacks.py:    TAP_PREFIX_LEN = 3

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


References