neutron/neutron/tests
Kyle Mestery d00446be17 Reprogram flows when ovs-vswitchd restarts
When OVS is restarted, by default it will not reprogram flows which were
programmed. For the case of the OVS agent, this means a restart will cause
all traffic to be switched using the NORMAL action. This is undesirable for
a number of reasons, including obvious security reasons.

This change provides a way for the agent to check if a restart of ovs-vswitchd
has happened in the main agent loop. If a restart of ovs-vswitchd is detected,
the agent will run through the setup of the bridges on the host and reprogram
flows for all the ports connected.

DocImpact
This changes adds a new table (table 23) to the integration bridge, with a
single 'drop' flow. This is used to monitor OVS restarts and to reprogram
flows from the agent.

Conflicts:
	neutron/plugins/openvswitch/common/constants.py

Change-Id: If9e07465c43115838de23e12a4e0087c9218cea2
Closes-Bug: #1290486
(cherry picked from commit 8e9f00a19d)
2014-05-30 14:10:02 +00:00
..
etc Service Type Framework refactoring 2013-07-25 21:47:30 +04:00
functional Fix bug:range() is not same in py3.x and py2.x 2014-03-11 16:44:47 +08:00
unit Reprogram flows when ovs-vswitchd restarts 2014-05-30 14:10:02 +00:00
var Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
base.py Explicitly import state_path opt in tests.base 2014-05-26 13:38:24 +02:00
post_mortem_debug.py Add post-mortem debug option for tests 2013-12-10 03:56:50 +00:00
tools.py Replace mox in unit tests with mock 2013-11-18 22:17:14 +09:00