]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not trigger agent notification if bindings do not change
authorSalvatore Orlando <salv.orlando@gmail.com>
Wed, 27 Nov 2013 21:26:07 +0000 (13:26 -0800)
committerSalvatore Orlando <salv.orlando@gmail.com>
Wed, 11 Dec 2013 13:24:55 +0000 (05:24 -0800)
commit2b375c0f15fd43af23fbd28b85929d63a753548b
tree04e13bdc1ed1899c0a3d9c8a5e184ccf6d160eb0
parentdbd6d454574af0911152fbeb5d687df6679c7436
Do not trigger agent notification if bindings do not change

The method _process_port_bindings for the ml2 plugin should not
return True when the host binding does not change, otherwise an
unnecessary notification will be sent to the agent

Closes-Bug: #1255680
Related-Bug: #1253896
Partially Implements: neutron-tempest-parallel

Change-Id: I8a40090af347ca430ff6c8e2211fa34bb2bd0f8c
neutron/plugins/ml2/plugin.py
neutron/tests/unit/ml2/test_port_binding.py