]> 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)
committerMark McClain <mark.mcclain@dreamhost.com>
Tue, 8 Oct 2013 15:02:55 +0000 (11:02 -0400)
commitb988984907d36ffbe593014c9433f2b0d26feb60
treeaf1e9b2f89ade42c6665396309f6006136f67305
parentd90649f0e9c8babc4896550d312e4ea862e51a03
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