]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Revert "Revert "OVS agent reacts to events instead of polling""
authorrossella <rsblendido@suse.com>
Tue, 1 Dec 2015 16:58:44 +0000 (16:58 +0000)
committerrossella <rsblendido@suse.com>
Wed, 2 Dec 2015 08:23:42 +0000 (08:23 +0000)
commitccdf211b4cf224d415520c7d70b7f53952674414
treeb8804eea332f613744746123d99f5fc63ed8392b
parent81a4aac8d429a5d8b2874c4fce0ffd6498f5b1c6
Revert "Revert "OVS agent reacts to events instead of polling""

The original change had to be reverted because it caused
tests failing in the gate. The failures were due to the
fact that when a port was not ready, an exception was
thrown to trigger a full resync of the agent. This
behavior was meant to be temporary and was fixed in a
dependent patch that was not merged though. This revert
moves the handling of not ready ports in this patch.
It also refactors the unit tests a bit.

This reverts commit e7270d9505fe09ec6d687e7796a814bf883b5416.

Change-Id: I6574cef3c95525ace6a98cf968ee159190681394
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/functional/agent/l2/base.py
neutron/tests/functional/agent/test_l2_ovs_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_tunnel.py