]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
change port status only if port is bound to the good host
authormathieu-rohon <mathieu.rohon@gmail.com>
Wed, 2 Oct 2013 12:13:36 +0000 (14:13 +0200)
committermathieu-rohon <mathieu.rohon@gmail.com>
Wed, 2 Oct 2013 13:14:18 +0000 (15:14 +0200)
commitf0f87ca56bb76ebad94b6f01e04b475bd9362bdf
tree35406d87f0ea2953e82e7c246b257386b9aadf5b
parent7da3d24f8ad0a5cb03c6e310a3f0d176a8476423
change port status only if port is bound to the good host

if host is set in the rpc message update_device_up/down sent by the agent,
the port status will be changed only if the port is bound to the host.

Change-Id: I0e607c734fbebf0b69f83c3bbd3e25a9783672dc
Closes-Bug: #1224967
16 files changed:
neutron/agent/rpc.py
neutron/plugins/hyperv/agent/hyperv_neutron_agent.py
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/plugins/linuxbridge/lb_neutron_plugin.py
neutron/plugins/ml2/db.py
neutron/plugins/ml2/plugin.py
neutron/plugins/ml2/rpc.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/plugins/openvswitch/ovs_neutron_plugin.py
neutron/tests/unit/hyperv/test_hyperv_rpcapi.py
neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py
neutron/tests/unit/linuxbridge/test_rpcapi.py
neutron/tests/unit/ml2/test_rpcapi.py
neutron/tests/unit/mlnx/test_rpcapi.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_rpcapi.py