]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix ML2 Plugin binding:profile update
authorIrena Berezovsky <irenab@mellanox.com>
Tue, 22 Jul 2014 15:13:00 +0000 (18:13 +0300)
committerIrena Berezovsky <irenab@mellanox.com>
Sat, 26 Jul 2014 10:39:41 +0000 (13:39 +0300)
commitcbaa3fe07b68e650d7c7714775e56f4e28c3af82
tree604060e0ac69108395ed7655311af37edb5b0e42
parent505042d355dec0704232d15cbb10ad76f2e66c82
Fix ML2 Plugin binding:profile update

The current fix changes the logic for binding:profile
update. The binding:profile should be considered as changed
once it is present in the port attributes and differs from
existing binding:profile. The specified binding:profile with
None value should be treated as request to clear binding:profile.

Change-Id: Ibda9a1beec697fbee5be0ee379349035c3626509
Closes-Bug: 1338202
neutron/plugins/ml2/plugin.py
neutron/tests/unit/ml2/test_ml2_plugin.py