← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1646379] [NEW] ml2 mechanism drivers can ignore binding port when update binding:profile

 

Public bug reported:

As this bp mention,https://blueprints.launchpad.net/neutron/+spec/ml2
-binding-profile

"No validation of items within binding:profile by drivers is planned,
but could be added later if needed. Drivers are expected to ignore
binding:profile items they do not recognize."

In some case ,ml2 mechanism drivers can ignore binding port when update
binding:profile .

but now it always bind port when update port binding:profile :

"        if profile not in (None, const.ATTR_NOT_SPECIFIED,
                           self._get_profile(binding)):
            binding.profile = jsonutils.dumps(profile)
            if len(binding.profile) > models.BINDING_PROFILE_LEN:
                msg = _("binding:profile value too large")
                raise exc.InvalidInput(error_message=msg)
            changes = True"

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  ml2 mechanism drivers can ignore binding port when update
  binding:profile

Status in neutron:
  New

Bug description:
  As this bp mention,https://blueprints.launchpad.net/neutron/+spec/ml2
  -binding-profile

  "No validation of items within binding:profile by drivers is planned,
  but could be added later if needed. Drivers are expected to ignore
  binding:profile items they do not recognize."

  In some case ,ml2 mechanism drivers can ignore binding port when
  update binding:profile .

  but now it always bind port when update port binding:profile :

  "        if profile not in (None, const.ATTR_NOT_SPECIFIED,
                             self._get_profile(binding)):
              binding.profile = jsonutils.dumps(profile)
              if len(binding.profile) > models.BINDING_PROFILE_LEN:
                  msg = _("binding:profile value too large")
                  raise exc.InvalidInput(error_message=msg)
              changes = True"

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


Follow ups