← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1338202] Re: ML2 plugin update_port changes binding:profile when not changed

 

** Changed in: neutron
       Status: Fix Committed => 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/1338202

Title:
  ML2 plugin update_port changes binding:profile when not changed

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

Bug description:
  On port-update call, ML2 plugin considers port binding:profile is set to None, when actually there was no intention to change it.
  Can be  reproduced by setting admin_state_up:
  neutron port-update  PORT_ID --admin_state_up=False.

  To fix, ML2 plugin should change its check for binding:profile
  setting; instead of:

  profile_set = profile is not attributes.ATTR_NOT_SPECIFIED

  it should be:

  profile_set = attributes.is_attr_set(profile) and profile

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


References