← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1524356] [NEW] a level binding implement issue in _check_driver_to_bind

 

Public bug reported:

in the function of _check_driver_to_bind, the below row 3 condition will never be satisfied.
the type of Level.segment_id  is string, but Segment_to_bind is a list dict.

1        for level in binding_levels:
2            if (level.driver == driver and
3                level.segment_id in segments_to_bind):
4                return False

** Affects: neutron
     Importance: Undecided
         Status: New

** Attachment added: "level binding bug.png"
   https://bugs.launchpad.net/bugs/1524356/+attachment/4531970/+files/level%20binding%20bug.png

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

Title:
  a level binding implement issue in _check_driver_to_bind

Status in neutron:
  New

Bug description:
  in the function of _check_driver_to_bind, the below row 3 condition will never be satisfied.
  the type of Level.segment_id  is string, but Segment_to_bind is a list dict.

  1        for level in binding_levels:
  2            if (level.driver == driver and
  3                level.segment_id in segments_to_bind):
  4                return False

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


Follow ups